Description Usage Arguments Details Value Examples
Deduplicates sequence data
1 | deduplicate_seqs(dat)
|
dat |
The sequence data (SeqFastadna) |
The dataset is converted to a vector of character strings and the unique sequences are selected with the unique function. Looping over the unique sequences, a list is constructed in which each element corresponds to a unique sequence. Each element is also a list with the elements the_seq containing the actual sequences and dup_names, a vector of character strings listing the names of all sequences that matches the unique sequences stored in the_seq.
A list in which each unique sequence has an entry consisting of:
the_seq: The sequence as a character string.
dup_names: A character vector of the headers of all the sequences that had that exact sequence.
1 2 | deduplicate_seqs(ld_seqs)
deduplicate_seqs(c('aaa', 'aaa', 'aab'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.