goplot | R Documentation |
plot induced GO DAG of significant terms
goplot(
x,
showCategory = 10,
color = "p.adjust",
layout = "sugiyama",
geom = "text",
...
)
## S4 method for signature 'enrichResult'
goplot(
x,
showCategory = 10,
color = "p.adjust",
layout = igraph::layout_with_sugiyama,
geom = "text",
...
)
## S4 method for signature 'gseaResult'
goplot(
x,
showCategory = 10,
color = "p.adjust",
layout = igraph::layout_with_sugiyama,
geom = "text",
...
)
x |
enrichment result. |
showCategory |
number of enriched terms to display |
color |
variable that used to color enriched terms, e.g. pvalue, p.adjust or qvalue |
layout |
layout of the map |
geom |
label geom, one of 'label' or 'text' |
... |
additional parameter |
ggplot object
Guangchuang Yu
## Not run:
library(clusterProfiler)
data(geneList, package = "DOSE")
de <- names(geneList)[1:100]
yy <- enrichGO(de, 'org.Hs.eg.db', ont="BP", pvalueCutoff=0.01)
goplot(yy)
goplot(yy, showCategory = 5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.