Changelog
Source:NEWS.md
gggenes 0.7.0
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). - 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).
gggenes 0.6.0
CRAN release: 2025-12-14
Major changes
- Add new
geom_terminator()andgeom_terminator_label() - Add support for polar coordinates
gggenes 0.5.1
CRAN release: 2023-09-05
Minor changes
- Fix the ‘ggfittext-package’ documentation after a breaking change to roxygen2
gggenes 0.5.0
CRAN release: 2023-03-28
Major changes
- Add new
geom_feature()andgeom_feature_label() - Add support for flipped coordinates with
coord_flip()(#38)
Minor changes
- Explicit coercion of the
forwardvalue to logical, more useful values for the forward aesthetic in example data, and fix an error in README and introductory vignette (-1 does not coerce to FALSE…) - Improve handling of NA
idvalues inmake_alignment_dummies()(#51, thanks - Update
element_lineto uselinewidthrather thansize(sizedeprecated as of ggplot2 3.4.0)
Bug fixes
- Fix bug where
heightargument togeom_gene_label()andgeom_subgene_label()were being ignored (#40, thanks @jvanbelzen)
gggenes 0.4.1
CRAN release: 2020-12-10
Minor changes
- More useful example for the
forwardaesthetic in the README andexample_genes(thanks @rickbeeloo)
Bug fixes
- Fix bug in checking position of subgenes relative to the parent gene (#21, thanks @mchiapello)
- Add ‘orientation’ column to
example_subgenesand correct some errors in the documentation for both example data frames - Make vdiffr tests conditional
gggenes 0.4.0
CRAN release: 2019-06-24
Major changes
- Add new
geom_subgene_arrow()(contributed by @zdk123) - Add new
geom_subgene_label() - Support new version of ggfittext (0.8.0)
gggenes 0.3.0
CRAN release: 2018-05-26
Major changes
-
geom_gene_arrow()now supportsforwardaesthetic (#3 and #5, thanks @adomingues and @jasonserviss) -
geom_gene_label()added (#3, thanks @adomingues) - Compatible with ggplot2 v2.3.0
Minor changes
- Change R version dependency to fix ‘patchlevel’ error on CMD check
- Add support for both pre- and post- ggplot2 v2.3.0 versions of
aes() - Edit docs and README