retcor-methods             package:xcms             R Documentation

_A_l_i_g_n _r_e_t_e_n_t_i_o_n _t_i_m_e_s _a_c_r_o_s_s _s_a_m_p_l_e_s

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

     Use ``well behaved'' peak groups to calculate retention time
     deviations for every time point of each sample. Use smoothed
     deviations to align retention times.

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

  object: the 'xcmsSet' object

 missing: number of missing samples to allow in retention time
          correction groups 

   extra: number of extra peaks to allow in retention time correction
          correction groups 

  method: either '"loess"' for non-linear alignment or '"linear"' for
          linear alignment 

    span: degree of smoothing for local polynomial regression fitting 

  family: if 'gaussian' fitting is by least-squares with no outlier
          removal, and if 'symmetric' a re-descending M estimator is
          used with Tukey's biweight function, allowing outlier removal 

plottype: if 'deviation' plot retention time deviation points and
          regression fit, and if 'mdevden' also plot peak overall peak
          density and retention time correction peak density 

     col: vector of colors for plotting each sample

      ty: vector of line and point types for plotting each sample

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

     An 'xcmsSet' object

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


     _o_b_j_e_c_t = "_x_c_m_s_S_e_t" 'retcor(object, missing = 1, extra = 1, method
          = c("loess", "linear"), span = .2, family = c("gaussian",
          "symmetric"), plottype = c("none", "deviation", "mdevden"),
          col = NULL, ty = NULL)'


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

     'xcmsSet-class', 'loess'

