denoise_list {debar}R Documentation

List-to-list denoising of COI barcode sequences.

Description

This function provides a shortcut for running the denoise function on a list of sequences. The to_return option can be used to control whether this function returns a list of sequence strings (default), or a list of DNA seq objects.

Usage

denoise_list(x, to_return = "seq", cores = 1, ...)

Arguments

x

A list like object of barcode sequences.

to_return

Indicate whether a the function should return a list of sequence ('seq') or the full DNAseq object ('DNAseq). Default is ('seq')

cores

The number of cores across which to thread the denosiing. Default is 1.

...

additional arguments to pass to the denoise algorithm.

See Also

denoise

Examples

#denoise a list of sequences
out = denoise_list(ex_nt_list, dir_check = FALSE, double_pass = FALSE)
#denoise and add placehers to outputs 

#return a list of DNAseq objects 
ex_DNAseq_out = denoise_list(ex_nt_list, to_return = 'DNAseq',
 dir_check = FALSE, double_pass = FALSE)


[Package debar version 0.1.1 Index]