Learn R Programming

RMassBank (version 2.0.0)

plotRecalibration: Plot the recalibration graph.

Description

Plot the recalibration graph.

Usage

plotRecalibration(w, recalibrateBy = getOption("RMassBank")$recalibrateBy)
plotRecalibration.direct(rcdata, rc, rc.ms1, title, mzrange, recalibrateBy = getOption("RMassBank")$recalibrateBy)

Arguments

w
The workspace to plot the calibration graph from
recalibrateBy
Whether recalibration was done by ppm ("ppm") or by m/z ("mz"). Important only for graph labeling here.
rcdata
A data frame with columns recalfield and mzFound.
rc
Predictor for MS2 data
rc.ms1
Predictor for MS1 data
title
Prefix for the graph titles
mzrange
m/z value range for the graph