Skip to contents

ggDNAvis (development version)

New features:

User-facing changes:

  • Changed extract_methylation_from_dataframe() to now return a list of 4 vectors instead of 3, with sequences added. sequence_lengths is still returned just in case it’s useful for anything, but it is no longer used in visualise_methylation(), which now takes the sequences directly rather than their lengths.

  • Removed warning for “incorrectly” removing index annotations. Now setting any relevant argument to 0/empty (e.g. index_annotation_size = 0, index_annotation_interval = 0, index_annotation_lines = numeric(0)) will automatically change the “main” one to remove annotations.

  • Massively improved rasterise_matrix() performance by vectorising calculations.

  • Changed default pixels_per_base from 20 to 100 for visualise_methylation() because there is now the option for index and sequence text, which requires a higher resolution to be legible.

New helper functions:

Background changes:

  • Starting changing all argument validation to use bad_arg().

  • Enforced version requirement for ggplot2 (>= 4.0.0).

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