Learn R Programming

Mergeomics (version 1.0.0)

tool.fdr: Estimate False Discovery Rates (FDR)

Description

tool.fdr estimates FDRs for modules as another module statistic.

Usage

tool.fdr(p, f = NULL)

Arguments

p
p-values of modules
f
pre-defined threshold for FDR

Value

res
data list including the estimated false discovery rates of modules

Details

FDRs of modules can be obtained by using either empirical method or Benjamini and Hochberg method.

See Also

tool.fdr.empirical, tool.fdr.bh

Examples

Run this code
## 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

Run the code above in your browser using DataLab