Learn R Programming

DGCA (version 1.0.3)

matCorSig: Calculate correlation matrix p-values.

Description

Calculate two-sided p-values from a pairwise correlations matrix and a corresponding "number of samples" matrix.

Usage

matCorSig(corrs, nsamp, secondMat = FALSE)

Value

A matrix of p-values.

Arguments

corrs

Computed correlation matrix.

nsamp

Computed number of samples used per call in the correlation matrix.

secondMat

Logical indicator of whether there is a second matrix in the comparison or not.

References

HMisc R package https://cran.r-project.org/web/packages/Hmisc/index.html