TreeSummarizedExperiment
R/importTaxpasta.R
importTaxpasta.Rd
Import taxpasta-specific BIOM results to
TreeSummarizedExperiment
importTaxpasta(file, add.tree = TRUE, ...)
Character scalar
. Defines the file path to a
BIOM file.
Logical scalar
. Specifies whether to calculate
and add hierarchy tree using addHierarchyTree
.
(Default: TRUE
)
additional arguments
set.ranks
: Logical scalar
. Should column names of
taxonomy table be treated as taxonomy ranks? (Default: FALSE
)
A TreeSummarizedExperiment
object.
importTaxpasta
imports data that is returned from Taxonomic Profile
Aggregation and Standardization (taxpasta) pipeline. See more information on
taxpasta from
taxpasta documentation.
if (FALSE) { # \dontrun{
# File path to BIOM file
file_path <- system.file("extdata", "complete.biom", package = "mia")
# Import BIOM as TreeSE, and set ranks.
tse <- importTaxpasta(file_path, set.ranks = TRUE)
# Import BIOM as TreeSE without adding hierarchy tree
tse <- importTaxpasta(file_path, add.tree = FALSE)
} # }