What is the best way to visualize the enrichment plots together after obtaining them from GSEA report?
1
0
Entering edit mode
18 months ago
Amr ▴ 160

What is the best way to visualize the enrichment plots together after obtaining them from GSEA report? Is there a way to plot the enrichment scores (ES) for different gene sets together?

ES enrichment_plot GSEA • 1.1k views
ADD COMMENT
0
Entering edit mode
18 months ago
Basti ★ 2.0k

You could draw a gseaplot : https://yulab-smu.top/biomedical-knowledge-mining-book/enrichplot.html?q=gseaplot#running-score-and-preranked-list-of-gsea-result

Otherwise clusterProfiler package offers many alternatives

ADD COMMENT
0
Entering edit mode

I did that code:

ddd <- as.data.frame(ddd$ES) #ES is the enrichment score and ddd is the file which has ES, NES, NOM-pvalue etc

p1<- gseaplot(ddd, geneSetID = 1, by = "runningScore", title = ddd$NAME[1]) #NAME is the name of gene sets

p2 <- gseaplot(ddd, geneSetID = 1, by = "preranked", title = ddd$NAME[1])

p3 <- gseaplot(ddd, geneSetID = 1, title = ddd$NAME[1])

cowplot::plot_grid(p1, p2, p3, ncol=1, labels=LETTERS[1:3])

and I got that error Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘gseaplot’ for signature ‘"data.frame"’

ADD REPLY
0
Entering edit mode

Follow carefully the tutorial, you should not convert the GSEA result into a dataframe and select any result from the GSEA result : https://yulab-smu.top/biomedical-knowledge-mining-book/enrichplot.html

ADD REPLY

Login before adding your answer.

Traffic: 1638 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