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

View source: R/DiffCorr.R

uncent.cor2distR Documentation

Additional distance functions correlation distance (uncentered)

Description

Additional distance functions correlation distance (uncentered)

Usage

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

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

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

DiffCorr documentation built on Aug. 25, 2023, 5:16 p.m.