This function matches mz values with neutral masses from a dataframe which links masses and structures (carbons and double bounds) and extracts the structural information. It is used by identification functions to look for the structure of the previously chosen candidates.
cbs(mz, ppm, db, charge = 0)
mz value to be matched
mass error tolerance
database
numeric value indicating the charge of the ion
Character value or vector indicating structural information (carbons:bounds)