specZoom: Plotting a Spectrum with Peaks

Description Usage Arguments Examples

View source: R/specZoom.R

Description

Function for plotting an object returned by isPeak.

Usage

1
specZoom(pks, xlim = NULL, cols = c("cyan", "red", "black"), ...)

Arguments

pks

an object (a list) returned by isPeak.

xlim

a range of m/z values over which a zoomed-in view of the spectrum is desired.

cols

a vector of color specification for the smooth (signal), peaks and local noise.

...

further arguments that get passed on to plot.

Examples

1
2
example(isPeak)
specZoom(pkobj, xlim=c(5000, 10000))

PROcess documentation built on Nov. 8, 2020, 5:44 p.m.