plotEnrichment2 {easybio} | R Documentation |
Plot Enrichment for a Specific Pathway in fgsea
Description
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.
Usage
plotEnrichment2(pathways, pwayname, stats, gseaParam = 1, ticksSize = 0.2)
Arguments
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. |
Value
A ggplot object representing the enrichment plot.
[Package easybio version 1.1.1 Index]