Filter out peaks based on intensity and RSD criteria

Share:

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
3
## 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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.