Description Usage Arguments Value Author(s) See Also Examples
findChromPeaks
on a Chromatogram or Chromatograms object with a
MatchedFilterParam parameter object performs matchedFilter-based peak
detection on purely chromatographic data. See matchedFilter for details
on the method and MatchedFilterParam for details on the parameter class.
Note that not all settings from the MatchedFilterParam
will be used.
See peaksWithMatchedFilter()
for the arguments used for peak detection
on purely chromatographic data.
1 2 | ## S4 method for signature 'Chromatogram,MatchedFilterParam'
findChromPeaks(object, param, ...)
|
object |
a Chromatogram or Chromatograms object. |
param |
a MatchedFilterParam object specifying the settings for the
peak detection. See |
... |
currently ignored. |
If called on a Chromatogram
object, the method returns a matrix
with
the identified peaks. See peaksWithMatchedFilter()
for details on the
matrix content.
Johannes Rainer
peaksWithMatchedFilter()
for the downstream function and
matchedFilter for details on the method.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | od <- readMSData(system.file("cdf/KO/ko15.CDF", package = "faahKO"),
mode = "onDisk")
## Extract chromatographic data for a small m/z range
chr <- chromatogram(od, mz = c(272.1, 272.3))[1, 1]
## Identify peaks with default settings
xchr <- findChromPeaks(chr, MatchedFilterParam())
## Plot the identified peaks
plot(xchr)
## Modify the settings
mfp <- MatchedFilterParam(fwhm = 60)
xchr <- findChromPeaks(chr, mfp)
plot(xchr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.