brownsMethod: Merge p-values using the Brown's method.

View source: R/merge_p.r

brownsMethodR Documentation

Merge p-values using the Brown's method.

Description

Merge p-values using the Brown's method.

Usage

brownsMethod(p_values, data_matrix = NULL, cov_matrix = NULL)

Arguments

p_values

A matrix of m x n p-values.

data_matrix

An m x n matrix representing m tests and n samples. NA's are not allowed.

cov_matrix

A pre-calculated covariance matrix of data_matrix. This is 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 vector representing the merged significance of multiple p-values.


ActivePathways documentation built on Nov. 2, 2023, 5:12 p.m.