matCorSig: Calculate correlation matrix p-values.

View source: R/matCorSig.R

matCorSigR Documentation

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)

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.

Value

A matrix of p-values.

References

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


DGCA documentation built on March 31, 2023, 9:22 p.m.