uncent.cordist | R Documentation |
Calculating all pairwise distances using correlation distance
uncent.cordist(data, absolute = FALSE)
data |
a data matrix ([data.frame object] row: metabolites, col: samples or replicates) |
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.cordist(as.matrix(t(iris[,1:4]))) ## NOT RUN!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.