Question: How to select a specific onthology after runing enrichGO for all 3 onthology
gravatar for MAP
9 months ago by
MAP0 wrote:

Hi all,

I have run a GO enrichment analysis using enrichGO() for all 3 onthologies at once:

analysis <- enrichGO(gene = names_down_uniprot, OrgDb = "",
   keyType = "UNIPROT", ont = "ALL", pvalueCutoff = 0.05,
   pAdjustMethod = "fdr", universe = background_uniprot, qvalueCutoff = 0.25,
   minGSSize = 10, maxGSSize = 500, readable = FALSE, pool = FALSE)

The result looks good and as expected.

Do anyone now how to subset this results for a specific onthology? My idea is to represent graphically (using  barplot, cnetplot, etc) only one of of them (in particular BP).

Thanks in advance,



clusterprofiler enrichgo • 305 views
ADD COMMENTlink modified 9 months ago • written 9 months ago by MAP0

I don't think clusterProfiler has that functionality. Why not just run the `enrichGO` for each ontology category?

ADD REPLYlink written 9 months ago by emilliman40

Thanks for your reply emilliman4.

I am actually doing what you suggested, but the option I was looking for could simplify a lot my workflow.

It would be great if they can include this option in future updates. 

ADD REPLYlink modified 8 months ago • written 8 months ago by MAP0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 187 users visited in the last hour