calES.perm: Calculate enrichment scores for gene sets in the permutation...

Description Usage Arguments Author(s) See Also Examples

View source: R/SeqGSEA.R

Description

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

Usage

1
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

1
2
3
4
5
6
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]

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