Description Usage Arguments Value Examples
Rarefy a phyloseq object to a custom sample depth and with given number of repliactes
1 2 | custom_rarefaction(physeq_object, sample_size = 10000, replicates = 10,
...)
|
physeq_object |
A phyloseq class object to be rarefied |
sample_size |
Desired depth of rarefaction |
replicates |
Desired number of times to resample from community |
... |
Other options for phyloseq function rarefy_even_depth |
phyloseq class object
1 2 3 4 5 6 | good_taxon_table <- data.frame(sum.taxonomy = c("a;b;c;d;f;u", "p;q;r;s;t;u"),
site_1 = c(0,1), site_2 = c(10, 20))
good_maps <- data.frame(site = c("site_1", "site_2"),
season = c("wet", "dry"), host = c("oak", "sage"))
physeq_object <- convert_anacapa_to_phyloseq(good_taxon_table, good_maps)
custom_rarefaction(physeq_object, sample_size = 10, replicates = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.