convert_anacapa_to_phyloseq: Takes an site-abundance table from Anacapa, along with a...

Description Usage Arguments Value Author(s) Examples

Description

Takes an site-abundance table from Anacapa, along with a qiime-style mapping file, and returns a phyloseq object

Usage

1
convert_anacapa_to_phyloseq(taxon_table, metadata_file)

Arguments

taxon_table

Taxon table in the anacapa format

metadata_file

Metadata file with rows as sites, columns as variables

Value

phyloseq class object

Author(s)

Gaurav Kandlikar

Examples

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)

gauravsk/ranacapa documentation built on June 7, 2019, 4:03 a.m.