Description Usage Arguments Value Source
View source: R/grantham_distance.R
This function calculates the Grantham's distance for pairs of amino acids. It uses the pre-calculated distances for each amino acid pair as published in Table 2 of Science (1974). 185(4154): 862–4 by R. Grantham.
1 |
x |
A character vector of amino acid three-letter codes. |
y |
A character vector of amino acid three-letter codes. |
A tibble of Grantham's distances for each amino acid pair.
doi: 10.1126/science.185.4154.862.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.