com_dis-mina: Calculate the community dissimilarity / distance matrix of...

Description Usage Arguments Value Examples

Description

Calculate the community dissimilarity / distance matrix of 'norm' with 'mina' class object as input.

Usage

1
2
3
4
5
## 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, ...)

Arguments

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.

Value

x The same 'mina' object with @dis added.

Examples

1
2
3
4
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")

Guan06/mina documentation built on Feb. 21, 2022, 11:56 a.m.