powered by
Converts biological sequence from number to letter notation.
n2l(seq, seq_type)
integer vector or matrix representing single sequence.
integer
the type of sequence. Can be rna, dna or prot.
rna
dna
prot
a character vector or matrix containing converted elements.
character
n2l is a wrapper around degenerate.
n2l
degenerate
Inverse function: l2n.
l2n
# NOT RUN { sample_seq <- c(1, 3, 3, 6, 1, 6, 12, 1, 10) n2l(sample_seq, "prot") # }
Run the code above in your browser using DataLab