plotEnrichment {fgsea} | R Documentation

## Plots GSEA enrichment plot.

### Description

Plots GSEA enrichment plot.

### Usage

    plotEnrichment(pathway, stats, gseaParam = 1, ticksSize = 0.2)

### Arguments

`pathway` | Gene set to plot.
`stats` | Gene-level statistics.
`gseaParam` | GSEA parameter.
`ticksSize` | width of vertical line corresponding to a gene (default: 0.2)

### 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.10.1 Index]