from_phyloseq()
returns a tidytacos object given a phyloseq
object.
Details
This function will convert a phyloseq object into a tidytacos object. To
convert from a tidytacos object to a phyloseq object use
as_phyloseq()
.
See also
Other import-methods:
create_tidytacos()
,
from_dada()
,
read_tidytacos()
Examples
phylo_obj <- readRDS(system.file("extdata","phyloseq.rds",package='tidytacos'))
taco <- from_phyloseq(phylo_obj)
#> Joining with `by = join_by(sample)`
#> Joining with `by = join_by(taxon)`