barplot.enrichResult {enrichplot}R Documentation

barplot

Description

barplot of enrichResult

Usage

## S3 method for class 'enrichResult'
barplot(height, x = "Count", color = "p.adjust",
  showCategory = 8, font.size = 12, title = "", ...)

Arguments

height

enrichResult object

x

one of 'Count' and 'GeneRatio'

color

one of 'pvalue', 'p.adjust', 'qvalue'

showCategory

number of categories to show

font.size

font size

title

plot title

...

other parameter, ignored

Value

ggplot object

Examples

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

[Package enrichplot version 1.0.2 Index]