getPeaks2              package:PROcess              R Documentation

_Q_u_a_n_t_i_f_y _p_e_a_k_s _f_o_r _i_n_d_i_v_i_d_u_a_l _s_p_e_c_t_r_a.

_D_e_s_c_r_i_p_t_i_o_n:

     For a vector of given peak locations, quantify peaks for 
     individual spectra.

_U_s_a_g_e:

     getPeaks2(bseoffM, pVec, eps = 0.003)

_A_r_g_u_m_e_n_t_s:

 bseoffM: A matrix of intensities, with rows the  m/z values and
          columns samples. 

    pVec: A vector of given peak locations.

     eps: Relative precision of peak location.

_D_e_t_a_i_l_s:

     Each peak is expanded to an interval, eps * m/z to  the left and
     right of the peak.  Intensities of individual spectra are
     quantified by the maxima  in this interval.

_V_a_l_u_e:

     A matrix of intensities with rows the peaks 'pVec' and column the
     samples. The m/z values of 'pVec' is stored as the 'rownames' of
     the returned matrix.

