combine_derep: Combine DADA2 'derep' objects into master map

Description Usage Arguments Details Value

View source: R/tzara.R

Description

Combine DADA2 derep objects into master map

Usage

1
combine_derep(dereps, .data = NULL, ...)

Arguments

dereps

a (possibly named) list of (derep objects), or a tibble with a column "derep" containing such a list.

.data

a tibble with the same number of rows as the length of dereps.

...

additional columns to add to the output.

Details

To be useful for further analysis, each sequence should be uniquely identified. This can be done in several ways:

Value

list with two members:

$map (tibble)

with columns: "file" (character), "idx" (integer), and "map" (integer), giving the mapping from the "idx"th sequence in "file" to a sequence in "fasta"

$fasta ( DNAStringSet-class)

all unique sequences; the name of each sequence is an integer which matches a value in map$newmap


brendanf/tzara documentation built on March 11, 2021, 5:40 a.m.