Skip to content

Commit

Permalink
corrected util_sig.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tauhidstanford authored Aug 15, 2023
1 parent ca9da51 commit c5d7368
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions genomap/utils/util_Sig.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def createGenomap_for_sig(data,gene_names,rowNum=32,colNum=32):
if nump<data.shape[1]:
data,index=select_n_features(data,nump)
gene_namesRe=gene_names[index]
else:
gene_namesRe=gene_names
# X_train=X_train[top_n_features]
#ldaOutzc=scipy.stats.zscore(data, axis=0, ddof=1)
genoMaps,T=construct_genomap_returnT(data,rowNum,colNum,epsilon=0.0,num_iter=200)
Expand Down

0 comments on commit c5d7368

Please sign in to comment.