clustunique               package:xcms               R Documentation

_C_r_e_a_t_e _u_n_i_q_u_e _m_a_t_r_i_x _o_f _m/_z _a_n_d _r_e_t_e_n_t_i_o_n _t_i_m_e _w_i_n_d_o_w_s

_D_e_s_c_r_i_p_t_i_o_n:

     Find indicies of nonoverlapping m/z and retention time windows.
     THIS FUNCTION HAS BEEN DEPRICATED IN FAVOR OF rectUnique AND WILL
     BE REMOVED IN A FUTURE RELEASE.

_U_s_a_g_e:

     clustunique(clust, priority = seq(length = nrow(clust)), mzdiff = 0, max = 5)

_A_r_g_u_m_e_n_t_s:

   clust: matrix with 'mzmin', 'mzmax', 'retmin', and 'retmax' columns 

priority: integer vector with indicies ordered by priority

  mzdiff: minimal difference in m/z

     max: maximum number of sorted rows to check for uniqueness

_V_a_l_u_e:

     An integer vector with indicies of rows to keep

_A_u_t_h_o_r(_s):

     Colin A. Smith, csmith@scripps.edu

