GSOC 2021: New Graphics for ChemoSpec

Major improvements!

Bryan Hanson


October 13, 2021

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!



BibTeX citation:
  author = {Bryan Hanson},
  title = {GSOC 2021: {New} {Graphics} for {ChemoSpec}},
  date = {2021-10-13},
  url = {},
  langid = {en}
For attribution, please cite this work as:
Bryan Hanson. 2021. “GSOC 2021: New Graphics for ChemoSpec.” October 13, 2021.