checkIsotopes: Checks for isotopes in a 'msmsWorkspace'

Description Usage Arguments Details Value Author(s)

View source: R/Isotopic_Annotation.R

Description

Checks for isotopes in a msmsWorkspace

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
checkIsotopes(
  w,
  mode = "pH",
  intensity_cutoff = 0,
  intensity_precision = "none",
  conflict = "strict",
  isolationWindow = 2,
  evalMode = "complete",
  plotSpectrum = TRUE,
  settings = getOption("RMassBank")
)

Arguments

w

A msmsWorkspace to work with.

mode

"pH", "pNa", "pM", "pNH4", "mH", "mM", "mFA" for different ions ([M+H]+, [M+Na]+, [M]+, [M+NH4]+, [M-H]-, [M]-, [M+FA]-).

intensity_cutoff

The cutoff (as an absolute intensity value) under which isotopic peaks shouldn't be checked for or accepted as valid. Please note: The cutoff is not hard in the sense that it interacts with the intensity_precision parameter.

intensity_precision

The difference that is accepted between the calculated and observed intensity of a possible isotopic peak. Further details down below.

conflict

Either "isotopic"(Peak formulas are always chosen if they fit the requirements for an isotopic peak) or "strict"(Peaks are only marked as isotopic when there hasn't been a formula assigned before.)

isolationWindow

Half of the width of the isolation window in Da

evalMode

Currently no function yet, but planned. Currently must be "complete"

plotSpectrum

A boolean specifiying whether the spectrumshould be plotted

settings

Options to be used for processing. Defaults to the options loaded via loadRmbSettings et al. Refer to there for specific settings.

Details

text describing parameter inputs in more detail.

Value

The msmsWorkspace with annotated isolation peaks

Author(s)

Michael Stravs, Eawag <michael.stravs@eawag.ch>

Erik Mueller, UFZ


sneumann/RMassBank documentation built on Oct. 20, 2020, 3:19 p.m.