Frequency of each codon type
y = btd_codonusage(x1, x2)
String of single-letter codes specifying a DNA/RNA sequence
integer: Reading Frame (1/2/3/4/5/6)
Frequency of each codon type. Matrix of size [n,2] of text, one row per
identified codon: y(:,1) are condons codes. y(:,2) are respective numbers:
they can be converted into decimal numbers with evstr(y(:,2))
To count the frequency of each codon type
y = btd_codonusage(x1, x2) count the frequency of each codon type in the given nucleotide sequence x1 in a given Reading Frame x2.
y = btd_codonusage("ATCGATCGATCGTATATGCTAGCTA",1) evstr(y(:,2))' | ![]() | ![]() |
--> y = btd_codonusage("ATCGATCGATCGTATATGCTAGCTA",1) y = !UCG 1 ! !UAU 1 ! !GCU 1 ! !GAU 1 ! !CUA 1 ! !CGA 1 ! !AUG 1 ! !AUC 1 ! --> evstr(y(:,2))' ans = 1. 1. 1. 1. 1. 1. 1. 1.