Requires the relevant Bioconductor R package to be installed:
convert_to_phyloseq
-convert_to_SE
-convert_to_TSE
-
Arguments
- biom
An rbiom object, such as from
as_rbiom()
. Any value accepted byas_rbiom()
can also be given here.- ...
Not Used.
Details
A SummarizedExperiment object 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)
}
} # }