pvalCorMat: pvalues for correlation matrix -

Description Usage Arguments Examples

View source: R/pvalCorMat.R

Description

Benjamin Hochberg - adjusted tests for significance of correlations among rows. Transpose your matrix if you want to have it among columns

Usage

1
pvalCorMat(x, alternative = "two.sided", method = "spearman")

Arguments

x

data matrix

alternative

(see cor.test)

method

(see cor.test)

Examples

1
2
3
4
mat = matrix(rnorm(10*20),ncol=10)
res = pvalCorMat(mat)
image(res$pval)
image(res$cor)

protViz/quantable documentation built on Nov. 29, 2021, 10:07 a.m.