tool.fdr {Mergeomics} | R Documentation |
tool.fdr
estimates FDRs for modules as another module statistic.
tool.fdr(p, f = NULL)
p |
p-values of modules |
f |
pre-defined threshold for FDR |
FDRs of modules can be obtained by using either empirical method or Benjamini and Hochberg method.
res |
data list including the estimated false discovery rates of modules |
Ville-Petteri Makinen
tool.fdr.empirical
, tool.fdr.bh
## 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(p) ## default method is Benjamini Hochberg