FDR: Calculate FDR for a vector of p-values

Description Usage Arguments Value Author(s) References Examples

Description

Calculate FDR for a vector of p-values

Usage

1
FDR(p)

Arguments

p

a vector of p-values

Value

returns a vector of FDR values based on Benjamini & Hochberg procedure

Author(s)

Peng Liu [email protected]

References

Benjamini and Hochberg, 1995, JRSSB

Examples

1
2
p.test <- c(0.01,0.025,0.05,0.1)
FDR(p.test)

warnes/exp.ssize documentation built on May 28, 2017, 12:58 a.m.