BHcorrection: Benjamini & Hochberg (1995) method for p-values correction

Description Usage Arguments Value Author(s) References Examples

View source: R/BHcorrection.R

Description

This function evaluate the p-values correction according to the Benjamini & Hochberg (1995) method.

Usage

1
BHcorrection(pvs, alpha = 0.05)

Arguments

pvs

list of p-values

alpha

level of significance of the test

Value

list of corrected p-values

Author(s)

Stefano M. Pagnotta and Michele Ceccarelli

References

Benjamini, Y. and Hochberg, Y. (1995). Controlling the false discovery rate: a practical and powerful approach to multiple testing. J. Roy. Statist. Soc. Ser. B 57 289-300.

Examples

1
2
3
4
###################
data <- matrix(rnorm(50000), 10000, 5)
pvs <- apply(data, 1, function(xx) t.test(xx, alternative = "less")$p.value)
qvs <- BHcorrection(pvs)

geneSignatureFinder documentation built on May 2, 2019, 2:32 p.m.