cor.dist {bioDist} | R Documentation |
Calculate pairwise Pearson correlational distances, i.e. 1-COR or 1-|COR|, for all columns of a matrix and save as a 'dist' object
cor.dist(x, abs = TRUE, diag = FALSE, upper = FALSE)
x |
n by p matrix |
abs |
if TRUE, then 1-|COR| else 1-COR |
diag |
if TRUE, diagonal of the distance matrix will be displayed |
upper |
if TRUE, upper triangle of the distance matrix will be displayed |
Pairwise Pearson correlational distance object
Beiying Ding
spearman.dist
, tau.dist
,euc
,man
,KLdist.matrix
,KLD.matrix
,mutualInfo
x <- matrix(rnorm(200), nrow=5) cor.dist(x)