<< btd_kmer BTD btd_purinecomp >>

BTD >> BTD > btd_ntdensity

btd_ntdensity

Nucleotide Density

Calling Function

y = btd_ntdensity(x)

Arguments

x

String of single-letter codes specifying a nucleotide sequence

y

column vector of densities of nucleotides (decimal numbers)

Description

computes, and returns the density of nucleotides along the given sequence x, and plots them as a bar graph.

Examples

y = btd_ntdensity("ACTGATCGAATATGCGAGCGA")
--> y = btd_ntdensity("ACTGATCGAATATGCGAGCGA")
 y  =
   0.3333333
   0.1904762
   0.2857143
   0.1904762

See Also


Report an issue
<< btd_kmer BTD btd_purinecomp >>