plotGSEA {cTRAP} | R Documentation

## Plot gene set enrichment analysis (GSEA)

### Description

Plot gene set enrichment analysis (GSEA)

### Usage

    plotGSEA(
      stats,
      geneset,
      genes = c("both", "top", "bottom"),
      title = "GSEA plot",
      gseaParam = 1,
      compact = FALSE
    )

### Arguments

`stats` | Named numeric vector: statistics
`genes` | Character: when plotting gene set enrichment analysis (GSEA), plot most up-regulated genes (`genes = "top"`), most down-regulated genes (`genes = "bottom"`) or both (`genes = "both"`); only used if `method = "gsea"` and `geneset = NULL`
`title` | Character: plot title (if `NULL`, the default title depends on the context; ignored when plotting multiple perturbations)
`gseaParam` | Numeric: GSEA-like parameter
`compact` | Boolean: render a compact version of the GSEA plot?

### Value

Grid of plots illustrating a GSEA plot

[Package cTRAP version 1.12.0 Index]