powered by
Additional distance functions correlation distance (uncentered)
uncent.cor2dist(data, i, absolute = FALSE)
the resulting correlation matrix
a data matrix ([data.frame object] row: metabolites, col: samples or replicates)
i-th row of data
TRUE means that absolute value of the correlation coefficient is used (Default: FALSE).
Atsushi Fukushima
These functions were originally from 'hybridHclust' package. We modified the functions slightly. See also the reference manual in detail.
uncent.cor2dist(as.matrix(t(iris[,1:4])), 1) ## NOT RUN!
Run the code above in your browser using DataLab