Learn R Programming

DiffCorr (version 0.4.3)

uncent.cor2dist: Additional distance functions correlation distance (uncentered)

Description

Additional distance functions correlation distance (uncentered)

Usage

uncent.cor2dist(data, i, absolute = FALSE)

Value

the resulting correlation matrix

Arguments

data

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

i

i-th row of data

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.cor2dist(as.matrix(t(iris[,1:4])), 1) ## NOT RUN!

Run the code above in your browser using DataLab