Description Usage Arguments Value Author(s) References Examples
Calculate distance matrix between the _columns_ of the input matrix. Can prduce correlation-based distance matrices, otherwise uses the standard 'dist' function.
1 | distance.matrix(x, method = "pearson", ...)
|
x |
data matrix |
method |
distance method |
... |
other arguments to be passed |
distance object
Contact: Leo Lahti microbiome-admin@googlegroups.com
See citation('microbiome')
1 2 | data(peerj32)
d <- distance.matrix(peerj32$microbes[1:10, 1:3])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.