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

Description Usage Arguments Value Examples

Description

Calculate the community dissimilarity / distance matrix of the input matrix.

Usage

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

Arguments

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.

Value

y The dissimilarity / distance matrix.

Examples

1
2
asv_norm <- norm_tab(maize_asv2, method = "raref", depth = 1000)
asv_dis <- com_dis(asv_norm, method = "bray")

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