Darwin Help

Back to Index

CreateDayMatrix

Function CreateDayMatrix


Calling Sequence  CreateDayMatrix(LogMutMatrix,PamNumber)
Parameters
NameTypeDescription

LogMutMatrix array(array(numeric))logarithm of a 1-PAM mutation matrix
PamNumber numericdesired PAM distance of the result

posint..posintrange of integer PAM distances
Return Type  {DayMatrix,list(DayMatrix)}
Synopsis Computes a similarity scoring matrix (usually called Dayhoff matrix) from a the logarithm of a 1-PAM mutation matrix (LogMutMatrix) and a PAM distance PamNumber. CreateDayMatrices() assigns the global variable logPAM1 a logarithm of a 1-PAM mutation matrix. If the second argument is an integer range, a list of PAM matrices with all the PAM values in the range will be computed.
Examples
> CreateDayMatrix( NewLogPAM1 , 250);
DayMatrix(Peptide, pam=250, Sim: max=14.152, min=-5.161, del=-19.814-1.396*(k-1))
See also CreateDayMatrices,   CreateOrigDayMatrix,   DayMatrix,   SearchDayMatrix