Skip to contents

Normalises differently formated lipid names to a consistent format.

Usage

normalise_lipids(column_name, grammar, ...)

Arguments

column_name

(character) The name of the column containing Lipids names to normalise.

grammar

(character) The grammar to use for normalising lipid names. Allowed values are: Shorthand2020, Goslin, FattyAcids, LipidMaps, SwissLipids, HMDB or .all.

...

Additional slots and values passed to struct_class.

Value

A normalise_lipids object with the following output slots:

updated(annotation_source) Annotation_source after normalising lipid names.

Details

This object makes use of functionality from the following packages:

  • rgoslin

Inheritance

A normalise_lipids object inherits the following struct classes:

normalise_lipids()model()struct_class()

References

Kopczynski D, Hoffmann N, Peng B, Ahrends R (2020). "Goslin: A Grammar of Succinct Lipid Nomenclature." Analytical Chemistry, 92(16), 10957-10960. https://pubs.acs.org/doi/10.1021/acs.analchem.0c01690.

Examples

M = normalise_lipids(
      column_name = "V1",
      grammar = ".all")