mzMatch {FAMetA} | R Documentation |
mz match withing a vector of mz values
Description
This function searches marches between a given mz and a vector of mz values with certain mass tolerance and returns the index of the matched values. It is used by identification functions to find candidates of each class of lipid based on full MS information.
Usage
mzMatch(mz, mzvector, ppm)
Arguments
mz |
mz value to be matched |
mzvector |
vector of mz values |
ppm |
mass error tolerance |
Value
Numeric vector indicating the index of matched mz values and ppms for each one of those matches (match1, ppm1, match2, ppm2, etc.)
Author(s)
M Isabel Alcoriza-Balaguer <maialba@alumni.uv.es>
References
M Isabel Alcoriza-Balaguer (2021). LipidMS: Lipid Annotation for LC-MS/MS DDA or DIA Data. R package version 3.0.1. <https://CRAN.R-project.org/package=LipidMS>
[Package FAMetA version 0.1.6 Index]