View source: R/sdminp_calculation.R
sdminp | R Documentation |
It implement the improved step-down minP algorithm by Ge et al, 2003 (box 4)
sdminp(res_ob, res_perm)
res_ob |
is a numeric vectors of statistics |
res_perm |
is a matrix with each colum is a permuated statistics with the same length as res_ob |
a numeric vector adjusted pvalues
Ge, Y., Dudoit, S., & Speed, T. P. (2003). Resampling-based multiple testing for microarray data analysis. Test, 12(1), 1–77. https://doi.org/10.1007/BF02595811
ob=rnorm(10,2,2) perm=matrix(rnorm(100,2,2),ncol=10,nrow=10) sdminp(ob,perm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.