View source: R/plot_enrichment_barplot.R
plot_enrichment_barplot | R Documentation |
Plots barplot as used by clusterProfiler
plot_enrichment_barplot( data, x = "Count", color = "p.adjust", showCategory = 8, font.size = 10, title = "", label_format = 20, inverse = F, silent = F )
data |
enrichResult |
x |
one of 'Count' and 'GeneRatio' |
color |
one of 'pvalue', 'p.adjust' and 'qvalue' |
showCategory |
number of categories to show |
font.size |
font size |
title |
plot title |
label_format |
a numeric value sets wrap length, alternatively a custom function to format axis labels. by default wraps names longer that 30 characters |
silent |
suppress error message and only return NULL |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.