nCarbons.Rd
Extract the total number of carbons from a lipid annotation
name. For example, the carbon chain length of lipid PC 34:2 is 34. The lipid
names must be first cleaned by format_lipid_name
.
nCarbons(x)
x | character. The lipid annotation name. Must be first cleaned by
|
---|
integer