estimatePrecursorIntensity,MsExperiment-method | R Documentation |
estimatePrecursorIntensity()
determines the precursor intensity for a MS 2
spectrum based on the intensity of the respective signal from the
neighboring MS 1 spectra (i.e. based on the peak with the m/z matching the
precursor m/z of the MS 2 spectrum). Based on parameter method
either the
intensity of the peak from the previous MS 1 scan is used
(method = "previous"
) or an interpolation between the intensity from the
previous and subsequent MS1 scan is used (method = "interpolation"
, which
considers also the retention times of the two MS1 scans and the retention
time of the MS2 spectrum).
## S4 method for signature 'MsExperiment'
estimatePrecursorIntensity(
object,
ppm = 10,
tolerance = 0,
method = c("previous", "interpolation"),
BPPARAM = bpparam()
)
## S4 method for signature 'OnDiskMSnExp'
estimatePrecursorIntensity(
object,
ppm = 10,
tolerance = 0,
method = c("previous", "interpolation"),
BPPARAM = bpparam()
)
object |
|
ppm |
|
tolerance |
|
method |
|
BPPARAM |
parallel processing setup. See |
numeric
with length equal to the number of spectra in x
. NA
is
returned for MS 1 spectra or if no matching peak in a MS 1 scan can be
found for an MS 2 spectrum
Johannes Rainer with feedback and suggestions from Corey Broeckling
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.