fmatchall-methods           package:msbase           R Documentation

_I_n_d_e_x _o_f _m_a_t_c_h_i_n_g _a_n_d _n_o_t-_m_a_t_c_h_i_n_g _p_e_a_k_s

_D_e_s_c_r_i_p_t_i_o_n:

     Determines index of matching and non-matching peaks.

_A_r_g_u_m_e_n_t_s:

     obx: see below in *Methods* section

     oby: see below in *Methods* section

   error: measurement error in _e.g._ Da or as relative error in parts
          per million (ppm)

     ppm: if 'TRUE' then error in parts per million(ppm), in arbitrary
          units otherwise.

    uniq: if 'TRUE' compute non-crossing matching.

_V_a_l_u_e:

   plind: index of matching peaks in argument 'obx'

  nplind: index of non-matching paeks in argument 'obx'

  calind: index of matching peaks in argument 'oby'

 ncalind: index of non-matching peaks in argument 'oby'

_M_e_t_h_o_d_s:

     _o_b_x = "_n_u_m_e_r_i_c", _o_b_y = "_n_u_m_e_r_i_c" ~~describe this method here 

     _o_b_x = "_M_a_s_s_v_e_c_t_o_r", _o_b_y = "_M_a_s_s_v_e_c_t_o_r" ~~describe this method here 

_E_x_a_m_p_l_e_s:

     data(pldata)
     pl1 <- pldata[[1]]
     pl2 <- pldata[[4]]
     fmatchall(pl1,pl2,error=0.1,ppm=FALSE,uniq=TRUE)
     fmatchall(pl1,pl2,error=150,ppm=TRUE,uniq=TRUE)

