calES {SeqGSEA} | R Documentation

## 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.

### Author(s)

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

### See Also

`GSEnrichAnalyze`, `calES.perm`,

### Examples

    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,]

[Package SeqGSEA version 1.34.0 Index]