net_dis: Calculate the network distance of 'multi' and test the...

Description Usage Arguments Value Examples

Description

Calculate the network distance of 'multi' and test the significance when 'perm' is defined.

Usage

1
net_dis(x, method, ...)

Arguments

x

An object of class 'mina' with 'multi' (and 'perm' if 'sig' is TRUE) defined.

method

The distance to be calculated, "spectra" and "Jaccard" are available.

...

Additional parameters.

Value

The netowrk comparison result.

Examples

1
2
3
4
5
6
maize <- new("mina", tab = maize_asv2, des = maize_des2)
maize <- norm_tab(maize, method = "raref")
maize <- fit_tabs(maize)
maize <- get_rep(maize, top = 5)
maize <- bs_pm(maize, group = "Compartment")
maize <- net_dis(maize, method = "spectra", evk = 30)

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