pValues-methods {npGSEA}R Documentation

~~ Methods for Function pValues ~~

Description

~~ Methods for function pValues ~~

Methods

signature(x = "npGSEAResultNorm"),signature(x = "npGSEAResultBeta"), signature(x = "npGSEAResultChiSq")

These methods display the corresponding p-values for the npGSEA analysis in the gene set in the given experiment.

Author(s)

Jessica L. Larson

Examples

    set.seed(15)
    yFactor <- as.factor( c(rep("treated", 5), rep("control", 5)) )
    xData <- matrix(data=rnorm(length(letters)*10) ,nrow=length(letters), ncol=10)
    rownames(xData) <- letters
    geneSetABC15 <- GeneSet(geneIds=letters[1:15], setName="setABC15")
    res <- npGSEA(x = xData, y = yFactor, set = geneSetABC15)
    pValues(res)

[Package npGSEA version 1.22.0 Index]