createCodonMatrix {ModCon} | R Documentation |
This function creates a codon matrix with 2 rows and as many columns as codons within the sequence.
createCodonMatrix(cds)
cds |
Character value of nucleotide sequence whose HZEI integral will be calculated. It should be at least 3 nt long and only contain bases 'A', 'G', 'C', 'T'. Length must be a multiple of 3. |
Character matrix holding the encoded codon sequence in both rows.
## Example to create codon matrix createCodonMatrix("ATGAATGATCAAAAGCTAGCC")