EstFDR: FDR estimation

Description Usage Arguments Value Examples

View source: R/utils.R

Description

False discovery rate (FDR) estimation from local FDR

Usage

1
EstFDR(fdr)

Arguments

fdr

vector of local FDR

Value

the estimate of the FDR

Examples

1
2
3
lfdr <- c(runif(900), rbeta(100, 1, 10))
FDR <- EstFDR(lfdr)
sum(FDR<0.05)

k22liang/calm documentation built on Nov. 4, 2019, 3:29 p.m.