Update: ggspectra 0.2.0

The changes from version 0.1.12 are:

Improve handling of annotations parameter in plot() methods.
Add functions color_chart() and black_or_white().
Add statistics stat_wb_box() and stat_wb_column() with "rect" as default geometry and stat_wb_hbar() with "errorbarh" as default geometry .
Change default geometry from "rect" to "text" in all the summary statistics for spectra.
Update stats with "text" as default geometry to use an additional variable BW.color computed by function black_or_white() as default mapping for color.
As default geometries and color mapping have changed, this update can break existing code.
Changes to plot() methods are backwards compatible but default color of some text labels has changed from "white" to "black" to improve readability, and fewer peaks and valleys are highlighted by default. In addition more ticks marks are used on the wavelength axis.
Fix minor bugs in handling of color mapping.
Update documentation.

The package is available through CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://bitbucket.org/aphalo/ggspectra/issues

Leave a Reply

Your email address will not be published. Required fields are marked *