convert_to_SE | R Documentation |
Requires the relevant Bioconductor R package to be installed:
convert_to_SE
- SummarizedExperiment
convert_to_TSE
- TreeSummarizedExperiment
convert_to_SE(biom)
convert_to_TSE(biom)
biom |
An rbiom object, such as from |
A SummarizedExperiment object includes counts, metadata, and taxonomy.
TreeSummarizedExperiment additionally includes the tree and sequences.
A SummarizedExperiment or TreeSummarizedExperiment object.
library(rbiom)
print(hmp50)
# Requires 'SummarizedExperiment' Bioconductor R package
if (nzchar(system.file(package = "SummarizedExperiment"))) {
se <- convert_to_SE(hmp50)
print(se)
}
# Requires 'TreeSummarizedExperiment' Bioconductor R package
if (nzchar(system.file(package = "TreeSummarizedExperiment"))) {
tse <- convert_to_TSE(hmp50)
print(tse)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.