calES: Calculate running enrichment scores of gene sets

Description Usage Arguments Author(s) See Also Examples

View source: R/SeqGSEA.R

Description

This is an internal function to calculate running enrichment scores of each gene set in the SeqGeneSet object specified

Usage

1
calES(gene.set, gene.score, weighted.type = 1)

Arguments

gene.set

a SeqGeneSet object.

gene.score

a vector of gene scores corresponding to the geneList slot of gene.set.

weighted.type

gene score weight type.

Author(s)

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

See Also

GSEnrichAnalyze, calES.perm,

Examples

1
2
3
4
5
6
data(DEscore, package="SeqGSEA")
data(DSscore, package="SeqGSEA")
gene.score <- geneScore(DEscore, DSscore, method="linear", DEweight = 0.3)
data(GS_example, package="SeqGSEA")
rES <- calES(GS_example, gene.score)
rES[1,]

SeqGSEA documentation built on Nov. 8, 2020, 5:46 p.m.