View source: R/convertFromBIOM.R
importBIOM | R Documentation |
Loading a BIOM file
importBIOM(file, ...)
file |
BIOM file location |
... |
additional arguments to be passed to |
importBIOM
loads a BIOM file and creates a
TreeSummarizedExperiment
object from the BIOM object contained in the loaded file.
importBIOM
returns an object of class
TreeSummarizedExperiment
importMetaPhlAn
convertFromPhyloseq
convertFromBIOM
convertFromDADA2
importQIIME2
importMothur
importHUMAnN
# Load biom file
library(biomformat)
biom_file <- system.file(
"extdata", "rich_dense_otu_table.biom", package = "biomformat")
# Make TreeSE from biom file
tse <- importBIOM(biom_file)
# Get taxonomyRanks from prefixes and remove prefixes
tse <- importBIOM(
biom_file, rank.from.prefix = TRUE, prefix.rm = TRUE)
# Load another biom file
biom_file <- system.file(
"extdata", "Aggregated_humanization2.biom", package = "mia")
# Clean artifacts from taxonomic data
tse <- importBIOM(biom_file, artifact.rm = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.