uncent.cor2dist: Additional distance functions correlation distance...

Description Usage Arguments Details Value Author(s) Examples

View source: R/DiffCorr.R

Description

Additional distance functions correlation distance (uncentered)

Usage

1

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).

Details

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

Value

the resulting correlation matrix

Author(s)

Atsushi Fukushima

Examples

1
uncent.cor2dist(as.matrix(t(iris[,1:4])), 1) ## NOT RUN!

DiffCorr documentation built on May 30, 2017, 7:52 a.m.