powered by
seq_to_codons converts a coding sequence to a vector of codons
seq_to_codons
seq_to_codons(seq)
a character vector of codons
DNAString, or an object that can be coerced to a DNAString
# convert a CDS sequence to a sequence of codons seq_to_codons('ATGTGGTAG') seq_to_codons(yeast_cds[[1]])
Run the code above in your browser using DataLab