emapplot {enrichplot}R Documentation

emapplot

Description

Enrichment Map for enrichment result of over-representation test or gene set enrichment analysis

Usage

emapplot(x, showCategory = 30, color = "p.adjust", layout = "kk", ...)

## S4 method for signature 'enrichResult'
emapplot(x, showCategory = 30, color = "p.adjust",
  layout = "kk", ...)

## S4 method for signature 'gseaResult'
emapplot(x, showCategory = 30, color = "p.adjust",
  layout = "kk", ...)

emapplot.enrichResult(x, showCategory = 30, color = "p.adjust",
  layout = "kk", ...)

Arguments

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

Details

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.

Value

ggplot object

Author(s)

Guangchuang Yu

Examples

library(DOSE)
data(geneList)
de <- names(geneList)[1:100]
x <- enrichDO(de)
emapplot(x)

[Package enrichplot version 1.0.2 Index]