View source: R/All-functions.R
plot_RES | R Documentation |
Function to plot all the RES stored in a GSEA_run output.
plot_RES(
GSEA_result,
LFC,
plot_title = NULL,
line.colors = NULL,
line.styles = NULL,
Accession = NULL,
TF = NULL
)
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. |
Plotly object with a line plot -running sums- and a heatmap -log2(fold change) bar-.
data('GSEA.result','log2.FC',package = 'TFEA.ChIP')
plot_RES(GSEA.result, log2.FC, TF = c('E2F4',"E2F1"),
Accession=c('ENCSR000DYY.E2F4.GM12878',
'ENCSR000EVJ.E2F1.HeLa-S3'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.