powered by
tool.fdr.bh
tool.fdr.bh(p)
tool.fdr
## let us assume we have a set of pvalues ## and would like to find FDR values: set.seed(1) p <- abs(rnorm(10))*1e-2 FDRs <- tool.fdr.bh(p) ## the default method is already Benjamini Hochberg
Run the code above in your browser using DataLab