convert_to | R Documentation |
Requires the relevant Bioconductor R package to be installed:
convert_to_phyloseq
- convert_to_SE
- convert_to_TSE
- convert_to_SE(biom, ...)
convert_to_TSE(biom, ...)
convert_to_phyloseq(biom, ...)
biom |
An rbiom object, such as from |
... |
Not Used. |
A SummarizedExperiment object includes counts, metadata, and taxonomy.
phyloseq and TreeSummarizedExperiment additionally includes the tree and sequences.
A phyloseq, SummarizedExperiment, or TreeSummarizedExperiment object.
## Not run:
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)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.