dimercount
Count dimers in nucleotide sequence
Syntax
Dimers = dimercount(SeqNT)
[Dimers, Percent]
= dimercount(SeqNT)
... = dimercount(SeqNT,
'Ambiguous', AmbiguousValue)
... = dimercount(SeqNT,
'Chart', ChartValue)
Input Arguments
SeqNT | One of the following:
Examples: |
AmbiguousValue | Character vector or string specifying how to treat dimers containing ambiguous
nucleotide characters (
|
ChartValue | Character vector or string specifying a chart type. Choices are 'pie' or
'bar'. |
Output Arguments
Dimers | MATLAB structure containing the fields AA, AC, AG, AT, CA, CC, CG, CT, GA, GC, GG, GT, TA, TC, TG,
and TT, which contain the dimer counts in SeqNT. |
Percent | A 4-by-4 matrix with the relative proportions of the dimers
in SeqNT. The rows correspond to A, C, G,
and T in the first element of the dimer, and the
columns correspond to A, C, G,
and T in the second element of the dimer. |
Description
counts
the nucleotide dimers in Dimers = dimercount(SeqNT)SeqNT, a nucleotide
sequence, and returns the dimer counts in Dimers,
a MATLAB structure containing the fields AA, AC, AG, AT, CA, CC, CG, CT, GA, GC, GG, GT, TA, TC, TG,
and TT.
For sequences that have dimers with the character
U, these dimers are added to the corresponding dimers containing aT.If the sequence contains gaps indicated by a hyphen (
-), the gaps are ignored, and the two characters on either side of the gap are counted as a dimer.If the sequence contains unrecognized characters, then dimers containing these characters are ignored, and the following warning message appears:
Warning: Unknown symbols appear in the sequence. These will be ignored.
[ returns Dimers, Percent]
= dimercount(SeqNT)Percent,
a 4-by-4 matrix with the relative proportions of the dimers in SeqNT.
The rows correspond to A, C, G,
and T in the first element of the dimer, and the
columns correspond to A, C, G,
and T in the second element of the dimer.
... = dimercount( specifies
how to treat dimers containing ambiguous nucleotide characters. Choices
are:SeqNT,
'Ambiguous', AmbiguousValue)
'ignore'(default)'bundle''prorate''warn'
... = dimercount( creates
a chart showing the relative proportions of the dimers. SeqNT,
'Chart', ChartValue)ChartValue can
be 'pie' or 'bar'.
Examples
Version History
Introduced before R2006a
See Also
aacount | basecount | baselookup | codoncount | nmercount | ntdensity