dist2closest: Search and Compute the Distance to the Closest Aa

Description Usage Arguments Details Value See Also Examples

View source: R/distances.R

Description

Computes the distance to the closest amino acid of the indicated type

Usage

1
dist2closest(pdb, chain, res, aa = "M", backbone = FALSE)

Arguments

pdb

is either a PDB id, or the path to a pdb file.

chain

chain ID.

res

position of the residue of interest.

aa

amino acid of interest.

backbone

logical, when TRUE it means that we include those atoms belonging to the main chain (CA, N, O and C) beside all the side chain atoms.

Details

The identity of the closest Aa is given as an attribute.

Value

Numerical value indicating the distance in ångströms (Å).

See Also

res.dist(), pairwise.dist(), ball()

Examples

1
## Not run: dist2closest(pdb = '1q8k', chain = 'A', res = 222, aa = 'S')

jcaledo/ptm_0.1.1 documentation built on April 4, 2020, 3:48 a.m.