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)

