Learn R Programming

npGSEA (version 1.8.0)

pValues-methods: ~~ Methods for Function pValues ~~

Description

~~ Methods for function pValues ~~

Arguments

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.

Examples

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

Run the code above in your browser using DataLab