tool.fdr.empirical {Mergeomics} | R Documentation

## Estimate Empirical False Discovery Rates

### Description

`tool.fdr.empirical` estimates empirical FDR for modules

### Usage

    tool.fdr.empirical(p, f0)

### Arguments

`p` | p-values of modules
`f0` | pre-defined threshold for FDR

### Value

`res` | data list including the estimated false discovery rates of modules

### Author(s)

Ville-Petteri Makinen

### See Also

`tool.fdr`, `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
    f = 0.05 ## pre-defined threshold for FDR
    FDRs <- tool.fdr.empirical(p, f)

[Package Mergeomics version 1.18.0 Index]