← Back to home
Comparison · Analytics

glydraw vs glyrepr

A side-by-side editorial comparison of glydraw and glyrepr — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:glycomicsr-packages

glydraw vs glyrepr: at a glance

Featureglydrawglyrepr
SectorAnalyticsAnalytics
Velocity score6.32.5
Sparks · 30d10
Top themesglycomics, data-visualization, ggplot2, snfgglycomics, data-structures, type-system, r-packages
Last editorial update47m ago46m ago
WebsiteVisit →Visit →

What is glydraw?

SNFG glycan cartoons stopped being pictures and became ggplot2 geoms, guides and axis labels.

glydraw renders glycan structures as SNFG-standard cartoons, standalone or exported in bulk, and since 0.7.0 as native ggplot2 components: geom_glycan() for observations, geom_node_glycan() for ggraph networks, guide_glycan() for legends, and scale_x_glycan() and scale_y_glycan() for discrete axes. Appearance is configured through a single reusable style object rather than scattered arguments, a consolidation that 0.8.0 made breaking. The colour handling now expects a complete SNFG palette rather than sparse per-monosaccharide overrides.

Read the full glydraw trajectory →

What is glyrepr?

The type system the rest of the glycan stack is built on, being hardened one breaking change at a time.

glyrepr defines the vector types for glycan structures and compositions that every sibling package operates on, with names, NA values, resolution levels from basic through intact, and mapping helpers over structure vectors. Structures now convert to and from node and edge tibbles, low-level constructors support name-preserving construction from trusted graphs, and as_glycan_structure() can degrade element-local failures to NA with one aggregated warning instead of failing the whole vector. The monosaccharide table has been normalised so every entry has a generic form, and substituent support keeps widening.

Read the full glyrepr trajectory →

glydraw vs glyrepr: editorial side-by-side

G
glydraw
ANALYTICS
6.3

SNFG glycan cartoons stopped being pictures and became ggplot2 geoms, guides and axis labels.

◆ Current state

glydraw renders glycan structures as SNFG-standard cartoons, standalone or exported in bulk, and since 0.7.0 as native ggplot2 components: geom_glycan() for observations, geom_node_glycan() for ggraph networks, guide_glycan() for legends, and scale_x_glycan() and scale_y_glycan() for discrete axes. Appearance is configured through a single reusable style object rather than scattered arguments, a consolidation that 0.8.0 made breaking. The colour handling now expects a complete SNFG palette rather than sparse per-monosaccharide overrides.

◆ Where it's heading

The first half of this record is geometry correctness, fixing branch spacing, overlapping linkage annotations, core fucose collisions, triangle alignment and nested side-chain layout, because a cartoon that draws the wrong topology is worse than no cartoon. Once the drawing was trustworthy the package moved outward into ggplot2 and then inward again to consolidate its own API, dropping the glyexp dependency, removing positional argument support, and folding rendering options into style_glydraw(). Each of the last several releases has been explicitly breaking, which is a maintainer using a pre-1.0 window deliberately.

◆ Prediction

With the style object established and the ggplot2 surface in place, the remaining explicit arguments, show_linkage and orient, are the visible inconsistency and may follow the others into the style. Sibling packages adopt each change within days, as glyenzy did with the new orientation values, so expect the next breaking change to propagate the same way.

G
glyrepr
ANALYTICS
2.5

The type system the rest of the glycan stack is built on, being hardened one breaking change at a time.

◆ Current state

glyrepr defines the vector types for glycan structures and compositions that every sibling package operates on, with names, NA values, resolution levels from basic through intact, and mapping helpers over structure vectors. Structures now convert to and from node and edge tibbles, low-level constructors support name-preserving construction from trusted graphs, and as_glycan_structure() can degrade element-local failures to NA with one aggregated warning instead of failing the whole vector. The monosaccharide table has been normalised so every entry has a generic form, and substituent support keeps widening.

◆ Where it's heading

This package sets the pace for the cohort, and its breaking changes show up as compatibility patches in glyanno, glyenzy and glymotif within days. The direction is toward behaving like a well-built vctrs type: 0.10.0 rewrote the internals to support names and NA properly, 0.11.0 made structure level a vector-wide scalar rather than a per-element value, and the recent releases keep making failure explicit rather than silent, with strict input checks and typed errors replacing quiet drops. Dependencies get shed as readily as features get added, with the parallel-mapping arguments and their furrr and future dependencies removed outright in 0.13.0.

◆ Prediction

The graph-table conversions added in 0.13.0 and the name-preserving low-level constructors in 0.14.0 both look like foundations for other packages to build structures programmatically, so expect that surface to firm up next. Given the cadence of breaking changes, a 1.0 that freezes the type semantics is the more consequential thing to watch for.

Alternatives to glydraw and glyrepr

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either glydraw or glyrepr.

See all glydraw alternatives → · See all glyrepr alternatives →

Recent activity from glydraw and glyrepr

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 14d agoglydrawRendering options consolidated into a single style object
  2. 22d agoglydrawGlycan cartoons become ggplot2 geoms, legends and axis labels
  3. 26d agoglyreprName-preserving construction from trusted graphs; partial-failure coercion
  4. 1mo agoglyreprStructures convert to and from graph tibbles; parallel mapping dropped
  5. 1mo agoglydrawNested side-chain layout preserves residue order and linkage labels
  6. 1mo agoglydrawFucose triangle geometry aligned to rectangle node bounds
  7. 1mo agoglydrawCustom colours, fucose orientation and export scaling; glyexp dependency dropped
  8. 1mo agoglydrawSwitches to SNFG standard colours
  9. 1mo agoglyreprFaster structure vector creation
  10. 3mo agoglyreprAnomeric position helpers for structures with missing detail
  11. 3mo agoglyreprStructure level becomes a vector-wide scalar; sialic acid shorthand parsed
  12. 6mo agoglyreprReplaces a deprecated dplyr call to silence warnings

Frequently asked questions

What is the difference between glydraw and glyrepr?

Both compete on the same themes — glycomics, r-packages — within Analytics. glydraw is currently shipping more aggressively (velocity 6.3 vs 2.5), with 1 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is glydraw better than glyrepr?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. glydraw is currently shipping more aggressively (velocity 6.3 vs 2.5), with 1 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to glydraw?

Top glydraw alternatives in Analytics are ranked by recent ship velocity. Browse the "glydraw alternatives" section above for the current picks, or visit /alternatives/glydraw for the full list with editorial commentary on each.

What are the best alternatives to glyrepr?

Top glyrepr alternatives in Analytics are ranked by recent ship velocity. Browse the "glyrepr alternatives" section above for the current picks, or visit /alternatives/glyrepr for the full list with editorial commentary on each.