Skip to contents

convert to phyloseq class object.

Usage

convert2phyloseq(object, ...)

as.phyloseq(object, ...)

# S3 method for class 'microbiome_dataset'
convert2phyloseq(object, ...)

Arguments

object

microbiomedataset

...

other params

Value

phyloseq class object.

Examples

data("global_patterns", package = "microbiomedataset")

x <- convert2phyloseq(global_patterns)
#> Found more than one class "phylo" in cache; using the first, from namespace 'phyloseq'
#> Also defined by ‘tidytree’
#> Found more than one class "phylo" in cache; using the first, from namespace 'phyloseq'
#> Also defined by ‘tidytree’
#> Found more than one class "phylo" in cache; using the first, from namespace 'phyloseq'
#> Also defined by ‘tidytree’
#> Found more than one class "phylo" in cache; using the first, from namespace 'phyloseq'
#> Also defined by ‘tidytree’
class(x)
#> [1] "phyloseq"
#> attr(,"package")
#> [1] "phyloseq"