specZoom               package:PROcess               R Documentation

_P_l_o_t_t_i_n_g _a _S_p_e_c_t_r_u_m _w_i_t_h _P_e_a_k_s

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

     Function for plotting an object returned by 'isPeak'.

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

     specZoom(pks, xlim = NULL, cols = c("cyan", "red", "black"), ...)

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

     pks: an object (a list) returned by 'isPeak'.

    xlim: a range of m/z values over which a zoomed-in view of the
          spectrum is desired.

    cols: a vector of color specification for the smooth (signal),
          peaks and local noise.

     ...: further arguments that get passed on to 'plot'.

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

     example(isPeak)
     specZoom(pkobj, xlim=c(5000, 10000))

