createEnrichMapMultiBasic | 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.
createEnrichMapMultiBasic(
gostObjectList,
queryList,
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,
...
)
gostObjectList |
a |
queryList |
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 results from 2 enrichment analyses done with
## gprofiler2
data(parentalNapaVsDMSOEnrichment)
data(rosaNapaVsDMSOEnrichment)
## Extract query information (only one in each dataset)
query1 <- unique(parentalNapaVsDMSOEnrichment$result$query)[1]
query2 <- unique(rosaNapaVsDMSOEnrichment$result$query)[1]
## Create graph for KEGG related results from
## 2 enrichment analyses
createEnrichMapMultiBasic(gostObjectList=list(parentalNapaVsDMSOEnrichment,
rosaNapaVsDMSOEnrichment),
queryList=list(query1, query2), source="KEGG", removeRoot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.