Draw Gene Arrow Maps in 'ggplot2'
Overview
A 'ggplot2' extension for drawing gene arrow maps.
New features
geom_subgene_arrow()andgeom_subgene_label()now support polar coordinates.
Minor improvements and fixes
- gggenes now validates layer input and reports problems with clearer, more consistent error messages (#91, #92).
- gggenes now transforms data coordinates once per panel rather than once per glyph, speeding up the rendering of layers with many glyphs (#113).
- The rendering pipeline is refactored to share more logic across geoms (#93, #109).
- Grid drawing now uses NPC rather than native coordinates internally (#94).
- The package documentation is updated throughout, and the README now presents polar-coordinate drawing with
coord_polar()as a supported feature rather than as experimental (#115, #116, #117, #122).
Show all changes in 0.7.0Hide the rest of the changes in 0.7.0
- The declared dependency floors are now honest:
ggplot2 (>= 3.4.0)for thelinewidthaesthetic,rlang (>= 1.0.0)forrlang::caller_arg(), andggfittext (>= 0.9.0)for polar-coordinate text fitting (#107). geom_feature()andgeom_terminator()now document that theirlinewidthis expressed in points rather than millimetres, unlikegeom_gene_arrow()and the ggplot2 convention; this inconsistency will be reconciled when these geoms are superseded in gggenes 1.0.0 (#121).geom_feature_label()now draws when theforwardaesthetic is not mapped (#98).geom_feature_label()now sizes the label box of aforward = TRUEfeature to the full panel in polar coordinates, spanning to the theta edge at2 * pirather than to 1 radian (#112).geom_feature_label()andgeom_terminator_label()now draw on the opposite side of the molecule with a negativefeature_heightorterminator_height, and their height-parameter documentation is clarified (#90, #99).geom_gene_arrow(),geom_subgene_arrow(),geom_feature(), andgeom_terminator()now handle the deprecatedsizeaesthetic consistently, each emitting a single deprecation warning (#102).geom_gene_arrow()andgeom_subgene_arrow()legend keys now applyalphato the outline colour as well as the fill, matching the drawn geoms (#101).geom_gene_label()andgeom_subgene_label()register thealignparameter explicitly (#104).geom_subgene_label()now draws in polar coordinates with only its required aesthetics mapped, without also needingxmin/xmax(#106).- Polar segmentation now keeps the endpoint of a very short edge, so a glyph edge shorter than one segment is drawn rather than collapsing to a single point (#114).
make_alignment_dummies()now gives a more informative error whenonis absent from the mappedidcolumn (#119).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 15 (1 internal)includes a package overview page
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 90%
- Documented parameters
- 36%
- Return-value docs
- 0%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 67%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 9
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/wilkox/gggenes on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-05 · The repository has a site deploy workflow
pkgdown site last built 2026-07-05
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-05-10Named in .Rbuildignore: .claude, CLAUDE.mdCommits: at least 33 crediting it in the message
- Claude Opus 4.829 commits · Jul 2026
- Claude Opus 4.51 commit · Jan 2026
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.7.0Latest
- RR 4.6.0 released · 2026-04-24
- 0.6.0
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.5.12023-09-05 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.5.0
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.4.12020-12-10 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.4.0
- RR 3.6.0 released · 2019-04-26
- 0.3.22018-11-07 · diff ↗
- 0.3.12018-06-16 · diff ↗
Package metadata
- First published
- 2017-08-24
- Total releases
- 10 / 9 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.6
- Bundled data
- 6.2 KB / 9 files
- Download size
- 1.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("gggenes")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.