Accumulation curve analysis
accumulation_test.Rd
This function generates accumulation (rarefaction) curves for each sample in
a given phyloseq
object.
Value
A list containing:
accumulation_plot
: Aggplot
object with all sites faceted.threshold_density
: Aggplot
density/histogram plot of the 75% ACE thresholds.individual_plots
: A list ofggplot
objects, one per site.
Details
It fits a general accumulation model using the Abundance Coverage Estimator (ACE) as an asymptote, and identifies the sequencing depth at which 75% of the ACE value is reached. It also produces a density plot showing the distribution of these 75% completion thresholds.
Examples
library(Sibyl)
# Creating a smaller subset of the data
adults_sub <- phyloseq::subset_samples(adults, location=="VK3")
# Running accumulation tests on a phyloseq object, higher step size reduces
# execution time.
accumulation_test(adults_sub, step=50)