plotLocalMax: Plot the local maximum matrix

Description Usage Arguments Author(s) See Also Examples

Description

Plot the local maximum matrix of 2-D CWT coefficients returned by getLocalMaximumCWT

Usage

1
plotLocalMax(localMax, wCoefs = NULL, range = c(1, nrow(localMax)), colorMap = "RYB", main = NULL, cex = 3, pch = ".", ...)

Arguments

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

Author(s)

Pan Du

See Also

getLocalMaximumCWT

Examples

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

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.