plotEnrichment {fgsea}R Documentation

Plots GSEA enrichment plot.

Description

Plots GSEA enrichment plot.

Usage

plotEnrichment(pathway, stats, gseaParam = 1)

Arguments

pathway

Gene set to plot.

stats

Gene-level statistics.

gseaParam

GSEA parameter.

Value

ggplot object with the enrichment plot.

Examples

data(examplePathways)
data(exampleRanks)
## Not run: 
plotEnrichment(examplePathways[["5991130_Programmed_Cell_Death"]],
               exampleRanks)

## End(Not run)

[Package fgsea version 1.6.0 Index]