net_dis_plot {mina}R Documentation

Visulization of network distance, average distances are used for tile plot.

Description

Visulization of network distance, average distances are used for tile plot.

Visulization of network distance, average distances are used for tile plot.

Usage

net_dis_plot(x, d = "BS", ...)

## S4 method for signature 'mina'
net_dis_plot(x, d = "BS", sig = TRUE)

Arguments

x

An object of 'mina' with slot 'dis_stat' defined.

d

The distance to be plotted, could be "BS" or "PM".

...

Additional parameters.

sig

If 'TRUE', indicating significant distance with gold guild.

Value

p The plotted figure.

p The plotted figure.

Examples

maize <- new("mina", tab = maize_asv2, des = maize_des2)
maize <- norm_tab(maize, method = "raref")
maize <- fit_tabs(maize)
maize <- bs_pm(maize, group = "Compartment")
maize <- net_dis(maize, method = "Jaccard")
p <- net_dis_plot(maize)
maize <- new("mina", tab = maize_asv2, des = maize_des2)
maize <- norm_tab(maize, method = "raref")
maize <- fit_tabs(maize)
maize <- bs_pm(maize, group = "Compartment")
maize <- net_dis(maize, method = "Jaccard")
p <- net_dis_plot(maize, d = "BS")

[Package mina version 1.2.0 Index]