gseaPlot: Returns path to an svg file with enrichment plot

View source: R/gseaPlot.R

gseaPlotR Documentation

Returns path to an svg file with enrichment plot

Description

Returns path to an svg file with enrichment plot

Usage

gseaPlot(
  es,
  rankBy,
  selectedGenes,
  width,
  height,
  vertical = FALSE,
  addHeatmap = FALSE,
  showAnnotation = NULL,
  annotationColors = NULL,
  pallete = c("blue", "white", "red")
)

Arguments

es

ExpressionSet object.

rankBy

name of the numeric column used for gene ranking

selectedGenes

indexes of selected genes (starting from one, in the order of fData)

width

width of the image (in inches)

height

height of the image (in inches)

vertical

whether to use vertical orientation (default: FALSE)

addHeatmap

whether to add an expression heatmap, sorted by rankBy (default: FALSE)

showAnnotation

a name of column annotation to add to the heatmap, default: NULL (no annotation)

annotationColors

a list of colors to use in annotation

pallete

a vector of colors to draw heatmap

Value

path to an svg file


baba-beda/morpheusR documentation built on Oct. 10, 2024, 1:35 a.m.