findIsotopes-methods         package:CAMERA         R Documentation

_D_e_c_o_n_v_o_l_u_t_e/_A_n_n_o_t_a_t_e _L_C/_E_S_I-_M_S _d_a_t_a

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

     Annotate isotope peaks for a xsAnnotate object. Returns a
     xsAnnotate object with annotated isotopes.

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

  object: the 'xsAnnotate' object

maxcharge: max. number of the isotope charge

  maxiso: max. number of the isotope peaks

     ppm: ppm error for the search

   mzabs: allowed variance for the search

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

     Isotope peaks are annotated for a xsAnnotate object according to
     given rules (maxcharge, maxiso). The algorithm benefits from a
     earlier grouping of the data, with groupFWHM and groupCorr.
     Generates a list of all possible isotopes, which is stored in
     object@isotopes.

_M_e_t_h_o_d_s:


     _o_b_j_e_c_t = "_x_s_A_n_n_o_t_a_t_e" 
          'findIsotopes(object,maxcharge=3,maxiso=3,ppm=5,mzabs=0.01)'


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

     Carsten Kuhl <ckuhl@ipb-halle.de>

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

      library(CAMERA)
      file <- system.file('mzdata/MM14.mzdata', package = "CAMERA")
      xs   <- xcmsSet(file, method="centWave", ppm=30, peakwidth=c(5,10))
      an   <- xsAnnotate(xs)
      an   <- groupFWHM(an)
      an   <- findIsotopes(an)

