collect-methods             package:xcms             R Documentation

_C_o_l_l_e_c_t _M_S$^_n$ _p_e_a_k_s _i_n_t_o _x_c_m_s_F_r_a_g_m_e_n_t_s

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

     Collecting Peaks into 'xcmsFragments's from several MS-runs using
     'xcmsSet' and 'xcmsRaw'.

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

  object: (empty) 'xcmsFragments-class' object

      xs: A 'xcmsSet-class' object which contains picked ms1-peaks from
          several experiments

compMethod: ("floor", "round", "none"): compare-method which is used to
          find the parentpeak of a MSnpeak through comparing the
          MZ-values of the  MS1peaks with the MSnParentPeaks.

snthresh, mzgap, uniq: these are the paramters for the
          getspec-peakpicker included in xcmsRaw.

_D_e_t_a_i_l_s:

     After running collect(xFragments,xSet) The peaktable of the
     xcmsFragments includes the ms1Peaks from all experinemts stored in
     a xcmsSet-object. Further it contains the relevant msN-peaks from
     the xcmsRaw-objects, which were created temporarily with the paths
     in xcmsSet.

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

     A matrix with columns: 

  peakID: unique identifier of every peak 

MSnParentPeakID: PeakID of the parentpeak of a msLevel>1 - peak, it is
          0 if the peak is msLevel 1. 

 msLevel: The msLevel of the peak. 

      rt: retention time of the peak midpoint 

      mz: the mz-Value of the peak 

intensity: the intensity of the peak 

  sample: the number of the sample from the xcmsSet 

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


     _o_b_j_e_c_t = "_x_c_m_s_F_r_a_g_m_e_n_t_s" ' collect(object, ...) '


