tool.fdr {Mergeomics} | R Documentation

## 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

### 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

    ## 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

[Package Mergeomics version 1.18.0 Index]