cor.dist: Additional distance functions correlation distance (1-r)

Description Usage Arguments Details Value Author(s) Examples

Description

Additional distance functions Correlation distance (1-r)

Usage

1
cor.dist(data, methods = "pearson", absolute = FALSE)

Arguments

data

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

methods

a character string indicating which correlation coefficient is to be calculated. One of "pearson" (default), "spearman", or "kendall" can be abbreviated.

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

DiffCorr documentation built on May 2, 2019, 3:46 p.m.