gseaPlot {phantasus} | R 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

[Package phantasus version 1.10.0 Index]