atom2xyz(num) xyz2atom(xyz.ind)
Basic functions to convert between xyz and their corresponding atom indices.
Grant, B.J. et al. (2006) Bioinformatics 22, 2695--2696.
xyz.ind <- atom2xyz(c(1,10,15)) xyz2atom( xyz.ind ) [1] 1 10 15
atom.select
read.pdb