plotEnrichment | R Documentation |
Plots GSEA enrichment plot. For more flexibility use 'plotEnrichmentData' function.
plotEnrichment(pathway, stats, gseaParam = 1, ticksSize = 0.2)
pathway |
Gene set to plot. |
stats |
Gene-level statistics. |
gseaParam |
GSEA parameter. |
ticksSize |
width of vertical line corresponding to a gene (default: 0.2) |
ggplot object with the enrichment plot.
data(examplePathways)
data(exampleRanks)
## Not run:
plotEnrichment(examplePathways[["5991130_Programmed_Cell_Death"]],
exampleRanks)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.