| distGrantham | R Documentation |
distGrantham calculates normalized Grantham distance between two
amino acid sequences. For details on calculations see
Grantham R. 1974..
distGrantham(aa1, aa2)
aa1 |
Character vector giving amino acid sequence using one letter codings. Each element must correspond to single amino acid. |
aa2 |
Character vector giving amino acid sequence using one letter codings. Each element must correspond to single amino acid. |
Distance between amino acid sequences is normalized by length of compared sequences.
Lengths of aa1 and aa2 must be equal.
Numeric vector of normalized Grantham distance between aa1 and
aa2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.