uncent.cor2dist {DiffCorr} | R 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!
[Package DiffCorr version 0.4.3 Index]