net_dis {mina}R Documentation

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

Description

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

Usage

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

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)

[Package mina version 1.2.0 Index]