Skip to contents

ggDNAvis 1.0.0

This major release has enormous changes to pretty much every aspect of ggDNAvis. Expect code to break, but also for performance and features to be enhanced across the board.

New features:

  • Interactive web-app now available

  • Aliases: American spellings should now be available for all major function and argument names.

    • Every instance of visualise should now also work with visualize e.g. visualize_single_sequence().

    • Every instance of colour should now also work with color and col e.g. sequence_text_color or background_col.

    • There is a minor exception in that visualise_methylation_colour_scale() accepts visualize_methylation_color_scale() but does not accept col in the function name (and does not accept mixing visualise with color or visualize with colour).

    • Some aliases are set up for common typos, especially regarding pluralisation. In particular, index_annotations_above also accepts index_annotation_above, and index_annotation_full_line accepts any combination of annotation and line being plural or single.

    • If any aliases which ought to work don’t, please raise an issue at https://github.com/ejade42/ggDNAvis/issues and they can be easily added.

  • visualise_many_sequences() and visualise_methylation() now have index annotations!

  • Index annotations can now be forced to always occur at the start and end of each line

  • visualise_methylation() can now draw text inside the boxes

    • Can draw sequence text like visualise_many_sequences(), via sequence_text_type = "sequence".

    • Can draw sequence probabilities, via sequence_text_type = "probability". sequence_text_rounding and sequence_text_scaling then determine how the probability score integers from 0-255 are scaled (e.g. c(-0.5, 256) takes (probability + 0.5) / 256 to convert to 0-1 probability) and rounded for display.

    • As a consequence, visualise_methylation() now takes sequences rather than sequence lengths as its third input, and extract_and_sort_methylation() therefore returns sequences as well as sequence lengths.

  • visualise_methylation_colour_scale can now have the text assigned to any of the four cardinal directions rather than always below. If set to "left" / "west" or "right" / "east", gradient direction will be vertical instead of horizontal.

Minor changes:

Full list of new functions, including exported helpers:

Deleted functions:

  • convert_input_seq_to_sequence_list()

  • convert_sequences_to_annotations()

ggDNAvis 0.3.2

CRAN release: 2025-10-31

  • Added files related to pkgdown website building to .Rbuildignore so they are not part of the R package anymore (this caused a CRAN rejection).

ggDNAvis 0.3.1

Bug fixes:

  • Fixed 1-pixel-wide border appearing between the panel and the margin when using non-white background colours

ggDNAvis 0.3.0

CRAN release: 2025-10-01

Changes:

  • Removed raster::raster() dependency

  • Added new rasterise_matrix() function to do rasterisation

  • Changed convert_input_seq_to_sequence_list() behaviour:

    • Instead of additional spacing lines always being added before or after first line of sequence, there are now independent boolean settings for whether there should be spacing lines before and whether there should be spacing lines after.

Bug fixes:

  • Fixed critical error with plot matching lenience on some local linux systems that resulted in tests failing

  • Inserted additional padding blank lines above/below with index_annotation_vertical_position > 1 to avoid plot dimensions breaking (visualise_single_sequence())

Known issues remaining:

  • Related to ggplot v4.0.0:

    • Pixel rendering changes means rectangles sometimes fail to render in visualise_methylation_colour_scale(), resulting in the appearance of vertical white lines. This depends on the precision and exact export size.

    • There is a faint line around the panel area with non-white backgrounds.

ggDNAvis 0.2.1

CRAN release: 2025-09-21

ggDNAvis 0.2.0