Skip to contents

Main functions

Entry points for the package.

derive_traits()
Calculate Derived Traits
derive_traits_()
Calculate Derived Traits from Tidy Data
quantify_motifs()
Quantify Motifs in an Experiment

Out-of-box trait sets

Curated sets of derived traits for out-of-box use.

traits_basic() basic_traits()
Get Basic Derived Traits
traits_clerc_2018()
Get Traits in Clerc et al. 2018
traits_detailed() all_traits()
Get Detailed Derived Traits
traits_fu_2026()
Get Traits in Fu et al. 2026
traits_li_2025()
Get Traits in Li et al. 2025

Utility functions

Helper functions for trait interpretation and construction.

explain_trait()
Explain a Derived Trait
make_trait() experimental
Use a Large Language Model (LLM) to create a derived trait function

Trait factories

Functions for constructing custom derived traits.

prop()
Create a Proportion Trait
ratio()
Create a Ratio Trait
wmean()
Create a Weighted-Mean Trait
total()
Create a Total Abundance Trait
wsum()
Create a Weighted Sum Trait

Meta-property utilities

Functions for working with glycan meta-properties.

add_meta_properties()
Add Meta-Properties to Experiment
all_mp_fns()
Get All Meta-Property Functions
get_meta_properties()
Get Meta-Properties of Glycans

Meta-property functions

Functions for calculating specific glycan meta-properties.