atom2xyz                package:bio3d                R Documentation

_C_o_n_v_e_r_t _B_e_t_w_e_e_n _A_t_o_m _a_n_d _x_y_z _I_n_d_i_c_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Basic function to return the Calpha xyz indices given their
     corresponding Calpha only atom indices.

_U_s_a_g_e:

     atom2xyz(num)

_A_r_g_u_m_e_n_t_s:

     num: a numeric vector of atom indices. 

_V_a_l_u_e:

     A numeric vector of xyz indices.

_A_u_t_h_o_r(_s):

     Barry Grant

_R_e_f_e_r_e_n_c_e_s:

     Grant, B.J. et al. (2006) _Bioinformatics_ *22*, 2695-2696.

_S_e_e _A_l_s_o:

     'atom.select', 'read.pdb'

_E_x_a_m_p_l_e_s:

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

     ## For xyz2atom:
     unique( ceiling(xyz.ind/3) )

