as_phyloseq: Convert tidyamplicons object to phyloseq object

as_phyloseqR Documentation

Convert tidyamplicons object to phyloseq object

Description

as_phyloseq returns a phyloseq object given a tidyamplicons object.

Usage

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.


SWittouck/tidyamplicons documentation built on Aug. 15, 2023, 3:14 a.m.