norm_tab,mina,ANY-method {mina} | R Documentation |
Normalize the quantitative table with mina input.
## 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, ...)
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 ( |
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. |
x An object of the class mina with @norm added.
maize <- new("mina", tab = maize_asv2, des = maize_des2) maize <- norm_tab(maize, method = "raref", depth = 1000, replace = TRUE, multi = 3)