Replies: 1 comment
-
I don't think this is an issue related to GSEApy. You need to save your lognorm matrix first to make this work # preprocessing
sc.pp.normalize_total(adata, target_sum=1e4)
sc.pp.log1p(adata)
adata.layers['lognorm'] = adata.X |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello again, I am still having trouble getting the GSEA to work with my single cell RNA sequencing data. Now the trouble I am having is when running this code:
I get the error:
When I take out layer = 'lognorm' from the function, it will run, but I get the warning:
Then when I try to run
adata_subset.X.max()
I get the output nan
Finally when I try to run
I get NaN for all the values in FP_logfoldchanges
Sorry to bother you with this, but your help is much appreciated. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions