-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssGSEA: Accept a Series with gene names as index and return a dataframe #27
Labels
Comments
It also seems unnecessary to perform the gene set filtering every single time for every sample, but rather do it once for all samples. |
Hi, @olgabot ,
#for example:
ss = gp.ssgsea(x, gene_sets=gmt)
#res2d attr is a dataframe contains all final enrichment results. see fig blow.
ss.res2d
#results attr is a ordeddict contains all internal statistical testing values
ss.results
Thank you very much for your great advice. |
zqfang
pushed a commit
that referenced
this issue
Aug 11, 2017
now, gseapy 0.8.4 supports gct formats, series, and dataframe with only 1 column(index as gene symbols):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm very excited about a Python implementation of ssGSEA! I'd like to convert my gene expression values to pathway expression values by using
apply
to perform ssGSEA on every row of apandas.DataFrame
expression matrix. Right now, this looks like this:reset_index()
seems unnecessary for every rowssgsea
returnsNone
, rather than returning the converted pathway enrichment. I'd rather not have to read a file for every single sample I have (~6,000 of them), so canssgsea
return the Series instead?Warmest,
Olga
The text was updated successfully, but these errors were encountered: