seqconsensus
Calculate consensus sequence
Syntax
Description
returns a character vector with the consensus sequence, CSeq
= seqconsensus(Seqs
)CSeq
for a
multiply aligned set of sequences. The frequency of symbols (20
amino
acids, 4
nucleotides) in the set of sequences is determined with the
function seqprofile
. For ambiguous nucleotide or
amino acid symbols, the frequency or count is added to the standard set of symbols.
[
returns the conservation score of the consensus sequence. Scores are computed with the
scoring matrix CSeq
,Score
] = seqconsensus(Seqs
)"BLOSUM50"
for amino acids or "NUC44"
for nucleotides. Scores are the average euclidean distance between the scored symbol and the
M-dimensional consensus value. M is the size of
the alphabet. The consensus value is the profile weighted by the scoring matrix.
seqconsensus(
specifies additional options using one or more name-value arguments.Seqs
,Name=Value
)
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a