powered by
Computes the distance to the closest amino acid of the indicated type
dist2closest(pdb, chain, res, aa = "M", backbone = FALSE)
is either a PDB id, or the path to a pdb file.
chain ID.
position of the residue of interest.
amino acid of interest.
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.
Numerical value indicating the distance in <U+00E5>ngstr<U+00F6>ms (<U+00C5>).
The identity of the closest Aa is given as an attribute.
res.dist(), pairwise.dist(), ball()
# NOT RUN { dist2closest(pdb = '1q8k', chain = 'A', res = 222, aa = 'S') # }
Run the code above in your browser using DataLab