Skip to content

Commit

Permalink
don't normalize signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasmueboe committed Dec 6, 2024
1 parent d6f1651 commit 7b82ada
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sainsc/utils/_signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,4 @@ def celltype_signatures(
mean_X_group.A1 if isinstance(mean_X_group, np.matrix) else mean_X_group
)

signatures_df = pd.DataFrame(signatures, index=adata.var_names)
signatures_df /= signatures_df.sum(axis=0)

return signatures_df
return pd.DataFrame(signatures, index=adata.var_names)

0 comments on commit 7b82ada

Please sign in to comment.