add_derep_names: Add sequence names to a derep object

Description Usage Arguments Value

View source: R/tzara.R

Description

Add sequence names to a derep object

Usage

1
2
3
4
5
6
7
add_derep_names(derep, ...)

## S3 method for class 'derep'
add_derep_names(derep, filename, ...)

## S3 method for class 'list'
add_derep_names(derep, filenames = names(derep), ...)

Arguments

derep

(object of class derep or a list of such objects) object(s) to add names to.

...

passed to methods

filename

(character) name of fasta/q file that the derep object was derived from.

filenames

(character) name(s) of file(s) that a list of derep was derived from.

Value

(object of class derep, or a list of such objects) a shallow copy of derep, with an additional member "$names", giving the identifiers for the sequences from the original fasta/q file.


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