| plotLocalMax {MassSpecWavelet} | R Documentation |
Plot the local maximum matrix of 2-D CWT coefficients returned by getLocalMaximumCWT
plotLocalMax(localMax, wCoefs = NULL, range = c(1, nrow(localMax)), colorMap = "RYB", main = NULL, cex = 3, pch = ".", ...)
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 |
Pan Du
data(exampleMS)
scales <- seq(1, 64, 3)
wCoefs <- cwt(exampleMS[5000:11000], scales=scales, wavelet='mexh')
localMax <- getLocalMaximumCWT(wCoefs)
plotLocalMax(localMax)