getMolecule              package:Rdisop              R Documentation

_C_a_l_c_u_l_a_t_e _m_a_s_s _a_n_d _i_s_o_t_o_p_e _i_n_f_o_r_m_a_t_i_o_n _f_o_r _a _m_o_l_e_c_u_l_e _g_i_v_e_n _a_s _s_u_m _f_o_r_m_u_l_a

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

     Parse the sum formula and calculate the theoretical exact mass and
     the isotope distribution.

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

     getMolecule(formula, elements = NULL, z = 0)
     getMass(molecule)
     getFormula(molecule)
     getIsotope(molecule, index)
     getScore(molecule)
     getValid(molecule)

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

 formula: Sum formula

elements: list of allowed chemical elements, defaults to full periodic
          system of elements

       z: charge z of molecule for exact mass calculation

molecule: an initialized molecule as returned by getMolecule() or the
          decomposeMass() and decomposeIsotope() functions

   index: return the n-th isotope mass/abundance pair of the molecule

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

     getMolecule() Parse the sum formula and calculate the theoretical
     exact mass and the isotope distribution. For a given element,
     return the different mass values.

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

     getMolecule: A list with the elements 

 formula: repeated sum formula

    mass: exact mass of molecule

   score: probability, for given molecules a dummy value which is
          always 1.0

   valid: result of neutrogen rule check

isotopes: a list of isotopes


     getMass, getFormula and getScore: return the mass of the molecule
     as string or real value

_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

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

     # For Ethanol:
     getMolecule("C2H6O")

