plot.ibm: plot.ibm

View source: R/plot.ibm.R

plot.ibmR Documentation

plot.ibm

Description

plot.ibm

Usage

## S3 method for class 'ibm'
plot(
  x,
  subset = NULL,
  main = "Mass spectra",
  xlab = "Mass",
  ylab = "Intensity",
  groupOption = "no",
  xlim = NULL,
  ylim = NULL,
  type = "l",
  ...
)

Arguments

x

an ibm object (from intensityByMass functions)

subset

vector containing some names present in the "name" column

main

title of the graph

xlab

character indicating the label on the x axis

ylab

character indicating the label on the y axis

groupOption

option for grouping the data "name" or "no"

xlim

vector of two numbers representing the limits of x axis.

ylim

vector of two numbers representing the limits of y axis.

type

"l" for line, "bar" for barplot

...

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

Examples

#data(lcms)
#res=lcmsIntensityByMass(lcms)
#plot(res)

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