rarefaction_subsample {mina} | R Documentation |
Rarefaction subsample function, one sample, modified from a internal function in phyloseq, find it here.
rarefaction_subsample(x, depth = 1000, replace = TRUE)
x |
A column of quantitative table. |
depth |
The depth for rarefying, 1000 by default. |
replace |
Whether to sample with or without replacement, |
The vector rarefied to defined depth.