| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Bioinformatics Toolbox |
| Contents | Index |
| Learn more about Bioinformatics Toolbox |
ntdensity(SeqNT)
Density = ntdensity(SeqNT)
... = ntdensity(..., 'Window', WindowValue,
...)
[Density, HighCG]
= ntdensity(..., 'CGThreshold', CGThresholdValue,
...)
| SeqNT | One of the following:
|
| WindowValue | Value that specifies the window length for the density calculation. Default is length(SeqNT)/20. |
| CGThresholdValue | Controls the return of indices for regions where the CG content of SeqNT is greater than CGThresholdValue. Default is 5. |
ntdensity(SeqNT) plots the density of nucleotides A, C, G, and T in sequence SeqNT.
Density = ntdensity(SeqNT) returns a MATLAB structure with the density of nucleotides A, C, G, and T.
... = ntdensity(SeqNT, ...'PropertyName', PropertyValue, ...) calls ntdensity with optional properties that use property name/property value pairs. You can specify one or more properties in any order. Each PropertyName must be enclosed in single quotation marks and is case insensitive. These property name/property value pairs are as follows:
... = ntdensity(..., 'Window', WindowValue,
...) uses a window of length WindowValue for
the density calculation. Default WindowValue is length(SeqNT)/20.
[Density, HighCG] = ntdensity(..., 'CGThreshold', CGThresholdValue, ...) returns indices for regions where the CG content of SeqNT is greater than CGThresholdValue. Default CGThresholdValue is 5.
Create a random character string to represent a nucleotide sequence.
s = randseq(1000, 'alphabet', 'dna');
Plot the density of nucleotides along the sequence.
ntdensity(s)

Bioinformatics Toolbox functions: basecount, codoncount, cpgisland, dimercount
MATLAB function: filter
![]() | nt2int | nuc44 | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |