grantham_distance_original: Grantham's distance (original)

View source: R/grantham_distance.R

grantham_distance_originalR Documentation

Grantham's distance (original)

Description

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.

Usage

grantham_distance_original(x, y)

Arguments

x

A character vector of amino acid three-letter codes.

y

A character vector of amino acid three-letter codes.

Value

A tibble of Grantham's distances for each amino acid pair.

Source

\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1126/science.185.4154.862")}

.


grantham documentation built on Sept. 11, 2024, 8:20 p.m.