nrmatch-methods            package:msbase            R Documentation

_N_u_m_b_e_r _o_f _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 Number of 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.

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

     _o_b_x = "_M_a_s_s_v_e_c_t_o_r_l_i_s_t", _o_b_y = "_M_a_s_s_v_e_c_t_o_r" ~~describe this method
          here 

     _o_b_x = "_M_a_s_s_v_e_c_t_o_r_l_i_s_t", _o_b_y = "_N_U_L_L" ~~describe this method here 

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

       data(pldata)
       pl1 <- pldata[[1]]
       pl2 <- pldata[[4]]
       nrmatch(pl1[,1,drop=TRUE],pl2[,1,drop=TRUE],error=0.1,ppm=FALSE)
       nrmatch(pl1,pl2,error=0.1,ppm=FALSE)
       nrmatch(pldata,pl1,error=0.1,ppm=FALSE)
     nrmatch(pldata,NULL,error=0.1,ppm=FALSE)

