This function calculates FDR based on BH.

calculateFDRBH(df)

Arguments

df

a data frame containng p-values

Value

data.frame

References

Benjamini Y and Hochberg Y, J Roy Stat Soc B 57: 289?300 (1995)

Author

Atsushi Fukushima

Examples

p.value <- runif(10)/(1:10)
df <- data.frame(p.value = p.value)
res <- calculateFDRBH(df)