plot: Plot a ptrSet object

plot,ptrSet,ANY-methodR Documentation

Plot a ptrSet object

Description

plot a ptrSet object

Usage

## S4 method for signature 'ptrSet,ANY'
plot(x, y, typePlot = "")

Arguments

x

a ptrSet object

y

not use

typePlot

could be : calibError, resolution, peakShape, or a empty character if you want all.

Value

plot

Examples

dirRaw <- system.file("extdata/exhaledAir", package = "ptairData")
exhaledPtrset <- createPtrSet(dir=dirRaw, setName="exhaledPtrset", 
mzCalibRef = c(21.022, 60.0525), fracMaxTIC = 0.7, saveDir = NULL )
plot(exhaledPtrset )
plot(exhaledPtrset ,typePlot='calibError')
plot(exhaledPtrset ,typePlot='resolution')
plot(exhaledPtrset ,typePlot='peakShape')

camilleroquencourt/ptairMS documentation built on June 9, 2024, 10:35 a.m.