drawRange: Color ranges on a MassSpectrum

View source: R/rapt_vis.R

drawRangeR Documentation

Color ranges on a MassSpectrum

Description

drawRange draws a colored range on a plot

Usage

drawRange(ms, start, end, col = "red", miny = 0)

Arguments

ms

The MassSpectrum or data.frame (with columns named mass and intensity) on which the ranges are to be drawn

start

numeric. The start of the range(s).

end

numeric. The end of the range(s).

col

The color of the range(s).

Value

NULL

See Also

drawRNG


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.