plotCalib {ptairMS} | R Documentation |
Plot the calibration peaks after calibration
plotCalib(object, ppm = 2000, ...) ## S4 method for signature 'ptrRaw' plotCalib(object, ppm = 2000, ...) ## S4 method for signature 'ptrSet' plotCalib(object, ppm = 2000, pdfFile = NULL, fileNames = NULL, ...)
object |
a ptrSet or ptrRaw object |
ppm |
the width of plot windows |
... |
not used |
pdfFile |
is different of |
fileNames |
the name of the files in the ptrSet object to plot.
If |
plot
## ptrSet dirRaw <- system.file("extdata/exhaledAir", package = "ptairData") exhaledPtrset <- createPtrSet(dir=dirRaw, setName="exhaledPtrset", mzCalibRef = c(21.022, 60.0525), fracMaxTIC = 0.7, saveDir = NULL ) plotCalib(exhaledPtrset ,fileNames=getFileNames(exhaledPtrset )[1]) ## ptrRaw filePath<-system.file('extdata/exhaledAir/ind1/ind1-1.h5', package = 'ptairData') raw <- readRaw(filePath,mzCalibRef=c(21.022,59.049)) plotCalib(raw)