plotGSEA: Plot gene set enrichment analysis (GSEA)

Description Usage Arguments Value

View source: R/plots.R

Description

Plot gene set enrichment analysis (GSEA)

Usage

1
2
3
4
5
6
7
8
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


cTRAP documentation built on Nov. 8, 2020, 10:58 p.m.