filterp-purityD-method: Filter out peaks based on intensity and RSD criteria

Description Usage Arguments Value Examples

Description

Uses a purityD object remove peaks from either (or both) samples and blanks that are either below an intensity threshold or greater than a Relative Standard Deviation (RSD) threshold

Usage

1
2
## S4 method for signature 'purityD'
filterp(Object, thr = 5000, rsd = 20, sampleOnly = TRUE)

Arguments

Object

object; purityD object

thr

numeric; intensity threshold

rsd

numeric; rsd threshold

sampleOnly

boolean; if only the sample (not blanks) should be filtered

Value

purityD object

Examples

1
2
3
4
5
6
datapth <- system.file("extdata", "dims", "mzML", package="msPurityData")
inDF <- Getfiles(datapth, pattern=".mzML", check = FALSE, cStrt = FALSE)

ppDIMS <- purityD(inDF, cores=1)
ppDIMS <- averageSpectra(ppDIMS)
ppDIMS <- filterp(ppDIMS, thr = 5000)

msPurity documentation built on Jan. 14, 2021, 2:44 a.m.