correctinternal-methods       package:mscalib       R Documentation

_C_o_r_r_e_c_t_s _t_h_e _m_a_s_s_e_s _u_s_i_n_g _i_n_t_e_r_n_a_l _c_a_l_i_b_r_a_t_i_o_n

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

     Exectues the functions 'getintcalib-methods and \code{applycalib}'

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

  object: see above

   calib: see above

   error: size of window for search of matching calibration peaks

     ppm: If the error above is provided in relative (parts per
          million) or absolute arbitrary (e.g. Da) units

    uniq: if ambigous 'crossing' matches should be resolved, default
          'FALSE'

  weight: default - FALSE. Do not use weighted linear regression

interfix: If 'TRUE' fix the  slope if 'ppm=FALSE', fix intercept
          otherwise.

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


     _o_b_j_e_c_t = "_M_a_s_s_v_e_c_t_o_r", _c_a_l_i_b = "_M_a_s_s_v_e_c_t_o_r" returns
          'Massvector-class'

     _o_b_j_e_c_t = "_M_a_s_s_v_e_c_t_o_r_l_i_s_t", _c_a_l_i_b = "_M_a_s_s_v_e_c_t_o_r" returns
          'Massvectorlist-class'

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

     'getintcalib-methods' , 'Calibstat-class' ,'Calibintstat-class'
     ,'Caliblist-class' , 'Calibintlist-class'

_E_x_a_m_p_l_e_s:

     library(msbase)
     data(pldata)
     data(cal2)
     pldata <- correctinternal(pldata,cal2,error=400,ppm=TRUE)

