Learn R Programming

Mergeomics (version 1.0.0)

tool.fdr.bh: Benjamini and Hochberg False Discovery Rate

Description

tool.fdr.bh estimates FDRs of modules by using Benjamini and Hochberg method.

Usage

tool.fdr.bh(p)

Arguments

p
p-values of modules

Value

res
data list including the estimated false discovery rates of modules

See Also

tool.fdr, 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.bh(p) ## the default method is already Benjamini Hochberg

Run the code above in your browser using DataLab