barplot.enrichResult {enrichplot} | R Documentation |
barplot of enrichResult
## S3 method for class 'enrichResult' barplot( height, x = "Count", color = "p.adjust", showCategory = 8, font.size = 12, title = "", ... )
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 |
ggplot object
library(DOSE) data(geneList) de <- names(geneList)[1:100] x <- enrichDO(de) barplot(x)