powered by
Benjamin Hochberg - adjusted tests for significance of correlations among rows. Transpose your matrix if you want to have it among columns
pvalCorMat(x, alternative = "two.sided", method = "spearman")
data matrix
(see cor.test)
# NOT RUN { mat = matrix(rnorm(10*20),ncol=10) res = pvalCorMat(mat) image(res$pval) image(res$cor) # }
Run the code above in your browser using DataLab