Description Usage Arguments Value Examples
Make a barplot of enriched annotations. Bars' heights represent values of
the chosen enrichment statistic (c("enrich","M","A")
), and the
colours represent the p values (c("pvals", "padj")
).
1 2 3 4 5 6 7 8 9 | enrichBarplot(x, variable, pvalue = "pvals", siglev = numeric())
## S4 method for signature 'list'
enrichBarplot(x, variable, pvalue = "pvals",
siglev = numeric())
## S4 method for signature 'AnnotatedDataFrame'
enrichBarplot(x, variable,
pvalue = "pvals", siglev = numeric())
|
x |
|
variable |
Character, indicating the statistic values to be used for
plotting, must be one of |
pvalue |
Character, one of |
siglev |
Numeric, significance level to be used for plotting. |
A ggplot
object.
1 2 3 4 5 6 7 8 9 10 | require(ggplot2)
HD59_PATHWAYS
enrichBarplot(HD59_PATHWAYS, variable = "M",
pvalue = "padj", siglev = 0.01) +
labs(y = "pathway count\nlog ratios", x = "KEGG Pathway")
x <- list(disease = LD94_PATHWAYS, healthy = HD59_PATHWAYS)
enrichBarplot(x, variable = "enrich", pvalue = "padj", siglev = 0.01) +
labs(y = "relative enrichment", x = "KEGG Pathway")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.