Learn R Programming

DiffCorr (version 0.4.3)

uncent.cordist: Calculating all pairwise distances using correlation distance

Description

Calculating all pairwise distances using correlation distance

Usage

uncent.cordist(data, absolute = FALSE)

Value

the resulting correlation matrix

Arguments

data

a data matrix ([data.frame object] row: metabolites, col: samples or replicates)

absolute

TRUE means that absolute value of the correlation coefficient is used (Default: FALSE).

Author

Atsushi Fukushima

Details

These functions were originally from 'hybridHclust' package. We modified the functions slightly. See also the reference manual in detail.

Examples

Run this code
uncent.cordist(as.matrix(t(iris[,1:4]))) ## NOT RUN!

Run the code above in your browser using DataLab