filterp,purityD-method | R Documentation |
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
## S4 method for signature 'purityD'
filterp(Object, thr = 5000, rsd = 20, sampleOnly = TRUE)
Object |
object; purityD object |
thr |
numeric; intensity threshold |
rsd |
numeric; rsd threshold |
sampleOnly |
boolean; if only the sample (not blanks) should be filtered |
purityD object
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.