plot_enrichment | R Documentation |
Method to plot the results of the gene set Enrichment Analyisis
plot_enrichment(
enrichment.results,
factor,
alpha = 0.1,
max.pathways = 25,
text_size = 1,
dot_size = 5
)
enrichment.results |
output of run_enrichment function |
factor |
a string with the factor name or an integer with the factor index |
alpha |
p.value threshold to filter out gene sets |
max.pathways |
maximum number of enriched pathways to display |
text_size |
text size |
dot_size |
dot size |
it requires run_enrichment
to be run beforehand.
a ggplot2
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.