as_phyloseq returns a phyloseq object given a tidyamplicons object.

as_phyloseq(ta, sample = sample, taxon = taxon)

Arguments

ta

Tidyamplicons object.

sample

The sample names required for a phyloseq object. Default is "sample" column in sample tibble of the tidyamplicons object.

taxon

The taxon names required for a phyloseq object. Default is "taxon" column in taxon tibble of the tidyamplicons object.

Details

This function will convert a tidyamplicons object into a phyloseq object for alternative processing using the phyloseq package. To convert from a phyloseq object to a tidyamplicons object use as_tidyamplicons.