View source: R/functions-XCMSnExp.R
findChromPeaksIsolationWindow | R Documentation |
The findChromPeaksIsolationWindow
function allows to perform a
chromatographic peak detection in MS level > 1 spectra of certain isolation
windows (e.g. SWATH pockets). The function performs a peak detection,
separately for all spectra belonging to the same isolation window and adds
them to the chromPeaks()
matrix of the result object, information about
the isolation window they were detected in is added to chromPeakData()
.
Note that peak detection with this method does not remove previously
identified chromatographic peaks (e.g. on MS1 level using the
findChromPeaks()
function but adds newly identified peaks to the existing
chromPeaks()
matrix.
Isolation windows can be defined with the isolationWindow
parameter, that
by default uses the definition of isolationWindowTargetMz()
, i.e.
chromatographic peak detection is performed for all spectra with the same
isolation window target m/z (seprarately for each file). The parameter
param
allows to define and configure the peak detection algorithm (see
findChromPeaks()
for more information).
findChromPeaksIsolationWindow(object, param, msLevel = 2L,
isolationWindow = isolationWindowTargetMz(object), ...)
object |
|
param |
Peak detection parameter object, such as a
CentWaveParam object defining and configuring the chromographic
peak detection algorithm.
See also |
msLevel |
|
isolationWindow |
|
... |
currently not used. |
An XCMSnExp
object with the chromatographic peaks identified in spectra of
each isolation window from each file added to the chromPeaks
matrix.
Isolation window definition for each identified peak are stored as additional
columns in chromPeakData()
.
Johannes Rainer, Michael Witting
reconstructChromPeakSpectra()
for the function to reconstruct
MS2 spectra for each MS1 chromatographic peak.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.