synsequence | R Documentation |
Generates a random synonymous coding sequence, according to a certain codon usage bias
synsequence(sequence, numcode = 1, ucoweight = NULL)
sequence |
A nucleic acids sequence |
numcode |
The genetic code number as in |
ucoweight |
A list of weights containing the desired codon usage
bias as generated by |
a sequence translating to the same protein sequence as the original
one (cf. translate
), but containing synonymous codons
L. Palmeira
citation("seqinr")
ucoweight
data(ec999)
sequence=ec999[1][[1]]
synsequence(sequence,1,ucoweight(sequence))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.