plot,ptrSet,ANY-method {ptairMS} | R 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')

[Package ptairMS version 1.2.0 Index]