ChemoSpec 6.3.1 2025-09-08
Bug Fix
- Fixed an error in surveySpectrawithmethod = "sd"that had gone unnoticed since 2021.
ChemoSpec 6.3.0 2025-07-31
Misc
- Convert vignette to .Qmd for static formatting, and use a .Rnw to
process it. This allows a number of Suggests packages to be removed from
DESCRIPTION.
- Note: version 6.2.0 was on CRAN for a month or so w/o a
vignette.
ChemoSpec 6.1.12 2025-06-14
Misc
- At CRAN request, modified unit tests, examples and vignette to
better conform to noSuggests standard.
- New internal function .chkReqPkgs()to facilitate
better defensive programming.
- No user facing changes.
ChemoSpec 6.1.11 2025-04-09
Misc
- Fix broken cross references in help file per CRAN.
- Misc workflow modifications and changes necessary for
build/check.
- No user facing changes.
ChemoSpec 6.1.10 2024-02-03
Bug Fix
- Fixed a logic error in baselineSpectra()which
prevented plots from showing in the vignette (and presumeably any
report). Unfortunately also had to remove the ability to loop over the
various spectra with one call to the function.
Misc.
- Package clusterCritis back on CRAN so it was returned
toChemoSpec.
- Misc documentation format fixes caught by CRAN.
- Remove use of aaplyandarrangeto avoid
dependence onplyr.
ChemoSpec 6.1.9 2023-06-06
Misc.
- Fixed a problem with unit tests that should have been run only at
home that were being run at CRAN.
ChemoSpec 6.1.8 2023-06-03
Misc.
- Bumped version at the request of CRAN.
- Replaced use of @templatein documentation with inline
functions, as@templateis deprecated.
- There was no official 6.1.7 version, it got bogged down at
CRAN.
ChemoSpec 6.1.6 2023-04-20
Misc.
- Package clusterCritwas archived by CRAN, and hence was
removed fromChemoSpec. AffectsevalClustersfunction.
- Stopped exporting internal functions from ChemoSpecand
stopped re-exporting internal functions fromChemoSpecUtils, due to closer checking by CRAN.
- Not released to CRAN.
ChemoSpec 6.1.4 2022-10-21
Bug Fixes
- Fixed an ancient bug in cv_pcaSpectrawhich affected
the results. Data was being row scaled internally, this was removed.
Scaling was made consistent withc_pcaSpectra. Data will be
centered before proceeding (notice repeated from 6.1.3 which did not go
to CRAN).
New Features
- baselineSpectragains a new argument- showto allow control of which spectra are shown to the user after baseline
correction (notice repeated from 6.1.3 which did not go to CRAN).
New Functions
- averageReplicateswill average sample replicates and
return a new- Spectraobject
Misc.
- Removed remaining deprecation warnings about
plotScoresRGLandplotScores3D.
- Removed loopThroughSpectrawhich was “sort of”
deprecated. UsereviewAllSpectrainstead.
- normSpectradocumentation updated to include warning
about protein-containing samples and the PQN method.
ChemoSpec 6.1.3 2022-08-06
Misc.
- This version not on CRAN.
Bug Fixes
- Fixed an ancient bug in cv_pcaSpectrawhich affected
the results. Data was being row scaled internally, this was removed.
Scaling was made consistent withc_pcaSpectra. Data will be
centered before proceeding.
New Features
- baselineSpectragains a new argument- showto allow control of which spectra are shown to the user after baseline
correction.
ChemoSpec 6.1.2 2022-02-08
Misc.
- Removed stale entries in SuggestsandImports- housekeeping for CRAN, no user-facing
changes.
ChemoSpec 6.1.0 2022-01-08
Overhauled Functions
- mclust3dSpectrawas overhauled completely and now uses- plotlygraphics (an interactive plot appears in a browser
window). The color scheme was changed to use- Col12(see- ?colorSymbol).
Defunct Functions
- Functions plotScoresRGLandplotScores3Dhave been removed from the package. Please useplot3dScores, which usesplotly, as a
replacement.
New Features
- Tab completion for Spectraobjects implemented. In
RStudio typingSrE.IR$will show a list of possible
completions. In theRconsole, typingSrE.IR$followed by the tab key shows possible completions.
Misc.
- Fixed the example in hmapSpectra(the plotpwas not called).
- plotSpectraargument- lab.poscan now be
set to- "none"to supress labeling entirely (fixes issue
#88).
ChemoSpec 6.0.1 2021-10-09
Significant Changes to
Graphics Output
- Courtesy GSOC and Tejasvi Gupta, the following plotting functions
gain the ability to produce either basegraphics,ggplot2orplotlygraphics:
- plotSpectra
- surveySpectra
- surveySpectra2
- loopThruSpectra(which has been renamed to- reviewAllSpectra)
- plotScree(resides in- ChemoSpecUtils)
- plotScores(resides in- ChemoSpecUtils)
- plotLoadings(uses- patchworkand hence- plotlyis not relevant)
- plot2Loadings
- sPlotSpectra
- pcaDiag
- plotSampleDist
- aovPCAscores
- aovPCAloadings(uses- patchworkand hence- plotlyis not relevant)
 
- The ggplot2graphics output are generally similar in
layout and spirit to thebasegraphics output, but
significant improvements have been made in labeling data points using
theggrepelpackage. And of course theggplot2graphics can be modified after creation through the usual
mechanisms.
- The plotlygraphics output are interactive plots which
can be used for better understanding the data.plotlyprovides tools such as zoom, interactive labels and custom positioning
which are very useful.
- The graphics output options can be chosen by
options(ChemoSpecGraphics = "option").
- See the details in new help file ?GraphicsOptions.
- loopThruSpectrahas been renamed- reviewAllSpectrato better reflect what it does under the
new graphics options.
Misc.
- plotScree2which has been deprecated for some time now,
was removed.
- Functions with the leg.locargument now allow much more
flexibility with regard to how the legend is positioned. See the
documentation.
- plotSpectra, when using- basegraphics, now
positions the sample names by a different mechanism, but gives a similar
result.
ChemoSpec 5.3.21 2021-07-05
Misc.
- Update hmapSpectraas the wrapped function inseriationhas changed.
ChemoSpec 5.3.11 2021-03-24
Changes in
ChemoSpecUtils that affect ChemoSpec
- Documentation of ...insumSpectracorrected to show how to passtoltocheck4Gaps.
- Option to use Col7a palette of 7 colorblind-friendly
colors added tofiles2SpectraObjectdocumentation.
Misc.
- Checked against R4.04 RC
ChemoSpec 5.3.2 2020-08-09
Misc.
- Vignettes updated, and moved to html format.
- Continuous integration for building and checking, as well as
automated building of the pkgdowndocumentation site.
- The “Reference Spectrum” panel label in plotLoadingsshortened to “Ref. Spectrum” in order to fit the allotted space
better.
ChemoSpec 5.2.12 2020-01-23
Misc.
- Fixed class-checking issues due to changes coming in R 4.0 coming
soon.
- Improved documentation in various places.
- Added documentation for updateGroupswhich has been inChemoSpecUtilsfor a while but effectively hidden from
users ofChemoSpec.
- Fixed the example in plotSpectraDistwhich had strange
limits.
- Fixed the example in mclustSpectrawhich had an error
and used data that was not a good illustration.
- sampleDistSpectrawas renamed- sampleDistand moved to- ChemoSpecUtils. The internal workings and plot
details have changed.
Changes in
ChemoSpecUtils that affect ChemoSpec
- New color and symbol schemes are now provided for using during the
import process.
- removeFreqnow accepts a formula for- rem.freq. The old syntax remains valid. See the
documentation for- ChemoSpec2Dfor examples of how to
construct formulas.
- New functions sampleDist,sampleDist.SpectraandsampleDist.Spectra2D.
ChemoSpec 5.1.88 2019-11-14
Improvements
- Documentation for hypTestScoresnow shows several ways
to look at the results.
- files2SpectraObjectnow will pass the argument- SOFCto- readJDXif JCAMP-DX files are being
processed.
Bug Fixes
- In hmapSpectrathe return values (updated in version
5.1.48) were labeled incorrectly. Noticed by Gabriele Beltrame. The
function now returns everything returned byseriation::hmapmaking it easier for the user to extract the information they desire.
Documentation was improved, and additional examples were added
illustrating how to pass arguments downstream to customize the
plot.
- Fixed a bug in plotScores3DandplotScoresRGLin which the wrong percent variance was
plotted in the axes labels. Reported by Owen Horsfall.
ChemoSpec 5.1.48 2019-07-25
Improvements
- plotScoresRGLgains an argument- axeswhich
allows one to control the drawing of the reference axes.
- hmapSpectranow returns the carpet matrix in addition
to the sample and frequency rankings.
New Features
- A new vignette, Introduction to PCA, was added.
ChemoSpec 5.1.34 2019-06-23
Improvements
- matrix2SpectraObjectcan now handle multiple input
matrices (i.e. argument- in.filecan be a vector of file
names). The function now includes a progress bar, similar to- files2SpectraObject.
Bug Fixes
- Fixed a buglet in hcaSpectrathat involved an
undesirable cast to data frame, which upset the cosine calculation.
- evalClusterswas not returning the result in the case
of- pkg = "NbClust".
Misc.
- Unit test framework shifted to tinytest.
- Additional unit tests added.
ChemoSpec 5.1.9 2019-06-09
New Features
- Function s_pcaSpectrawhich performs sparse PCA
added.
- Function irlba_pcaSpectrawhich performs IRLBA PCA
added.
Improvements
- Numerous internal changes to the handling of PCA results were made
to accommodate the introduction of sparse PCA features, and allow for
easier future introduction of other PCA methods.
Bug Fixes
- An issue with the setting of x and y limits in
plotScoreswas fixed. This was a long standing bug that
somehow escaped notice from the early days of this package. Note thatplotScoresis actually inChemoSpecUtilsbut
is called fromChemoSpec, affecting the results here.
Misc.
- Function conColSchememoved to packageChemoSpecUtils.
- Documentation colorSymbolwas moved to packageChemoSpecUtils.
- Vignette updated regarding color issues.
ChemoSpec 5.0.229 2019-02-28
Misc.
- Unit tests added for .cleanArgs.
ChemoSpec 5.0.215 2018-12-06
Improvements
- files2SpectraObjectcan now accept any
arguments to- list.filesor- read.tablevia the
… mechanism. Arguments are sanitized more robustly. However, it is
possible to pass arguments that may not be of real utility. For instance- na.stringscan be specified, but any- NAin the
data imported will trigger warnings and errors.
Misc.
- plotScreeadded to- r_pcaSpectraexample.
ChemoSpec 5.0.207 2018-11-28
Improvements
- files2SpectraObjectcan now accept optional arguments- pathand- recursiveto allow reading through a
directory substructure. In addition, a progress bar is now displayed
unless- debug = TRUE. Both features suggested by Reinhard
Kerschner along with preliminary code (thanks!).
ChemoSpec 5.0.193 2018-11-20
Bug Fixes
- Fixed a problem with color assignment in .groupNcolor(the problem seems to have been present from the very beginning).
Reported by Reinhard Kerschner (many thanks!). Note.groupNcolornow resides inChemoSpecUtils.
Reported here for convenience.
Improvements
- matrix2SpectraObjectnow uses- tryCatch()to more gracefully fail and offer suggestions to user.
- files2SpectraObject
Notices