pValues-methods {npGSEA} | R Documentation |
pValues
~~~~ Methods for function pValues
~~
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.
Jessica L. Larson
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)