rmPeakList {ptairMS} | R Documentation

## remove the peakList of an ptrSet object

### Description

This function is useful when you want to change the parameters of the detect peak function. First delete the peakList with `rmPeakList`, and apply `detectPeak`with the new parameters.

### Usage

    rmPeakList(object)

### Arguments

`object` | ptrSet object

### Value

a ptrSet

### Examples

    library(ptairData)
    dirRaw <- system.file("extdata/exhaledAir", package = "ptairData")
    exhaledPtrset <- createPtrSet(dir=dirRaw, setName="exhaledPtrset",
    mzCalibRef = c(21.022, 60.0525), fracMaxTIC = 0.7, saveDir = NULL )
    exhaledPtrset <-rmPeakList(exhaledPtrset )

[Package ptairMS version 1.2.0 Index]