nCarbons: Extract the carbon chain length

Description Usage Arguments Value Author(s)

View source: R/lipidome-summarize.R

Description

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.

Usage

1

Arguments

x

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

Value

integer

Author(s)

Chenghao Zhu


zhuchcn/HTSet documentation built on April 10, 2020, 4:51 p.m.