This function returns the number of double bonds of a given lipid annotation name. For example, the number of double bonds of lipid PC 34:2 is 2. The lipid annotation names must be first cleaned by format_lipid_name.

nDoubleBonds(x)

Arguments

x

character. The lipid annotation name. Must be first cleaned by format_lipid_name.

Value

integer