annotate_lipids {lipidr} | R Documentation |
Parse lipid names to return a data.frame containing lipid class, chain length and unsaturation. Lipids should follow the pattern 'class xx:x/yy:y', with class referring to the abbreviated lipid class, xx:x as the composition of the first chain and yy:y as the second chain. Alternatively, lipids can be supplied following the pattern 'class zz:z', where zz:z indicates the combined chain length and unsaturation information.
annotate_lipids(molecules)
molecules |
A character vector containing lipid molecule names. |
A data.frame with lipid annotations as columns. Input lipid names are given in a column named "Molecule".
lipid_list <- c( "Lyso PE 18:1(d7)", "PE(32:0)", "Cer(d18:0/C22:0)", "TG(16:0/18:1/18:1)" ) annotate_lipids(lipid_list)