Description Usage Arguments Value Note See Also Examples
'Degenerates' amino acid or nucleic sequence by aggregating elements to bigger groups.
1 | degenerate(seq, element_groups)
|
seq |
|
element_groups |
encoding of elements: list of groups to which elements of sequence should be aggregated. Must have unique names. |
A character
vector or matrix (if input is a matrix)
containing aggregated elements.
Characters not present in the element_groups
will be converted to NA with a
warning.
l2n
to easily convert information stored in biological sequences from
letters to numbers.
calc_ed
to calculate distance between encodings.
1 2 3 4 5 6 |
Loading required package: slam
sample_seq
1 2 3 4
3 1 3 2
deg_seq
s w
4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.