multTestAdjust {RNAither} | R Documentation |
Adjusts p-values for multiple testing.
multTestAdjust(pValVec, adjustMethod)
pValVec |
a vector of p-values |
adjustMethod |
one of the following: "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none" . For details type ?p.adjust |
Returns a vector of corrected p-values. Can be integrated into a dataframe with the function incorporatepValVec
.
data(pValVec1, package="RNAither") ##for details on the generation of pValVec1, see the example of the Ttest function linked above. newpvalvec <- multTestAdjust(pValVec1,"fdr")