barplotEnrich | R Documentation |
This function is revised from the barplot.enrichResult
function DOSE package, and used to
perform a barplot of the enrichResult object.
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
## 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.