plotLocalMax | 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
|
wCoefs |
2-D CWT coefficients |
range |
plot range of m/z index |
colorMap |
the colormap used in plotting the points |
main |
parameter of |
cex |
parameter of |
pch |
parameter of |
... |
other parameters of |
No value is returned; this function is called for its side effects (plot).
Pan Du
getLocalMaximumCWT()
data(exampleMS)
scales <- seq(1, 64, 3)
wCoefs <- cwt(exampleMS[5000:11000], scales = scales, wavelet = "mexh")
localMax <- getLocalMaximumCWT(wCoefs)
plotLocalMax(localMax)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.