powered by
Basic functions to convert between xyz and their corresponding atom indices.
atom2xyz(num) xyz2atom(xyz.ind)
A numeric vector of either xyz or atom indices.
a numeric vector of atom indices.
a numeric vector of xyz indices.
Barry Grant
Grant, B.J. et al. (2006) Bioinformatics 22, 2695--2696.
atom.select, read.pdb
atom.select
read.pdb
xyz.ind <- atom2xyz(c(1,10,15)) xyz2atom( xyz.ind )
Run the code above in your browser using DataLab