powered by
Generates a random synonymous coding sequence, according to a certain codon usage bias
synsequence(sequence, numcode = 1, ucoweight = NULL)
a sequence translating to the same protein sequence as the original one (cf. translate), but containing synonymous codons
translate
A nucleic acids sequence
The genetic code number as in translate
A list of weights containing the desired codon usage bias as generated by ucoweight
ucoweight
L. Palmeira
citation("seqinr")
data(ec999) sequence=ec999[1][[1]] synsequence(sequence,1,ucoweight(sequence))
Run the code above in your browser using DataLab