omicverse.metabol.fetch_lion_associations#
- omicverse.metabol.fetch_lion_associations(*, cache=True, refresh=False)[source]#
Fetch the full LION lipid↔ontology associations.
- Returns:
{term_name: {"category": str, "members": [lipid_class, ...]}}— same shape as the shippedlion_subset.jsonsolion_enrichment()consumes it directly. LION terms that attach to many thousands of species are aggregated to the class level (first token of the LIPID MAPS shorthand) to match how the lipidomics module does enrichment.- Return type: