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)

calm documentation built on Nov. 8, 2020, 5:33 p.m.