createCodonMatrix: Create codon matrix from coding nucleotide sequence

Description Usage Arguments Value Examples

View source: R/createCodonMatrix.R

Description

This function creates a codon matrix with 2 rows and as many columns as codons within the sequence.

Usage

1

Arguments

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.

Value

Character matrix holding the encoded codon sequence in both rows.

Examples

1
2
## Example to create codon matrix
createCodonMatrix("ATGAATGATCAAAAGCTAGCC")

caggtaagtat/ModCon documentation built on March 12, 2021, 4:12 a.m.