ri2rt              package:TargetSearch              R Documentation

_R_e_t_e_n_t_i_o_n _T_i_m_e _I_n_d_e_x _t_o _R_e_t_e_n_t_i_o_n _T_i_m_e _c_o_n_v_e_r_t_i_o_n

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

     Convert retention time indices to retention times indices based on
     observed FAME RI and their standard values.

_U_s_a_g_e:

     ri2rt(riTime, rt.observed, ri.standard)

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

  riTime: And RI vector or matrix to convert to Retention Time.

rt.observed: The observed FAME RT's. It could be a vector or a matrix.

ri.standard: The standard RI for each FAME 

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

     This function is the inverse of 'rt2ri'.

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

     The converted RT

_A_u_t_h_o_r(_s):

     Alvaro Cuadros-Inostroza, Matthew Hannah, Henning Redestig

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

     'RIcorrect', 'FAMEoutliers'

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

       # RI standards
       standard <- c(100, 200, 300, 400, 500)
       # observed standard retention times
       observed <- c(10.4, 19.3, 32.4, 40.2, 50.3)
       # a random set of retention times
       RI       <- runif(100,90,600) 
       # the corrected RIs
       RT       <- ri2rt(RI, observed, standard)

