Skip to contents

Import data from MOTHUR 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::importMothur for documentation.

Usage

importMothur(
  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::importMothur

Value

A MbioDataset

Examples

counts <- system.file("extdata", "mothur_example.shared", package = "mia")
taxa <- system.file("extdata", "mothur_example.cons.taxonomy", package = "mia")
meta <- system.file("extdata", "mothur_example.design", package = "mia")

mbioDataset <- importMothur(
     normalizationMethod = "none", 
     keepRawValues = TRUE, 
     verbose = TRUE, 
     counts, 
     taxa, 
     meta
)