View source: R/coverage_based_rarefaction2.R
rarefy_even_coverage2 | R Documentation |
rarefy_even_coverage2
performs coverage-based rarefaction for a phyloseq object using vegan package
rarefy_even_coverage2(
ps_obj,
coverage = 0.97,
remove_not_rarefied = FALSE,
include_rarecurve_results = FALSE,
knots = 1000,
n_rarefy_iter = 10,
rareplot_step_size = 100,
rarefy_average_method = "round",
ran_seed = 1234
)
ps_obj |
Phyloseq object. |
coverage |
Numeric. Coverage specified by a user (default = 0.97 = 97%). |
remove_not_rarefied |
Logical. If |
include_rarecurve_results |
Logical. If TURE, |
knots |
Numeric. Specify |
n_rarefy_iter |
Numeric. The number of iterations of rarefactions (default = 1). |
rareplot_step_size |
Numeric. Step size for |
rarefy_average_method |
Character. If |
ran_seed |
Numeric. Random seed. |
Rarefied phyloseq object (ps_rare
). If include_rarecurve_results = TRUE
, rarecurve
results are stored in the second element of the list.
# rarefy_even_coverage(ps_obj, coverage = 0.97)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.