Learn R Programming

erah (version 2.0.1)

plotChr: Plotting sample chromatogram

Description

Plot the sample chromatogram

Usage

plotChr(
  Experiment,
  N.sample = 1,
  type = c("BIC", "TIC", "EIC"),
  xlim = NULL,
  mz = NULL
)

# S4 method for MetaboSet plotChr( Experiment, N.sample = 1, type = c("BIC", "TIC", "EIC"), xlim = NULL, mz = NULL )

Arguments

Experiment

A 'MetaboSet' S4 object containing the experiment.

N.sample

Integer. The number of the sample to query.

type

The type of plotting, Base Ion Chromatogram (BIC), Total Ion Chromatogram (TIC), or Extracted Ion Chromatogram (EIC).

xlim

The range in minutes, separated by comas: c(rt.min, rt.max) of the limits of plotting. By default, all the chromatogram is plotted.

mz

Just when EIC is selected. The range separated by comas: c(mz.min, mz.max) or a vector of numbers: c(50,67,80), of the masses to be ploted.

See Also

sampleInfo