View source: R/MS2_SpectrumDbSearch.R
Function to find MS2 spectra in a MS2 library for spectral matching. The search parameters are a given precursor m/z and potentially its type of adduct.
1 2 3 4  | 
ms2dbFileName | 
 File name or path to MS2 database  | 
precursorMz | 
 Mass of precursor for search  | 
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  | 
precursorType | 
 String indicating the potential precursor adducts  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.