Learn R Programming

ActivePathways (version 1.0.1)

brownsMethod: Merge p-values using Brown's method

Description

Merge p-values using Brown's method

Usage

brownsMethod(p.values, data.matrix = NULL, cov.matrix = NULL)

Arguments

p.values

A vector of m p-values

data.matrix

An m x n matrix representing m tests and n samples

cov.matrix

A pre-calculated covariance matrix of data.matrix. More efficient when making many calls with the same data.matrix. Only one of data.matrix and cov.matrix must be given. If both are supplied, data.matrix is ignored

Value

a p-value