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

