Requires the relevant Bioconductor R package to be installed:
convert_to_phyloseq-convert_to_animalcules-convert_to_SE-convert_to_TSE-
Usage
convert_to_SE(biom, ...)
convert_to_TSE(biom, ...)
convert_to_phyloseq(biom, ...)
convert_to_animalcules(biom, ...)Arguments
- biom
An rbiom object, such as from
as_rbiom(). Any value accepted byas_rbiom()can also be given here.- ...
Not Used.
Value
A phyloseq, animalcules (MultiAssayExperiment), SummarizedExperiment, or TreeSummarizedExperiment object.
Details
animalcules and SummarizedExperiment objects includes counts, metadata, and taxonomy.
phyloseq and TreeSummarizedExperiment additionally includes the tree and sequences.
Examples
if (FALSE) { # \dontrun{
library(rbiom)
print(hmp50)
# Requires 'phyloseq', a Bioconductor R package
if (nzchar(system.file(package = "phyloseq"))) {
physeq <- convert_to_phyloseq(hmp50)
print(physeq)
}
# Requires 'SummarizedExperiment', a Bioconductor R package
if (nzchar(system.file(package = "SummarizedExperiment"))) {
se <- convert_to_SE(hmp50)
print(se)
}
# Requires 'TreeSummarizedExperiment', a Bioconductor R package
if (nzchar(system.file(package = "TreeSummarizedExperiment"))) {
tse <- convert_to_TSE(hmp50)
print(tse)
}
} # }
