AAtoCodonOptimizedDNA | R Documentation |
Do the reverse translation from amino acids back to DNA nucleotides, using a reference DNA sequence as a source of codon usage frequency.
AAtoCodonOptimizedDNA(aa, dnaRef)
aa |
A character string of valid amino acids. |
dnaRef |
A character string of DNA, in frame, usually large, that represents the typical codon usage frequency. |
Since the mapping from AA to DNA is not unique, the user provides a chunk of DNA reference, that will be converted to AA and used to model the frequency distribution for randomly selecting DNA codons from each amino acid.
a character string, of length nchar(aa) * 3
, of DNA that is a valid reverse translation
of the given amino acid string.
Passes the frequency distribution of codons found in dnaRef
to sample
, to randomly
select codons with a usage frequency similar to the given reference DNA.
Bob Morrison
See Also DNAtoAA
, getCodonMap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.