Representation for Glycan Compositions and Structures
Add Colors to Monosaccharides
Add Gray Color to Linkages in IUPAC String
Convert to Glycan Composition
Convert to Glycan Structure Vector
Get Available Monosaacharides
Available Substituents
Apply Colors to IUPAC String (Monosaccharides + Gray Linkages)
Convert Monosaccharides to Generic Type
Get the Number of Monosaccharides
Extract Base Monosaccharide Name (Without Substituents)
Parse IUPAC-condensed string to glycan structure
Format a Subset of Glycan Structures with Optional Colors
Get the Anomeric information
Get Color for Concrete Monosaccharides
Get Monosaccharide Types
Access Individual Glycan Structures
Create a Glycan Composition
Create a Glycan Structure Vector
glyrepr: Representation for Glycan Compositions and Structures
Internal vctrs methods
Determine if a Glycan Structure has Linkages
Check if a Monosaccharide is Known
Example Glycan Structures
Normalize Substituent String
Generate Possible Linkages
Remove All Linkages from a Glycan
Remove All Substituents from a Glycan
Replace Monosaccharides in String with Colored Versions
Map Functions Over Glycan Structure Vectors with Indices
Test Predicates on Glycan Structure Vectors
Apply Function to Unique Structures Only
Map Functions Over Glycan Structure Vectors
Map Functions Over Two Glycan Structure Vectors
Map Functions Over Glycan Structure Vectors and Multiple Arguments
Convert Glycan Structure to IUPAC-like Sequence
Check if Linkages are Valid
Computational representations of glycan compositions and structures, including details such as linkages, anomers, and substituents. Supports varying levels of monosaccharide specificity (e.g., "Hex" or "Gal") and ambiguous linkages. Provides robust parsing and generation of IUPAC-condensed structure strings. Optimized for vectorized operations on glycan structures, with efficient handling of duplications. As the cornerstone of the glycoverse ecosystem, this package delivers the foundational data structures that power glycomics and glycoproteomics analysis workflows.