uncent.cor2dist | R Documentation |
Additional distance functions correlation distance (uncentered)
uncent.cor2dist(data, i, absolute = FALSE)
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). |
These functions were originally from 'hybridHclust' package. We modified the functions slightly. See also the reference manual in detail.
the resulting correlation matrix
Atsushi Fukushima
uncent.cor2dist(as.matrix(t(iris[,1:4])), 1) ## NOT RUN!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.