Plot terms with a NES < 0 GSEA results from gseGO
1
0
Entering edit mode
@30e520bc
Last seen 4.0 years ago

Hi!

I've run gseGO on my gene list and would like to find a nice way to show my results, I've always find it hard to display GSEA results. Emapplot seems to be a nice option however, as every other function that I know to display GSEA results from clusterProfiler, it shows both terms with a positive or negative NES, but I would like to be able to show the terms that are enriched in one or the other category of my diffferential expression analysis.

Is there anyway to do so? Is there other type of plots where this is possible?

(I've trie to subset terms with negative NES for example but emapplot doesn't work on data.frame, and I've not found a parameter of emapplot sying which term to display)

Thanks a lot!

clusterProfiler • 1.9k views
ADD COMMENT
0
Entering edit mode

Hey, I know it's been a while since you posted this but I had a similar issue some days ago (I actually had the inverse problem, I had separate positive and negative results from an ORA analysis and wanted to plot them in the same graph) and found this post quite useful. Maybe you can follow that code in order to "build" an artificial enrichment result object with only the positive or negative NES

ADD REPLY
0
Entering edit mode
Guangchuang Yu ★ 1.2k
@guangchuang-yu-5419
Last seen 24 days ago
China/Guangzhou/Southern Medical Univer…

You can use dplyr verbs to process the enriched results, see example in https://pubmed.ncbi.nlm.nih.gov/34557778/.

ADD COMMENT

Login before adding your answer.

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