View source: R/methodsInternal.R
removeRootTerm | R Documentation |
Remove root term if present in the list of selected terms
removeRootTerm(gostResult)
gostResult |
a |
a data.frame
of selected terms without the root term.
Astrid DeschĂȘnes
## Loading dataset containing result from an enrichment analysis done with
## gprofiler2
data(demoGOST)
## Only retained the WikiPathways results
results <- demoGOST$result[demoGOST$result$source == "WP", ]
## Remove WIKIPATHWAYS root term
enrichViewNet:::removeRootTerm(gostResult=results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.