Utilites | R Documentation |
These functions perform a variety of simple operations.
polyn(nucleotides, n)
nucleotides |
A character vector with all elements having exactly 1 character, typically from the IUPAC alphabet. |
n |
An |
polyn
returns a character vector with each element having
n
characters. Each element contains a single nucleotide. Thus
polyn("A", 5)
returns AAAAA
.
polyn
returns a character vector of length length(nucleotide)
Martin Morgan <mtmorgan@fhcrc.org>
polyn(c("A", "N"), 35)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.