View source: R/methodsInternal.R
filterResults | R Documentation |
Filter the enrichment results to retain only the selected terms and remove root term if requested.
filterResults(gostResults, source, termIDs, removeRoot)
gostResults |
a |
source |
a |
termIDs |
a |
removeRoot |
a |
a data.frame
of filtered terms with or without the root term.
Astrid DeschĂȘnes
## Loading dataset containing result from an enrichment analysis done with
## gprofiler2
data(demoGOST)
## Only retained the GO - Molecular Function results
results <- demoGOST$result
## Remove WIKIPATHWAYS root term
selected <- enrichViewNet:::filterResults(gostResults=results, source="WP",
termIDs=NULL, removeRoot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.