Darwin Help

Back to Index

EstimateCodonPAM

Function EstimateCodonPAM - finds the best-scoring CodonPAM matrix for an alignment

Calling Sequence  EstimateCodonPAM(dps1,dps2,cms)
Parameters
NameTypeDescription

dps1 stringFirst of the aligned sequences.
dps2 stringSecond of the aligned sequences.
cms list(DayMatrix)array of codon scoring matrices
Return Type  [Score, CodonPAM, CodonPAMVariance]
Synopsis Given two codon-wise aligned DNA sequences, this functions finds the best-scoring CodonPAM matrix. Anaologous to EstimatePam, it returns a list containing the score, the CodonPAM estimate and the CodonPAM variance.
Examples
> EstimateCodonPAM(AAACCCGGGTTT,AAACCG___TTT,CMS);
[11.0814, 91, 1653.3145]
See also CodonAlign,   CodonDynProgStrings,   CreateCodonMatrices,   EstimatePam,   EstimateSynPAM