plotEnrichment2 | R Documentation |
This function creates a plot of enrichment scores for a specified pathway. It provides a visual representation of the enrichment score (ES) along with the ranks and ticks indicating the GSEA walk length.
plotEnrichment2(pathways, pwayname, stats, gseaParam = 1, ticksSize = 0.2)
pathways |
A list of pathways. |
pwayname |
The name of the pathway for which to plot enrichment. |
stats |
A rank vector obtained from the 'fgsea' package. |
gseaParam |
The GSEA walk length parameter. Default is 1. |
ticksSize |
The size of the tick marks. Default is 0.2. |
A ggplot object representing the enrichment plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.