initializeCHNOPS           package:Rdisop           R Documentation

_I_n_i_t_i_a_l_i_z_e (_a _s_u_b_s_e_t _o_f) _e_l_e_m_e_n_t_s _o_f _t_h_e _p_e_r_i_o_d_i_c _s_y_s_t_e_m _o_f
_e_l_e_m_e_n_t_s (_P_S_E)

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

     Initialize the information about name, mass and isotopes. To
     reduce the number of decomposition hypotheses, subsets of elements
     can be created.

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

     initializeCHNOPS()       
     initializeCHNOPSMgKCaFe()
     initializePSE()       
     initializeElements(names)     

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

   names: vector of element names within PSE

_D_e_t_a_i_l_s:

     These functions return full, pre-defined or user-defined (sub-)
     lists of elements.

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

     A list with the elements 

 formula: repeated sum formula 

    mass: exact mass of molecule 

isotopes: a list of isotopes  

     The initializeCharges() is special, since it allows to parse
     charges such as 'getMolecule("H3O+",
     elements=c(initializeCHNOPS(),initializeCharges()))'

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

     Steffen Neumann <sneumann@IPB-Halle.DE>

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

     For a description of the underlying IMS see: WABI Paper

     Isotope patterns obtained through wikipedia.org

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

     'getMolecule'

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

     # For Ethanol:
     elements <- initializeCHNOPS()

