net_dis_plot: Visulization of network distance, average distances are used...

Description Usage Arguments Value Examples

Description

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

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

Usage

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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")

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