| l2n | R Documentation |
Converts biological sequence from letter to number notation.
l2n(seq, seq_type)
seq |
|
seq_type |
the type of sequence. Can be |
a numeric vector or matrix containing converted elements.
l2n is a wrapper around degenerate.
Inverse function: n2l.
sample_seq <- c("a", "d", "d", "g", "a", "g", "n", "a", "l")
l2n(sample_seq, "prot")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.