maldi_draw_spectrum: Plot a mass spectrum

Description Usage Arguments Details

Description

Draws a mass spectrum using the default method and adds additional points and lines if required.

Usage

1
2
3
4
5
6
7
8
9
maldi_draw_spectrum(
  object = NULL,
  xaxt = "s",
  x = NULL,
  y = NULL,
  overlay_color = NA,
  SNR = NaN,
  col = "red"
)

Arguments

object

A MassSpectrum.

xaxt

A character which specifies the x axis type. See par().

x, y

The coordinates of additional points to draw.

overlay_color

Color for overlay at 50% transparency.

SNR

Level at which the signal-to-noise-ratio should be indicated.

col

Color for points and lines.

Details

If object is not a MassSpectrum, an empty plot is drawn.


benjbuch/summerrmass documentation built on Dec. 19, 2021, 8:43 a.m.