searchByPrecursor: Function to find MS2 spectra in a MS2 library for spectral...

Description Usage Arguments

View source: R/MS2_SpectrumDbSearch.R

Description

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.

Usage

1
2
searchByPrecursor(precursorMz, ms2dbFileName, mzTol = 0.005,
  mzTolType = "abs", precursorType = NA)

Arguments

precursorMz

Mass of precursor for search

ms2dbFileName

File name or path to MS2 database

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


michaelwitting/masstrixR documentation built on Nov. 8, 2019, 8:12 p.m.