plotES: Plot the distribution of enrichment scores

Description Usage Arguments Author(s) See Also Examples

View source: R/plots.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
9
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) 

sunlightwang/SeqGSEA documentation built on Dec. 5, 2020, 5:52 p.m.