Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

atom2xyz

Convert Between Atom and xyz Indices


Description

Basic functions to convert between xyz and their corresponding atom indices.

Usage

atom2xyz(num)
xyz2atom(xyz.ind)

Arguments

num

a numeric vector of atom indices.

xyz.ind

a numeric vector of xyz indices.

Value

A numeric vector of either xyz or atom indices.

Author(s)

Barry Grant

References

Grant, B.J. et al. (2006) Bioinformatics 22, 2695–2696.

See Also

Examples

xyz.ind <- atom2xyz(c(1,10,15))
xyz2atom( xyz.ind )

bio3d

Biological Structure Analysis

v2.4-2
GPL (>= 2)
Authors
Barry Grant [aut, cre], Xin-Qiu Yao [aut], Lars Skjaerven [aut], Julien Ide [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.