calculate_curve {cuperdec} | R Documentation |
Performs the initial decay curve based on percentage of 'target' isolation source along a rank of most to least abundant taxa for a given sample.
calculate_curve(taxa_table, database)
taxa_table |
An OTU table loaded with |
database |
A database file loaded with |
An object in the form of a tibble with taxa of each given sample ordered by rank and the proportion of taxa up to that rank deriving from your target source.
data(cuperdec_taxatable_ex)
data(cuperdec_database_ex)
taxa_table <- load_taxa_table(cuperdec_taxatable_ex)
iso_database <- load_database(cuperdec_database_ex, target = "oral")
calculate_curve(taxa_table, iso_database)