groupnames-methods           package:xcms           R Documentation

_G_e_n_e_r_a_t_e _u_n_q_u_e _n_a_m_e_s _f_o_r _p_e_a_k _g_r_o_u_p_s

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

     Allow linking of peak group data between classes using unique
     group names that remain the same as long as no re-grouping occurs.

_A_r_g_u_m_e_n_t_s:

  object: the 'xcmsSet' or 'xcmsEIC' object

   mzdec: number of decimal places to use for m/z

   rtdec: number of decimal places to use for retention time

template: a character vector with existing group names whose format
          should be emulated 

_V_a_l_u_e:

     A character vector with unique names for each peak group in the
     object. The format is 'M[m/z]T[time in seconds]'.

_M_e_t_h_o_d_s:

     _o_b_j_e_c_t = "_x_c_m_s_S_e_t" '(object, mzdec = 0, rtdec = 0, template =
          NULL)'

     _o_b_j_e_c_t = "_x_c_m_s_E_I_C" '(object)'

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

     'xcmsSet-class', 'xcmsEIC-class'

