Description Usage Arguments Value Examples
This function is revised from the barplot.enrichResult
function DOSE package, and used to
perform a barplot of the enrichResult object.
1 2 | barplotEnrich(height, x = "Count", colorBy = "p.adjust", top = 5,
font.size = 12, title = "", color = NULL,...)
|
height |
enrichResult object, alternatively output from |
x |
one of "Count" and "GeneRatio" to specify the x axis. |
colorBy |
one of 'pvalue', 'p.adjust', 'qvalue'. |
top |
number of top categories to show. |
font.size, title |
font size and title. |
color |
the color of the bar. |
... |
see parameters in |
bar plot of enrichment results
1 2 3 4 5 6 | ## Not run:
# plot the "enrichResult" of Inactive category
inactive = goenrichraw[[2]]
barplotEnrich(inactive, top =5, color ="#2c7bb6", title = "Inactive")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.