knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
lipidomicsUtils
The lipidomicsUtils
package enables to parse lipid shorthand notations and additionally offers several calculation functions. The package can be installed directly from GitHub using functions from devtools
.
# loading required libraries # use only if package shall be installed #library(devtools) #install_github("michaelwitting/lipidomicsUtils", ref = "master") library(lipidomicsUtils)
# example lipid PC(16:0/18:1(9Z)), LMGP01010005 lipid <- "PC(16:0/18:1(9Z)" # get different lipid categories get_lipid_category(lipid) get_lipid_mainclass(lipid) get_lipid_subclass(lipid)
# example lipid PC(O-18:0/18:1(9Z)), LMGP01020202 lipid <- "PC(O-18:0/18:1(9Z)" # get different lipid categories get_lipid_category(lipid) get_lipid_mainclass(lipid) get_lipid_subclass(lipid)
# example lipid Cer(d18:1/18:1(9Z)), LMSP02010003 lipid <- "Cer(d18:1/18:1(9Z))" # get different lipid categories get_lipid_category(lipid) get_lipid_mainclass(lipid) get_lipid_subclass(lipid)
# example lipid Cer(d18:1/18:1(9Z)), LMSP02010003 lipid <- "Cer(d18:1(4E,1OH,3OH)/18:1(9Z))" # get different lipid categories get_lipid_category(lipid) get_lipid_mainclass(lipid) get_lipid_subclass(lipid)
# example lipid Cer(d18:1/18:1(9Z)), LMSP02010003 lipid <- "Cer(d18:1(4E,1OH,3OH)/18:1(9Z))" isolate_radyls(lipid) isolate_sphingoid_base(lipid) get_hydroxy_groups(lipid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.