atom2xyz.Rd
Basic functions to convert between xyz and their corresponding atom indices.
atom2xyz(num) xyz2atom(xyz.ind)
num | a numeric vector of atom indices. |
---|---|
xyz.ind | a numeric vector of xyz indices. |
A numeric vector of either xyz or atom indices.
Grant, B.J. et al. (2006) Bioinformatics 22, 2695--2696.
Barry Grant
atom.select
, read.pdb
#> [1] 1 10 15