powered by
These functions perform a variety of simple operations.
polyn(nucleotides, n)
integer(1)
polyn
length(nucleotide)
polyn returns a character vector with each element having n characters. Each element contains a single nucleotide. Thus polyn("A", 5) returns AAAAA.
n
polyn("A", 5)
AAAAA
polyn(c("A", "N"), 35)
Run the code above in your browser using DataLab