net_cls_tab {mina}R Documentation

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

Description

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

Usage

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

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)

[Package mina version 1.1.11 Index]