Description Usage Arguments Value Author(s) Examples
Takes an site-abundance table from Anacapa, along with a qiime-style mapping file, and returns a phyloseq object
1 | convert_anacapa_to_phyloseq(taxon_table, metadata_file)
|
taxon_table |
Taxon table in the anacapa format |
metadata_file |
Metadata file with rows as sites, columns as variables |
phyloseq class object
Gaurav Kandlikar
1 2 3 4 5 | 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"))
convert_anacapa_to_phyloseq(good_taxon_table, good_maps)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.