distGrantham.Rd
distGrantham
calculates normalized Grantham distance between two
amino acid sequences. For details on calculations see
Grantham R. 1974..
distGrantham(aa1, aa2)
Character vector giving amino acid sequence using one letter codings. Each element must correspond to single amino acid.
Character vector giving amino acid sequence using one letter codings. Each element must correspond to single amino acid.
Numeric vector of normalized Grantham distance between aa1
and
aa2
.
Distance between amino acid sequences is normalized by length of compared sequences.
Lengths of aa1
and aa2
must be equal.