Description Usage Arguments Details Value References Examples
This function visualizes methylGSA analysis result by barplot.
1 |
res |
A data frame which contains methylGSA analysis result. |
xaxis |
A string which specify the x-axis in the barplot. Either "Size" (number of genes in gene set) or "Count" (number of significant genes in gene set). Default is "Size". "Count" option is not available for methylglm and methylRRA(GSEA) result. |
num |
An integer. Number of gene sets to display on the barplot. Default is 5. |
colorby |
A string. Either "pvalue" or "padj". Default is "padj". |
title |
A string. Barplot title. Default is NULL. |
The implementation of the function is adapted from barplot function in enrichplot package.
ggplot object
Yu G (2018). enrichplot: Visualization of Functional Enrichment Result. R package version 1.0.2, https://github.com/GuangchuangYu/enrichplot.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.