AdjustPvalues {GeneSelector} | R Documentation |
Wrapper function for the functions mt.rawp2adjp
from the package multtest
and qvalue.cal
from the package siggenes
.
AdjustPvalues(pval, method = c("BH", "qvalue", "Bonferroni", "Holm", "Hochberg", "SidakSS", "SidakSD", "BY"))
pval |
A numeric vector of raw p-values |
method |
Several multiple testing adjustment procedures. |
A numeric vector of adjusted p-values corresponding to the
argument pval
.
Martin Slawski martin.slawski@campus.lmu.de
Anne-Laure Boulesteix http://www.slcmsr.net/boulesteix
Dudoit, S., Shaffer, J.P., Boldrick, J.C. (2003).
Multiple Hypothesis Testing in Microarray Experiments
Statistical Science, 18, 71-103
Storey, J.D., Tibshirani, R. (2003).
Statistical significance for genomewide studies.
PNAS USA, 100, 9440-9445
### Simulate 100 uniform random variates rawp <- runif(100) ### Adjust with Benjamin-Hochberg procedure adjustedp <- AdjustPvalues(rawp, method="BH")