| pValues {StabPerf} | R Documentation | 
Computes the p-values for the spots between two sample groups.
pValues(data, labels, one, two, method=wilcox.test)
 data | 
a data.frame containing samples (columns) and genes (rows) | 
 labels | 
a factor, grouping of the samples | 
 one | 
the name of the first group | 
 two | 
the name of the second group | 
 method | 
some function whose value contains a $p.value field containing p-values. Default:wilcox.test | 
Calculates pValues of gene expression between to sample groups. The subsets of data are created using groupData. Then method is used to derive a p-Value for the two expression data-vectors of each spot.
 pv | 
list of pValues for every spots. | 
groupData, foldChanges, mt.teststat, wilcox.test, t.test
data <- loadData("data/dataset.RData")
# calculate the pValues for all spots between "normal" and "early".
p <- pValues(data$x, data$y, 1, 2)