Skip to contents

as_phyloseq() returns a phyloseq object given a tidytacos object.

Usage

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

Arguments

ta

A tidytacos object.

sample

The sample names required for a phyloseq object. Default is "sample" column of the sample table of the tidytacos object.

taxon

The taxon names required for a phyloseq object. Default is the "taxon_id" column in the taxon table of the tidytacos object.

Details

This function will convert a tidytacos object into a phyloseq object for alternative processing using the phyloseq package. To convert from a phyloseq object to a tidytacos object use from_phyloseq().