glyrepr0.7.5 package

Representation for Glycan Compositions and Structures

add_colors

Add Colors to Monosaccharides

add_gray_linkages

Add Gray Color to Linkages in IUPAC String

as_glycan_composition

Convert to Glycan Composition

as_glycan_structure

Convert to Glycan Structure Vector

available_monosaccharides

Get Available Monosaacharides

available_substituents

Available Substituents

colorize_iupac_string

Apply Colors to IUPAC String (Monosaccharides + Gray Linkages)

convert_to_generic

Convert Monosaccharides to Generic Type

count_mono

Get the Number of Monosaccharides

dot-extract_base_mono

Extract Base Monosaccharide Name (Without Substituents)

dot-parse_iupac_condensed_single

Parse IUPAC-condensed string to glycan structure

format_glycan_structure_subset

Format a Subset of Glycan Structures with Optional Colors

get_anomer

Get the Anomeric information

get_mono_color

Get Color for Concrete Monosaccharides

get_mono_type

Get Monosaccharide Types

get_structure_graphs

Access Individual Glycan Structures

glycan_composition

Create a Glycan Composition

glycan_structure

Create a Glycan Structure Vector

glyrepr-package

glyrepr: Representation for Glycan Compositions and Structures

glyrepr-vctrs

Internal vctrs methods

has_linkages

Determine if a Glycan Structure has Linkages

is_known_monosaccharide

Check if a Monosaccharide is Known

n_glycan_core

Example Glycan Structures

normalize_substituents

Normalize Substituent String

possible_linkages

Generate Possible Linkages

remove_linkages

Remove All Linkages from a Glycan

remove_substituents

Remove All Substituents from a Glycan

replace_monos_with_colored

Replace Monosaccharides in String with Colored Versions

simap

Map Functions Over Glycan Structure Vectors with Indices

smap_predicates

Test Predicates on Glycan Structure Vectors

smap_unique

Apply Function to Unique Structures Only

smap

Map Functions Over Glycan Structure Vectors

smap2

Map Functions Over Two Glycan Structure Vectors

spmap

Map Functions Over Glycan Structure Vectors and Multiple Arguments

structure_to_iupac

Convert Glycan Structure to IUPAC-like Sequence

valid_linkages

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.