There is a newer version of the record available.

Published May 22, 2022 | Version v2.3.0
Software Open

ashenoy-cmbi/grafify: Version 2.3.0

Creators

  • 1. @ImperialCollegeLondon

Description

grafify v2.3.0 Major additions

  1. Four new colourblind-friendly categorical colour schemes:
  • fishy, kelly, r4, safe
  1. Four new quantitative schemes for continuous or divergent colours.
  • sequential/continuous: blue_conti, grey_conti
  • divergent: OrBl_div, PrGn_div

All these schemes are available through scale_fill.. and scale_colour_... calls to be used on any ggplot2 object.

Minor changes & bug fixes
  1. Fixed the error in legend title in one-way ANOVA plots with plot_3d_. The title now correctly refers to xcol and shapes arguments.
  2. posthoc_Trends... functions rewritten with stats::model.frame() to get model data frame as this is a more flexible method.
  3. Order of colours in light, bright and muted schemes changed slightly for better separation of colours when next to each other.
  4. The jitter setting in plot_scaltter_ is set to 0.2 so the graph as plotted with jitter by default.
  5. The default colour scheme for all graphs is now okabe_ito (the all_grafify palette is was just a concatenation of all palettes without real basis in good visualisation). Use one of the other palettes (e.g. kelly, which has 20 discreet colours).
  6. scale_fill_grafify2 and scale_colour_grafify2 deprecated, and the same function offered with ColSeq argument to scale_fill_grafify and scale_colour_grafify to select sequential or distant colours from a palette.

Files

ashenoy-cmbi/grafify-v2.3.0.zip

Files (12.9 MB)

Name Size Download all
md5:303f5dd7935130340acba6172ab5e84b
12.9 MB Preview Download

Additional details

Related works