| Bioinformatics Toolbox | ![]() |
Plot the density of nucleotides along a sequence
ntdensity(SeqNT, 'PropertyName', PropertyValue) ntdenstiy(..., 'Window', WindowValue) [Density, HighCG] = ntdensity(..., 'CGThreshold', CGThresholdValue)
ntdensity(SeqNT) plots the density of nucleotides A, T, C, G in sequence SeqNT.
Denstity = ntdensity(SeqNT, 'PropertyName', PropertyValue) returns a MATLAB structure with the density of nucleotides A, C, G, and T.
ntdensity(..., 'Window', WindowValue) uses a window of length Window for the density calculation. The default value is length(SeqNT)/20.
[Density, HighCG] = ntdensity(..., 'CGThreshold', CGThresholdValue) returns indices for regions where the CG content of SeqNT is greater than CGThreshold. The default value for CGThreshold is 5.
s = randseq(1000, 'alphabet', 'dna'); ndensity(s)

Bioinformatics Toolbox functions basecount, codoncount, dimercount
MATLAB function filter
| nt2int | nuc44 | ![]() |
© 1994-2005 The MathWorks, Inc.