fintersect-methods          package:msbase          R Documentation

_I_n_t_e_r_s_e_c_t_i_o_n _o_f _t_w_o _v_e_c_t_o_r_s, _M_a_s_s_v_e_c_t_o_r_s

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

     Returns the intersecting (entries) of the first argument

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

     Massvector, first column contains the average of the mass of
     matching peaks. Second column contains the number of peaks matched
     (? - suggestions welcome). If 'Massvectorlist' passed as first
     argument returns a 'Massvectorlist'.

_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" Returns intersecting entries of
          the first argument.

     _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" Returns intersecting
          entries of the first argument.

     _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" returns a
          Massvectorlist of intersecting entries of the first argument.

_S_e_e _A_l_s_o:

     'Massvector-class','finterS-methods','intersect'

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

     data(pldata)
     pl1 <- pldata[[1]]
     pl2 <- pldata[[4]]
     pl3 <- fintersect(pl1,pl2,error=0.1,ppm=FALSE,uniq=FALSE)
     fintersect(pl1,pl3,error=0.1,ppm=FALSE,uniq=FALSE)
     fintersect(pldata,pl1,error=0.1,ppm=FALSE,uniq=FALSE)

