How to plot all enrichment plots from GSEA in one single plot in python or R?
1
0
Entering edit mode
2.1 years ago
Amr ▴ 180

How to plot all enrichment plots for all gene sets from GSEA in one single plot in python or R?

After performing GSEA I got the report which has the enrichment plots but every enrichment plot is alone, I want to put all plots in one single plot, how can I do it and which data I need to use?

Thanks

R python ES GSEA • 1.5k views
ADD COMMENT
0
Entering edit mode

You need to post your code.

ADD REPLY
0
Entering edit mode

I am trying to use gseaplot(df, geneSetID=1) but I got that error

TypeError: gseaplot() missing 6 required positional arguments: 'term', 'hits', 'nes', 'pval', 'fdr', and 'RES'

Although in the document:

library(DOSE)
data(geneList)
x <- gseDO(geneList)
gseaplot(x, geneSetID=1)
ADD REPLY
0
Entering edit mode
2.0 years ago
M.O.L.S ▴ 100

Use the patchwork library to combine your plots. +

ADD COMMENT

Login before adding your answer.

Traffic: 2667 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6