Skip to contents

from_dada() returns a tidytacos object given a seqtab and taxa object from dada2.

Usage

from_dada(seqtab, taxa, taxa_are_columns = TRUE)

Arguments

seqtab

Sequence table, output of dada2::makeSequenceTable().

taxa

Taxa table, output of dada2::assignTaxonomy().

taxa_are_columns

A logical scalar. Are the taxa defined in columns?

Value

A tidytacos object.

Details

This function will convert two dada2 objects or files into a tidytacos object.

See also

Other import-methods: create_tidytacos(), from_phyloseq(), read_tidytacos()

Examples

seqtab <- readRDS(system.file("extdata", "dada2", "seqtab.rds", package = "tidytacos"))
taxa <- readRDS(system.file("extdata", "dada2", "taxa.rds", package = "tidytacos"))
taco <- from_dada(seqtab, taxa)