DPM {ActivePathways}R Documentation

Merge p-values using the DPM method.

Description

Merge p-values using the DPM method.

Usage

DPM(
  p_values,
  data_matrix = NULL,
  cov_matrix = NULL,
  scores_direction,
  constraints_vector
)

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.

scores_direction

A matrix of log2 fold-change values. Datasets without directional information should be set to 0.

constraints_vector

A numerical vector of +1 or -1 values corresponding to the user-defined directional relationship between columns in scores_direction. Datasets without directional information should be set to 0.

Value

A p-value vector representing the merged significance of multiple p-values.


[Package ActivePathways version 2.0.5 Index]