calES.perm {SeqGSEA} | R Documentation

## Calculate enrichment scores for gene sets in the permutation data sets

### Description

This is an internal function to calculate enrichment scores for gene sets in the permutation data sets.

### Usage

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

### Arguments

`gene.set` | a SeqGeneSet object.
`gene.score.perm` | a matrix of gene scores on the permutation data sets.
`weighted.type` | gene score weight type.

### Author(s)

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

### See Also

`GSEnrichAnalyze`, `calES`,

### Examples

    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")
    ES.perm <- calES.perm(GS_example, gene.score.perm)
    ES.perm[1:5,1:5]

[Package SeqGSEA version 1.30.0 Index]