getEIC-methods             package:xcms             R Documentation

_G_e_t _e_x_t_r_a_c_t_e_d _i_o_n _c_h_r_o_m_a_t_o_g_r_a_m_s _f_o_r _s_p_e_c_i_f_i_e_d _m/_z _r_a_n_g_e_s

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

     Generate multiple extracted ion chromatograms for m/z values of
     interest.  For 'xcmsSet' objects, reread original raw data and
     apply precomputed retention time correction, if applicable.

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

  object: the 'xcmsRaw' or 'xcmsSet' object

 mzrange: either a two column matrix with minimum or maximum m/z or a
          matrix of any dimensions containing columns 'mzmin' and
          'mzmax'

          for 'xcmsSet' objects, if left blank the group data will be
          used instead 

 rtrange: a two column matrix the same size as 'mzrange' with minimum
          and maximum retention times between which to return EIC data
          points

          for 'xcmsSet' objects, it may also be a single number
          specifying the time window around the peak to return EIC data
          points 

    step: step size to use for profile generation

groupidx: either character vector with names or integer vector with
          indicies of peak groups for which to get EICs 

sampleidx: either character vector with names or integer vector with
          indicies of samples for which to get EICs 

      rt: '"corrected"' for using corrected retention times, or '"raw"'
          for using raw retention times 

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

     For 'xcmsRaw' objects, if 'rtrange' is NULL, a matrix with a
     column for each 'mzmin', 'mzmax' pair. Rows correspond to
     individual scans. Otherwise, a list of two column (retention
     time/intensity) matricies, one for each 'mzmin', 'mzmax' pair.

     For 'xcmsSet' objects, an 'xcmsEIC' object.

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

     _o_b_j_e_c_t = "_x_c_m_s_R_a_w" 'getEIC(object, mzrange, rtrange = NULL, step =
          0.1)'

     _o_b_j_e_c_t = "_x_c_m_s_S_e_t" 'getEIC(object, mzrange, rtrange = 200,
          groupidx,  sampleidx = sampnames(object), rt = c("corrected",
          "raw"))'

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

     'xcmsRaw-class', 'xcmsSet-class', 'xcmsEIC-class'

