plot_fullspectra: This function allows to draw spectra according to a group and...

View source: R/plot_fullspectra.r

plot_fullspectraR Documentation

This function allows to draw spectra according to a group and potential smoothing

Description

This function allows to draw spectra according to a group and potential smoothing

Usage

plot_fullspectra(
  x,
  y,
  group = NULL,
  spar = 0,
  integrationTable = NULL,
  xlim = NULL,
  ylim = NULL,
  threshold = 0,
  main = "Spectra",
  xlab = "Mass",
  ylab = "Intensity",
  legend = TRUE,
  ...
)

Arguments

x

abscissa of the spectra

y

ordinate of the spectra

group

group for each spectra

spar

if 0, no smoothing. Ifelse the smoothing parameter is between 0 and 1 and indicates a smoothing.

integrationTable

NULL

xlim

vector of two numbers representing the limits of x axis.

ylim

vector of two numbers representing the limits of y axis.

threshold

NULL

main

title of the graph

xlab

character indicating the label on the x axis

ylab

character indicating the label on the y axis

legend

if TRUE the legend is displayed

...

Further parameters in plots such as xlim,xlab,ylim,ylab


ChemoSens/PTRMSR documentation built on June 15, 2025, 10:40 a.m.