atom2xyz {bio3d} | R Documentation |
Basic function to return the Calpha xyz indices given their corresponding Calpha only atom indices.
atom2xyz(num)
num |
a numeric vector of atom indices. |
A numeric vector of xyz indices.
Barry Grant
Grant, B.J. et al. (2006) Bioinformatics 22, 2695–2696.
xyz.ind <- atom2xyz(c(1,10,15)) ## For xyz2atom: unique( ceiling(xyz.ind/3) )