com_dis,matrix,ANY-method {mina} | R Documentation |
Calculate the community dissimilarity / distance matrix of the input matrix.
## S4 method for signature 'matrix,ANY' com_dis(x, method = "bray", threads = 80, nblocks = 400, ...) ## S4 method for signature 'matrix,character' com_dis(x, method = "bray", threads = 80, nblocks = 400, ...)
x |
A matrix of the quantitative table. |
method |
The dissimilarity / distance method used, default 'bray'. |
threads |
(optional, only needed when method == "tina") The number of threads used for parallel running. |
nblocks |
(optional, only needed when method == "tina") The number of row / column for splitted sub-matrix. |
... |
Additional parameters. |
y The dissimilarity / distance matrix.
asv_norm <- norm_tab(maize_asv2, method = "raref", depth = 1000) asv_dis <- com_dis(asv_norm, method = "bray")