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.

