Calculate two-sided p-values from a pairwise correlations matrix and a corresponding "number of samples" matrix.
matCorSig(corrs, nsamp, secondMat = FALSE)
A matrix of p-values.
Computed correlation matrix.
Computed number of samples used per call in the correlation matrix.
Logical indicator of whether there is a second matrix in the comparison or not.
HMisc R package https://cran.r-project.org/web/packages/Hmisc/index.html