plotRidgeList        package:MassSpecWavelet        R Documentation

_P_l_o_t _t_h_e _r_i_d_g_e _l_i_s_t

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

     Plot the ridge list returned by 'getRidge'

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

     plotRidgeList(ridgeList, wCoefs = NULL, range = NULL, colorMap = "RYB", main = NULL, pch = ".", cex = 3, ...)

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

ridgeList: returned by 'getRidge' 

  wCoefs: 2-D CWT coefficients 

   range: plot range of m/z index 

colorMap: colorMap to plot the points of local maximum 

    main: parameter of 'plot'

     pch: parameter of 'plot'

     cex: parameter of 'plot' 

     ...: other parameters of 'points'  

_A_u_t_h_o_r(_s):

     Pan Du

_S_e_e _A_l_s_o:

     'getRidge'

_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)
             ridgeList <- getRidge(localMax)
             plotRidgeList(ridgeList)

