Learn R Programming

SeqGSEA (version 1.12.0)

calES: Calculate running enrichment scores of gene sets

Description

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

Usage

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.

See Also

GSEnrichAnalyze, calES.perm,

Examples

Run this code
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,]

Run the code above in your browser using DataLab