<< btd_randprotseq BTD btd_seqcomplement >>

BTD >> BTD > btd_rho

btd_rho

Rho

Calling Function

y = btd_rho(x1, x2)

Arguments

x1

String of single-letter codes specifying a DNA sequence

x2

DNA word/substring

y

Proportion of DNA word (decimal number in [0,1])

Description

To measure the proportion of a particular DNA word against the product of frequencies of each base that corresponds to the given DNA word.

y = btd_rho(x1, x2) calcualte the proportion of a c against the product of frequencies of each base that correspondes to the DNA word,x2. in a given DNA sequence x1.

Examples

y = btd_rho("ATACCGATA","TA")
--> y = btd_rho("ATACCGATA", "TA")
 y  = 

   0.25

See Also


Report an issue
<< btd_randprotseq BTD btd_seqcomplement >>