Skip to content

Releases: jolars/eulerr

eulerr 7.0.2

28 Mar 15:10
Compare
Choose a tag to compare

Bug Fixes

eulerr 7.0.1

16 Feb 12:20
Compare
Choose a tag to compare

Minor Changes

  • Fixed some incorrect documentation of internal functions.
  • Corrected an url for eulerAPE.

Full Changelog: v7.0.0...v7.0.1

eulerr 7.0.0

12 Dec 14:12
Compare
Choose a tag to compare

New Features

  • It is now possible to set the loss function to be used when trying to
    optimize the Euler diagram layout via loss and loss_aggregator.
    There is a new vignette that showcases this new feature.

Minor Changes

  • C++14 is now required for the package.

Bug Fixes

  • Label repelling via adjust_labels in plot.euler() has been
    deprecated and removed to fix sanitizer warnings.

Full Changelog: v6.1.1...v7.0.0

eulerr 6.1.1

06 Sep 13:48
Compare
Choose a tag to compare

Minor changes

  • citation to conference paper added to inst/CITATION
  • error messages for erroneous input have been improved in several places
  • switched PI to M_PI to support STRICT_R_HEADERS in C++ code
    (#82, thanks @eddelbuettel)

Bug fixes

  • error in documentation for list method has been fixed, thanks @gprezza (#77)

eulerr 6.1.0

14 Apr 10:07
Compare
Choose a tag to compare

Minor changes

  • Label repelling (activated by calling euler() with adjust_labels = TRUE)
    no longer repels text labels away from the edges of the shapes in
    the diagram.

Bug fixes

  • Rectify sanitizer error from clang-ASAN test environment.

eulerr 6.0.2

04 Mar 20:06
Compare
Choose a tag to compare

Bug fixes

  • Set stringsAsFactors = TRUE inside all relevant functions in euler()
    to avoid errors in upcoming R version.
  • Fix broken link in euler under the hood vignette.

eulerr 6.0.0

29 Sep 13:40
Compare
Choose a tag to compare

New features

  • In plot.euler(), percentages can be added to the plot in addition to or
    instead of counts by providing a list to the quantities argument
    with an item type that can take any combination of counts and percent.
    This change also comes with a redesign of the grid graphics
    implementation for labels.
  • eulerr_options() gains a new argument
    padding which controls the amount of padding between labels and quantities.
    (#48)
  • plot.euler() now uses code from the ggrepel package to prevent
    labels from overlapping or escaping the plot area if adjust_labels is
    set to TRUE.
  • A new vignette featuring a gallery of plots from the package has been
    added.

Minor changes

  • The default cex for quantity labels has changed from 1.0 to 0.9.
  • Labels for sets that overlap are now merged (partly fixes #45)
  • The fill colors for sets which are completely contained within another set
    are now once again composed of a mix of the color of the subset and
    the superset.
  • Plotting data has been exposed in a data slot in the object created
    by calling to plot.euler() (#57)

Bug fixes

  • An error in layout normalization that occurred sometimes
    with ellipses has been fixed.

eulerr 5.1.0

04 Feb 16:39
Compare
Choose a tag to compare

eulerr 5.1.0

New features

  • venn() is a new function that produces Venn diagrams for up to
    5 sets. The interface
    is almost identical to euler() except that a single integer
    can also be provided. A new vignette, Venn diagrams with eulerr,
    examplifies its use.

Minor changes

  • Calculations for the strips in plot.euler() when a list of
    Euler diagrams is given has been improved. Setting fontsize or
    cex now results in appropriately sized strips as one would expect.
  • Tiny overlaps (where the fraction of the area is less than one
    thousandth of the largest overlap) in the final diagram are no longer
    plotted.
  • eulergram() objects from plot.euler() now have a proper grob name
    for the canvas grob, so that extracting information from them is easier.

Bug fixes

  • Return value documentation for euler() now correctly says "ellipses"
    and not "coefficients".
  • data.frame or matrix inputs now work properly
    when values are given as numerics. (#42)
  • Fixed some spelling errors in news and vignettes.

eulerr 5.0.0

05 Nov 20:12
Compare
Choose a tag to compare

New features

  • error_plot() is a new function that offers diagnostic plots of
    fits from euler(), letting the user visualize the error in the
    resulting Euler diagram.

Major changes

  • euler() once again uses the residual sums of squares, rather than the
    stress metric, as optimization objective, which means that
    output is always scaled appropriately to input (#28).
  • plot.euler() now uses the
    polylabelr package to position
    labels for the overlaps of the ellipses, which has improved
    performance in plotting complicated diagrams considerably and reduced
    the amount of code in this package greatly.
  • The c++ internals have been rewritten using more memory-efficient, performant
    and expressive code.

Minor changes

  • The euler.data.frame() method (and by proxy the euler.matrix() method)
    can now take matrices with factors in addition to the previously supported
    logical and integer (binary) input. The function will dummy code the variables
    for the user.
  • A few performance fixes.
  • Additional unit tests.
  • Previously deprecated arguments to plot.euler() have been made defunct.
  • Added a data set, plants, to exemplify the list method for euler().
  • Added a data set, fruits, to exemplify the data.frame method for euler().
  • euler.data.frame() gains an argument sep, which is a character vector
    used to separate dummy-coded factors if there are factors or characters in the
    input.
  • Added a data set, organisms, to exemplify the matrix method for euler().
  • Added a data set, pain, to exemplify the table method for euler().
  • euler.table() gains an argument, factor_names, for specifying
    whether the factor names should be included when generating dummy-coded
    variables in case the input is a data.frame with character or factor vectors
    or if the input is a table with more than two columns or rows.
  • Parts of the eulerr under the hood vignette has been branched off into
    a new vignette regarding visualization.

Bug fixes

  • Empty combinations can now be provided and will be plotted (generating
    completely blank plots).
  • euler.list() now passes its ellipsis argument along properly. (#33,
    thanks, @banfai)
  • Several spelling and grammar mistakes were corrected in vignettes and
    documentation.

eulerr 4.1.0

21 Apr 15:01
Compare
Choose a tag to compare

Minor changes

  • plot.euler() now returns a gTree object. All of the plotting mechanisms
    are now also found in this function and plot.eulergram() and
    print.eulergram() basically just call grid::grid.draw() on the result
    of plot.euler(). This change means that functions such as
    gridExtra::grid.arrange() now work as one would intuit on the objects
    produced by plot.euler().
  • Fitting and plotting euler diagrams with empty sets is now allowed (#23).
    Empty sets in the input will be returned as NA in the resulting
    data.frame of ellipses.
  • The last-ditch optimizer has been switched back to GenSA::GenSA() from
    RcppDE::DEoptim().

Bug fixes

  • The grid parameters available for edges are now correctly specified in
    the manual for plot.euler().
  • euler.data.frame() now works as expected for tibbles (from the tibble
    package) when argument by is used.