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))

