Given a set of coeluting fragments, this function searches for matches within a database. It is used by identification functions to extract fragments of interest based on the fragmentation patterns of each class of lipid.
frags(df, ppm, db, mdiff, charge, n)
data frame containing coeluting fragments
mass tolerance
database (data frame with two columns) where to look into
mdiff
Data frame containing matched ions information