net_cls_tab,mina-method {mina} | R Documentation

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

### Description

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

### Usage

    ## 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

    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)

[Package mina version 1.2.0 Index]