net_cls_tab,mina-method {mina} | R Documentation |
Get the cluster table 'cls_tab' from quantitative table 'norm' and network clustering results 'cls'.
## S4 method for signature 'mina' net_cls_tab(x, uw = FALSE)
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. |
x The same 'mina' object with 'cls_tab' added.
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)