Darwin Help

Back to Index

SearchDayMatrix

Function SearchDayMatrix - search an array of DayMatrix for a given PAM

Calling Sequence  SearchDayMatrix(PAM,daymat)
Parameters
NameTypeDescription

PAM numeric PAM distance for which matrix is sought
daymat array(DayMatrix)an array of Dayhoff matrices
Return Type  DayMatrix
Synopsis This function searches the list of DayMatrix for the Dayhoff matrix calculated with PamNumber closest to PAM. This function assumes that daymat is in ascending order.
Examples
> CreateDayMatrices();

> SearchDayMatrix(250, DMS);
DayMatrix(Peptide, pam=250, Sim: max=14.152, min=-5.161, del=-19.814-1.396*(k-1))
See also CreateDayMatrices,   CreateDayMatrix,   CreateOrigDayMatrix,   DayMatrix