<< btd.swalign BTD btd_DNAword >>

BTD >> BTD > btd_CpG

btd_CpG

CpG Islands (counts 'GC' dinucleotides in a DNA sequence)

Calling Function

y = btd_CpG(x)

Arguments

x

String of single-letter codes specifying a DNA sequence

y

Number of 'GC' dinucleotides (decimal integer)

Description

y = btd_CpG(x) count of all dinucleotides for which a Cytosine nucleotide occurs next to a Guanine nucleotide.

Examples

y = btd_CpG("ATCGATCGATCGTATATGCTAGCTA")
--> y = btd_CpG("ATCGATCGATCGTATATGCTAGCTA")
 y  = 
   2.

See Also


Report an issue
<< btd.swalign BTD btd_DNAword >>