plotES {SeqGSEA} | R Documentation

## Plot the distribution of enrichment scores

### Description

This function is to plot the distribution of enrichment scores, with comparison with permutation enrichment scores.

### Usage

    plotES(gene.set, pdf = NULL)

### Arguments

`gene.set` | a SeqGeneSet object after running `GSEnrichAnalyze`.
`pdf` | whether to save the plot to PDF file; if yes, provide the name of the PDF file.

### Author(s)

Xi Wang, xi.wang@newcastle.edu.au

### See Also

`GSEnrichAnalyze`, `plotSigGeneSet`

### Examples

    data(DEscore, package="SeqGSEA")
    data(DSscore, package="SeqGSEA")
    gene.score <- geneScore(DEscore, DSscore, method="linear", DEweight = 0.3)
    data(DEscore.perm, package="SeqGSEA")
    data(DSscore.perm, package="SeqGSEA")
    gene.score.perm <- genePermuteScore(DEscore.perm, DSscore.perm, method="linear",  DEweight=0.3)
    data(GS_example, package="SeqGSEA")
    GS_example <- GSEnrichAnalyze(GS_example, gene.score, gene.score.perm)
    plotES(GS_example)

[Package SeqGSEA version 1.24.0 Index]