cor.dist {bioDist}R Documentation

Pearson correlational distance

Description

Calculate pairwise Pearson correlational distances, i.e. 1-COR or 1-|COR|, for all columns of a matrix and save as a 'dist' object

Usage

cor.dist(x, ...)

Arguments

x n by p matrix or exprSet; if x is an exprSet, function workes against its 'exprs' slot
... arguments passed to cor.dist:
abs
if TRUE, then 1-|COR| else 1-COR, default is TRUE
diag
if TRUE, diagonal of the distance matrix will be displayed, default is FALSE
upper
if TRUE, upper triangle of the distance matrix will be displayed, default is FALSE

Details

Value

Pairwise Pearson correlational distance object

Author(s)

Beiying Ding

See Also

spearman.dist, tau.dist,euc,man,KLdist.matrix,KLD.matrix,mutualInfo

Examples

 x <- matrix(rnorm(200), nrow=5)
 cor.dist(x)

[Package bioDist version 1.6.0 Index]