data(exampleDataset, package="RNAither")
data(scoredDataset1, package="RNAither")
##scoredDataset1 already contains the p-value column
data(pValVec1, package="RNAither")
##for details on the generation of pValVec1 and scoredDataset1, see the example of the Ttest function linked above.
temp <- generateReplicateMat(dataset, 1, "Intensities", "SigIntensity", "GeneName")
replicamatrix <- temp[[1]]
newdataset <- incorporatepValVec(dataset, pValVec1, replicamatrix, "GeneName", "pvals")
##newdataset and scoredDataset1 are now equivalent
Run the code above in your browser using DataLab