make_dada2_asv_table: Make a imitation of the dada2 ASV abundance matrix

View source: R/writers.R

make_dada2_asv_tableR Documentation

Make a imitation of the dada2 ASV abundance matrix

Description

Attempts to save the abundance matrix stored as a table in a taxmap object in the dada2 ASV abundance matrix format. If the taxmap object was created using parse_dada2, then it should be able to replicate the format exactly with the default settings.

Usage

make_dada2_asv_table(obj, asv_table = "asv_table", asv_id = "asv_id")

Arguments

obj

A taxmap object

asv_table

The name of the abundance matrix in the taxmap object to use.

asv_id

The name of the column in asv_table with unique ASV ids or sequences.

Value

A numeric matrix with rows as samples and columns as ASVs

See Also

Other writers: make_dada2_tax_table(), write_greengenes(), write_mothur_taxonomy(), write_rdp(), write_silva_fasta(), write_unite_general()


metacoder documentation built on April 4, 2023, 9:08 a.m.