Learn R Programming

SeqGSEA (version 1.12.0)

calES.perm: 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.

See Also

GSEnrichAnalyze, calES,

Examples

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

Run the code above in your browser using DataLab