net_cls_tab-mina-method: Get the cluster table 'cls_tab' from quantitative table...

Description Usage Arguments Value Examples

Description

Get the cluster table 'cls_tab' from quantitative table 'norm' and network clustering results 'cls'.

Usage

1
2
## S4 method for signature 'mina'
net_cls_tab(x, uw = FALSE)

Arguments

x

An object of class 'mina' with 'norm' and 'cls' defined.

uw

By summing up the number of present components of each cluster instead of relative abundance, default is FALSE.

Value

x The same 'mina' object with 'cls_tab' added.

Examples

1
2
3
4
5
6
maize <- new("mina", tab = maize_asv2, des = maize_des2)
maize <- norm_tab(maize, method = "raref", depth = 1000)
maize <- fit_tabs(maize)
maize <- adj(maize, method = "spearman")
maize <- net_cls(maize, method = "mcl", cutoff = 0.5)
maize <- net_cls_tab(maize)

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