Description Usage Arguments Value Examples
Generate three types of plots to visualize the enrichment
analysis results from getEnrich
function. The plots are an
circular barplot, barplot and dotplot.
1 | enrichPlot(res, showCategory = 10, type = "circle")
|
res |
A dataframe with |
showCategory |
Number of enriched terms to display (default: 10). |
type |
Type of plot: circle, bar or dot (default: circle). |
Returns a circle, bar or dot plot of enrichment analysis results.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # loading enrichdemo
data(enrichdemo)
# circle barplot
enrichPlot(res = enrichdemo$results,
showCategory = 10,
type = 'circle')
# barplot
enrichPlot(res = enrichdemo$results,
showCategory = 10,
type = 'bar')
# dotplot
enrichPlot(res = enrichdemo$results,
showCategory = 10,
type = 'dot')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.