createEnrichMap | R Documentation |
User selected enrichment terms are used to create an enrichment map. The selection of the term can by specifying by the source of the terms (GO:MF, REAC, TF, etc.) or by listing the selected term IDs. The map is only generated when there is at least on significant term to graph.
createEnrichMap(
gostObject,
query,
source = c("TERM_ID", "GO:MF", "GO:CC", "GO:BP", "KEGG", "REAC", "TF", "MIRNA", "HPA",
"CORUM", "HP", "WP"),
termIDs = NULL,
removeRoot = TRUE,
showCategory = 30L,
groupCategory = FALSE,
categoryLabel = 1,
categoryNode = 1,
line = 1,
...
)
gostObject |
a |
query |
a |
source |
a |
termIDs |
a |
removeRoot |
a |
showCategory |
a positive |
groupCategory |
a |
categoryLabel |
a positive |
categoryNode |
a positive |
line |
a non-negative |
... |
additional arguments that will be pass to the
|
a ggplot
object which is the enrichment map for enrichment
results.
Astrid DeschĂȘnes
## Loading dataset containing result from an enrichment analysis done with
## gprofiler2
data(parentalNapaVsDMSOEnrichment)
## Extract query information (only one in this dataset)
query <- unique(parentalNapaVsDMSOEnrichment$result$query)
## Create graph for Gene Ontology - Cellular Component related results
createEnrichMap(gostObject=parentalNapaVsDMSOEnrichment,
query=query, source="GO:CC", removeRoot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.