plotRidgeList: Plot the ridge list

Description Usage Arguments Author(s) See Also Examples

Description

Plot the ridge list returned by getRidge

Usage

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

Arguments

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

Author(s)

Pan Du

See Also

getRidge

Examples

1
2
3
4
5
6
7
	data(exampleMS)
	scales <- seq(1, 64, 3)
	wCoefs <- cwt(exampleMS[5000:11000], scales=scales, wavelet='mexh')
	
	localMax <- getLocalMaximumCWT(wCoefs)
	ridgeList <- getRidge(localMax)
	plotRidgeList(ridgeList)

Example output

Loading required package: waveslim

waveslim: Wavelet Method for 1/2/3D Signals (version = 1.7.5)

MassSpecWavelet documentation built on Nov. 8, 2020, 5:36 p.m.