com_dis,mina,ANY-method {mina} | R Documentation |
Calculate the community dissimilarity / distance matrix of 'norm' with 'mina' class object as input.
## S4 method for signature 'mina,ANY' com_dis(x, method = "bray", threads = 80, nblocks = 400, ...) ## S4 method for signature 'mina,character' com_dis(x, method = "bray", threads = 80, nblocks = 400, ...)
x |
An object of the class 'mina' with 'norm' defined. |
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. |
x The same 'mina' object with @dis added.
maize <- new("mina", tab = maize_asv2, des = maize_des2) maize <- norm_tab(maize, method = "total") maize <- fit_tabs(maize) maize <- com_dis(maize, method = "bray")