GSOC 2021: New Graphics for ChemoSpec

R ChemoSpec ChemoSpecUtils ChemoSpec2D GSOC

Major improvements!

Bryan Hanson
2021-10-13
GSOC_logo It’s been quiet around this blog because supervising two students for Google Summer of Code has kept me pretty busy! But we have some news…

Thanks to Mr. Tejasvi Gupta and the support of GSOC, ChemoSpec and ChemoSpec2D were extended to produce ggplot2 graphics and plotly graphics! ggplot2 is now the default output, and the ggplot2 object is returned, so if one doesn’t like the choice of theme or any other aspect, one can customize the object to one’s desire. The ggplot2 graphics output are generally similar in layout and spirit to the base graphics output, but significant improvements have been made in labeling data points using the ggrepel package. The original base graphics are still available as well. Much of this work required changes in ChemoSpecUtils which supports the common needs of both packages.

Tejasvi did a really great job with this project, and I think users of these packages will really like the results. We have greatly expanded the pre-release testing of the graphics, and as far as we can see every thing works as intended. Of course, please file an issue if you see any problems or unexpected behavior.

To see more about how the new graphics options work, take a look at GraphicsOptions. Here are the functions that were updated:

Tejasvi and I are looking forward to your feedback. There are many other smaller changes that we’ll let users discover as they work. And there’s more work to be done, but other projects need attention and I need a little rest!

Citation

For attribution, please cite this work as

Hanson (2021, Oct. 13). Chemometrics & Spectroscopy Using R: GSOC 2021: New Graphics for ChemoSpec. Retrieved from https://chemospec.org/posts/2021-10-13-GSOC-CS-Graphics/

BibTeX citation

@misc{hanson2021gsoc,
  author = {Hanson, Bryan},
  title = {Chemometrics & Spectroscopy Using R: GSOC 2021: New Graphics for ChemoSpec},
  url = {https://chemospec.org/posts/2021-10-13-GSOC-CS-Graphics/},
  year = {2021}
}