seq_to_codons {cubar} | R Documentation |
Convert CDS to codons
Description
seq_to_codons
converts a coding sequence to a vector of codons
Usage
seq_to_codons(seq)
Arguments
seq |
DNAString, or an object that can be coerced to a DNAString |
Value
a character vector of codons
Examples
# convert a CDS sequence to a sequence of codons
seq_to_codons('ATGTGGTAG')
seq_to_codons(yeast_cds[[1]])
[Package cubar version 0.6.0 Index]