norm_tab-mina: Normalize the quantitative table with mina input.

Description Usage Arguments Value Examples

Description

Normalize the quantitative table with mina input.

Usage

1
2
3
4
5
## S4 method for signature 'mina,ANY'
norm_tab(x, method, depth = 1000, replace = TRUE, multi = 1, ...)

## S4 method for signature 'mina,character'
norm_tab(x, method, depth = 1000, replace = TRUE, multi = 1, ...)

Arguments

x

An object of the class mina with @tab defined.

method

The method used for normalization.

depth

The depth for subsampling by rarefying, 1000 by default.

replace

Whether to sample with replacement (TRUE by default) or without replacement (FALSE) when using method 'raref'.

multi

Rarefy the table for multiple times, FALSE by default, indicate the times of rarefaction want to be repeated, only validate for rarefaction.

...

Additional parameters.

Value

x An object of the class mina with @norm added.

Examples

1
2
3
maize <- new("mina", tab = maize_asv2, des = maize_des2)
maize <- norm_tab(maize, method = "raref", depth = 1000, replace = TRUE,
multi = 3)

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