View source: R/MS2_Utilities.R
This function allows to search for a fragment m/z in MS2 spectra that match to a specified neutral from the precusor
1 2  | contains_neutral_loss(ms2spectrum, neutralLossMass, mzTol = 0.005,
  mzTolType = "abs")
 | 
ms2spectrum | 
 A Spectrum2 in which the production ion shall be searched  | 
neutralLossMass | 
 Mass of neutral loss that shal be searched  | 
mzTol | 
 Maximum allowed tolerance in Da or ppm  | 
mzTolType | 
 Defines the error type for m/z search, "abs" is used for absolute mass error, "ppm" for relative error  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.