Skip to contents

Import data from HUMAnN results to MbioDataset. There is some loss of granularity in this process. It results in a simpler and more performant object which is compliant with the MicrobiomeDB infrastructure. See mia::importHUMAnN for documentation.

Usage

importHUMAnN(
  normalizationMethod = c("TSS", "none"),
  keepRawValues = c(TRUE, FALSE),
  verbose = c(TRUE, FALSE),
  ...
)

Arguments

normalizationMethod

Normalization method to use on they assay data. Options are "none" and "TSS". Applying TSS normalization to absolute taxonomic abundances produces relative taxonomic abundances. Default is "TSS".

keepRawValues

Keep the raw assay values as well as the normalized values.

verbose

Print messages

...

Arguments to pass to mia::importHUMAnN

Value

A MbioDataset

Examples

file_path <- system.file("extdata", "humann_output.tsv", package = "mia")
mbioDataset <- importHUMAnN(
     normalizationMethod = "none", 
     keepRawValues = TRUE, 
     verbose = TRUE, 
     file_path
)