This function is employed by all identification function in this package to find possible precursors in the fullMS function.
findPrecursor(MS1, db, ppm, massdif, rt, n = 1, charge = 1)
data frame containing m/z, RT and intensity of ions from the first function
database to be searched for matches
mass difference between neutral mass and the adduct expected
rt window
numeric value indicating whether to look for monomers (1), dimers (2), etc.
numeric value indicating the expected charge of the ions
Subset of the original data frame without adducts