rmPeakList: remove the peakList of an ptrSet object

View source: R/SetMethods.R

rmPeakListR 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 detectPeakwith 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 )

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