matrix.padjust: matrix.padjust

Description Usage Arguments Value Author(s) References Examples

View source: R/utils.R

Description

Calculate adjusted p-values for a matrix of pvalues which may contain missing values.

Usage

1
matrix.padjust(pvals, p.adjust.method = "BH")

Arguments

pvals

p-value matrix

p.adjust.method

p-value adjustment method: for options, see ?p.adjust

Value

Adjusted p-value matrix

Author(s)

Leo Lahti microbiome-admin@googlegroups.com

References

JD Storey 2003. Ann. Statist. 31(6):2013-2035. The positive false discovery rate: a Bayesian interpretation and the q-value.

To cite the microbiome R package, see citation('microbiome')

Examples

1
qvals <- matrix.padjust(matrix(runif(1000), nrow = 100))

microbiome/microbiomeold documentation built on May 22, 2019, 9:57 p.m.