net_cls_tab: Get the cluster table 'cls_tab' from 'norm' and 'cls'.

Description Usage Arguments Value Examples

Description

Get the cluster table 'cls_tab' from 'norm' and 'cls'.

Usage

1
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 abundances, default is FALSE.

Value

The network cluster relative abundance table.

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 = "ap", cutoff = 0.5)
maize <- net_cls_tab(maize)

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