plotLocalMax         package:MassSpecWavelet         R Documentation

_P_l_o_t _t_h_e _l_o_c_a_l _m_a_x_i_m_u_m _m_a_t_r_i_x

_D_e_s_c_r_i_p_t_i_o_n:

     Plot the local maximum matrix of 2-D CWT coefficients returned by
     'getLocalMaximumCWT'

_U_s_a_g_e:

     plotLocalMax(localMax, wCoefs = NULL, range = c(1, nrow(localMax)), colorMap = "RYB", main = NULL, cex = 3, pch = ".", ...)

_A_r_g_u_m_e_n_t_s:

localMax: local maximum matrix of 2-D CWT coefficients returned by
          'getLocalMaximumCWT'

  wCoefs: 2-D CWT coefficients 

   range: plot range of m/z index 

colorMap: the colormap used in plotting the points 

    main: parameter of 'plot' 

     cex: parameter of 'plot' 

     pch: parameter of 'plot' 

     ...: other parameters of 'points' 

_A_u_t_h_o_r(_s):

     Pan Du

_S_e_e _A_l_s_o:

     'getLocalMaximumCWT'

_E_x_a_m_p_l_e_s:

             data(exampleMS)
             scales <- seq(1, 64, 3)
             wCoefs <- cwt(exampleMS[5000:11000], scales=scales, wavelet='mexh')
             
             localMax <- getLocalMaximumCWT(wCoefs)
             plotLocalMax(localMax)

