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)

