GSEAweight1Score: GSEAweight1

Description Usage Arguments Details References Examples

View source: R/GSEAweight1.R

Description

The implementation of GSEAweight1

Usage

1
2
GSEAweight1Score(refMatrix, queryUp, queryDown, permuteNum = 10000,
  pAdjMethod = "BH", mcCore = 1)

Arguments

refMatrix

A matrix

queryUp, queryDown

character vectors.

permuteNum

number of perturbation time for computing pValue

pAdjMethod

method to use for computing adjudted-pValue

mcCore

the number of core to use for parallel computing

Details

'GSEAweight1Score()' returns a data.frame, each row of which contains score, pValue and adjusted-pValue for one sample in the refMatrix.

References

"Subramanian A et al. Proceedings of the National Academy of Sciences, 2005, 102(43): 15545-15550".

Examples

1
2
3
4
5
6
set.seed(1234)
ref <- matrix(rnorm(1000), nrow = 10,
  dimnames = list(paste0("gene", 1:10), paste0("drug", 1:100)))
Up <- c("gene1", "gene2")
Down <- c("gene9", "gene10")
GSEAweight1Score(refMatrix = ref, queryUp = Up, queryDown = Down)

Jasonlinchina/RCSM documentation built on Aug. 4, 2019, 12:46 p.m.