LipidMS (version 1.0.0)

cbs: Total number of carbons and double bounds

Description

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.

Usage

cbs(mz, ppm, db, charge = 0)

Arguments

mz

mz value to be matched

ppm

mass error tolerance

db

database

charge

numeric value indicating the charge of the ion

Value

Character value or vector indicating structural information (carbons:bounds)