Class HeadGroup


  • public class HeadGroup
    extends Object
    This class represents functional head groups of lipids. This is where the association to LipidClass and LipidCategory is maintained.
    Author:
    nils.hoffmann
    • Constructor Detail

      • HeadGroup

        public HeadGroup​(String rawName,
                         Optional<LipidClass> lipidClass)
        Creates a new head group from the given head group name and optionally a lipid class. The lipid class also determines the category.
        Parameters:
        rawName - the lipid head gruop string.
        lipidClass - the lipid class.
    • Method Detail

      • getNormalizedName

        public String getNormalizedName()
        Returns a lipid string representation for the head group of this lipid. This method normalizes the original head group name to the class specific primary alias, if the level and class are known. E.g. TG is normalized to TAG.
        Returns:
        the normalized lipid head group.