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)

