plot_RES {TFEA.ChIP} | R Documentation

## Plots all the RES stored in a GSEA_run output.

### Description

Function to plot all the RES stored in a GSEA_run output.

### Usage

    plot_RES(GSEA_result, LFC, plot_title = NULL, line.colors = NULL,
      line.styles = NULL, Accession = NULL, TF = NULL)

### Arguments

`GSEA_result` | Returned by GSEA_run
`LFC` | Vector with log2(Fold Change) of every gene that has an Entrez ID. Arranged from higher to lower.
`plot_title` | (Optional) Title for the plot.
`line.colors` | (Optional) Vector of colors for each line.
`line.styles` | (Optional) Vector of line styles for each line ('solid'/'dash'/'longdash').
`Accession` | (Optional) restricts plot to the indicated list dataset IDs.
`TF` | (Optional) restricts plot to the indicated list transcription factor names.

### Value

Plotly object with a line plot -running sums- and a heatmap -log2(fold change) bar-.

### Examples

    data('GSEA.result','log2.FC',package = 'TFEA.ChIP')
    plot_RES(GSEA.result,log2.FC,TF=c('STAT1'),
        Accession=c('GSM2390642','wgEncodeEH002867'))

[Package TFEA.ChIP version 1.8.0 Index]