emapplot {enrichplot} | R Documentation |
Enrichment Map for enrichment result of over-representation test or gene set enrichment analysis
emapplot(x, showCategory = 30, color = "p.adjust", layout = "kk", ...) ## S4 method for signature 'enrichResult' emapplot(x, showCategory = 30, color = "p.adjust", layout = "nicely", ...) ## S4 method for signature 'gseaResult' emapplot(x, showCategory = 30, color = "p.adjust", layout = "nicely", ...) ## S4 method for signature 'compareClusterResult' emapplot(x, showCategory = 5, color = "p.adjust", layout = "nicely", ...) emapplot.enrichResult( x, showCategory = 30, color = "p.adjust", layout = "nicely", pie_scale = 1, line_scale = 1, ... )
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 |
... |
additional parameters |
pie_scale |
scale of pie plot |
line_scale |
scale of line width |
This function visualizes gene sets as a network (i.e. enrichment map). Mutually overlapping gene sets tend to cluster together, making it easier for interpretation.
ggplot object
Guangchuang Yu
library(DOSE) data(geneList) de <- names(geneList)[1:100] x <- enrichDO(de) emapplot(x)