calculateFDRBH {TFactSR} | R Documentation |
calculates FDR by Benjamini and Hochberg method
Description
This function calculates FDR based on BH.
Usage
calculateFDRBH(df)
Arguments
df |
a data frame containng p-values |
Value
data.frame
Author(s)
Atsushi Fukushima
References
Benjamini Y and Hochberg Y, J Roy Stat Soc B 57: 289?300 (1995)
Examples
p.value <- runif(10)/(1:10)
df <- data.frame(p.value = p.value)
res <- calculateFDRBH(df)
[Package TFactSR version 0.99.0 Index]