ChemoSpecUtils Update
R
ChemoSpecUtils
Improvments to ChemoSpecUtils
ChemoSpecUtils
, a package that supports the common needs of ChemoSpec and ChemoSpec2D, has been updated to fix an unfortunate distance calculation error in version 0.4.38, released in January of this year. From the NEWS file for version 0.4.51:
- Function
rowDist
, which supports a number of functions, was overhauled to address confusion in the documentation, and in my head, about distances vs. similarities. Also, different definitions found in the literature were documented more clearly. The Minkowski distance option was removed (ask if you want it back), code was cleaned up, documentation greatly improved, an example was added and unit tests were added. Plot scales were also corrected as necessary. Depending upon which distance option is chosen, this change affectshcaSpectra
,plotSpectraDist
,sampleDist
andhcaScores
in packageChemoSpec
as well ashats_alignSpectra2D
andhcaScores
in packageChemoSpec2D
.
This brings to mind a Karl Broman quote I think about frequently:
“Open source means everyone can see my stupid mistakes. Version control means everyone can see every stupid mistake I’ve ever made.”
– Karl Broman
Reuse
Citation
BibTeX citation:
@online{hanson2020,
author = {Hanson, Bryan},
title = {ChemoSpecUtils {Update}},
date = {2020-04-27},
url = {http://chemospec.org/posts/2020-04-27-CSU-update/2020-04-27-CSU-update.html},
langid = {en}
}
For attribution, please cite this work as:
Hanson, Bryan. 2020. “ChemoSpecUtils Update.” April 27,
2020. http://chemospec.org/posts/2020-04-27-CSU-update/2020-04-27-CSU-update.html.