tool.fdr: Estimate False Discovery Rates (FDR)

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/cle.LS.R

Description

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

Usage

1
tool.fdr(p, f = NULL)

Arguments

p

p-values of modules

f

pre-defined threshold for FDR

Details

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

Value

res

data list including the estimated false discovery rates of modules

Author(s)

Ville-Petteri Makinen

See Also

tool.fdr.empirical, tool.fdr.bh

Examples

1
2
3
4
5
## 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

Mergeomics documentation built on Nov. 8, 2020, 6:58 p.m.