Recent Releases of chromatographr
chromatographr - v0.7.4
chromatographR 0.7.4
- Added new heatmap plot in
plot_chromsfor plotting a list of chromatograms as a heatmap. - Added labeling of spectral peaks for
ggplot2andplotlyplots inplot_spectrum. - Added minimum amplitude for labeling of spectral peaks in
plot_spectrum, such that peaks are given a text label only if they exceed 5% of the maximum signal intensity. - Removed
parallelandmc.coresargument frompreprocess(deprecated inv0.5.0). - Added
titleargument inplot_chroms. - Added option for different plotting engines through
engineargument inplot.ptw_list. - Added option for heatmap plots through
whatargument inplot.ptw_list. - Changed behavior of
reshape_chromssuch that it can be applied to 2D chromatograms without throwing an error. - Added index of functions to the package landing page.
- Made minor updates to function documentation.
Changes to GC-FID vignette
- Changed alignment plots to heatmaps rather than traces.
- Hid
ggordiplotfunction in "folded" code block - Added alt text to images.
- Updated call to
adonis2in accordance with new defaults invegan v2.7-0. - Made other minor changes to text.
Changes to chromatographR vignette
- Added figure demonstrating comparison of alignments with new
plot_chroms_heatmapfunction. - Added explanatory figure captions.
chromatographR 0.7.3
- Updated
reshape_peaktablefunction to include wavelength and retention time data. - Updated
pk_tabdata file to latest peak table format. - Fixed minor issues with roxygen formatting.
- Added functional "families".
- Fixed bug in
get_peakscausing occasional errors due to edge cases. - Added titles for ggplot2 and plotly
plot_spectrumplots. - Fixed bug in console output when providing chromatogram index as string to
plot_spectrum. - Changed default
ggplot2theme totheme_light.
- R
Published by ethanbass 9 months ago
chromatographr - v0.7.2
chromatographR 0.7.2
- Export
get_timesandget_lambdasfunctions. - Small revisions to documentation.
- Use
tryCatchto allow for missing spectra inplot_all_spectra. - Fixed rounding of p-values in
cluster_spectra. - Changed
alphaincluster_peaksto match common usage, such that thealphaparameter now specifies the significance level rather than the confidence level (1-alpha). - Deprecated
peak_noargument incluster_peaksin favor of newmin_sizeandmax_sizearguments.
- R
Published by ethanbass over 1 year ago
chromatographr - v0.7.1
chromatographR 0.7.1
- Fixed bug in
get_peakscausing peaks to erroneously filtered out in some cases. - Made small updates to documentation (in
preprocessandfit_peaksfunctions) to better describe arguments. - Added warning in
mirror_plotwhenvarcontains more than two levels and levels aren't specified. - Fixed bug to allow
mirror_plotto work properly with 2D data.
- R
Published by ethanbass almost 2 years ago
chromatographr - v0.6.1
chromatographR 0.6.1
- Fixed bug in plot functions (e.g.
plot_chromsandplot_spectrum) causing error when retention times are inconsistent between chromatograms. - Eliminated spurious warning in preprocess function.
- Updated
read_chromssyntax in vignette.
- R
Published by ethanbass about 2 years ago
chromatographr - v0.6.0
chromatographR 0.6.0
New features
- Enabled use of
parallelpackage for parallel processing (in addition to current options usingmcapply). (These options require the installation of suggested packagepbapply). - Updated
get_peaktablefor greater flexibility (e.g. for usage of 'Chemstation' peak lists as input).
Other changes
- Made some minor changes to vignette to improve clarity (e.g. using single wavelength for integration, etc.)
Bug fixes
- Fixed error in
attach_metadatawhen there are NA values in merge column.
- R
Published by ethanbass over 2 years ago
chromatographr - v0.5.6
chromatographR 0.5.6
- Fixed bug in preprocess function causing fatal error due to misrecognition of matrices.
- Fixed behavior of
plot_chromsandcorrect_rtto allow automatic detection oflambdafor 1D chromatograms. - Fixed bug in
combine_peaks(due to misplaced parenthesis). - Added new option to filter by maximum peak area or height in
filter_peaktable(what = "max"), as suggested by Katherine Holmes.
- R
Published by ethanbass over 2 years ago
chromatographr - v0.5.4
chromatographR 0.5.4
- Added
.zenodo.jsonfile.
- R
Published by ethanbass over 2 years ago
chromatographr - v0.5.3
chromatographR 0.5.3
- Fixed bug in
plot_chromscausing mismatched legend labels in base R plot. - Added additional arguments to
plot_chromsfunction:xlim,ylim, andlegend_position. - Added additional information about arguments available in
get_peaksfor fine-tuning the peak-finding algorithm (in response to #27).
- R
Published by ethanbass over 2 years ago
chromatographr - v0.5.2
chromatographR 0.5.2
- Added
metadataargument toreshape_peaktablefor filtering metadata fields. - Added option to for renaming peaks via
reshape_peaktableby providing a named list.
chromatographR 0.5.1
- In
plot_chroms,show_legendnow defaults to FALSE to prevent overloading of the plot.
Bug fixes
- Fixed syntactical bug in
get_peaktablewhen applied to gaussian peak list. - Fixed bug caused by improper transfer of
time.unitsmetadata byfilter_peaksfunction. - Added default for missing
time.unitsinplot.peak_list.
- R
Published by ethanbass over 2 years ago
chromatographr - v0.5.0
chromatographR 0.5.0
New features
- Added
ggplot2option toplot_spectrum,plot.peak_tableandplot_all_spectrafunctions. - Reworked
write_chromsfor more sensible handling of paths and addedfilenameargument. - Added additional argument to
reshape_chromsfunction for subsetting data by retention times (rts). - Added parallel processing through the
pbapplypackage for thecorrect_rt,get_peaks, andpreprocessfunctions by setting theclargument. - Updated
get_purityfunction to improve speed.
Other changes
- Changed behavior of
preprocesswhen inferring retention times so chromatograms are no longer rounded down to the largest integer. - In
preprocess, spectral smoothing is no longer applied on 2D chromatograms, removing error message when preprocess is used with default settings. - Changed
progress_barargument toshow_progressincorrect_rt,preprocessandget_peaksto fix strangepmatchbehavior with additional arguments to preprocess. - Changed orientation of "plotly" plots generated by
plot_spectrumto match other plotting engines. - Deprecated the
mc.coresargument incorrect_rtis now deprecated in favor of the newclargument. - Deprecated the
parallelargument inpreprocessin favor of just usingcl. - Changed name of first argument in
mirror_plotfrompeak_tabletox. Otherwise the function has not changed. - Updated
get_chrom_list(internal) to allow parsing of subsetted lists. - Moved position of
...argument to end inplot.peak_table. - Added additional tests, improving test coverage to 80%.
- R
Published by ethanbass almost 3 years ago
chromatographr - v0.4.8
- Fixed
merge_peaksfunction so it works properly (to combine 2 or more peaks in peak table). - Fixed bugs in
plot_chromspreventing plotting withggplot2and plotting wrong chromatograms in base R. - Added additional tests for
plot_chroms, reshape functions.
- R
Published by ethanbass almost 3 years ago
chromatographr - v0.4.7
chromatographR 0.4.7
- Added
reshape_peaktablefunction for conversion of peak tables to long format. - Turned off
estimate_purityinget_peaksfunction by default. - Added option to filter by wavelength in
reshape_chroms, speeding upplot_chroms.
- R
Published by ethanbass almost 3 years ago
chromatographr - v0.4.6
chromatographR 0.4.6
New Features
- Added
plot_chromsfunction for easily plotting multiple traces from a list of chromatograms. - Minor changes to internal syntax of
correct_rtto give more informative error messages. - Added
estimate_purityargument inget_peaksto toggle peak purity estimation. - Changed default setting for
progress_barincorrect_rtandget_peaks. Now defaults toTRUEifpbapplyis installed. - Added additional tests of utility functions and new
plot_chromsfunction. - Minor changes to vignette.
- Minor changes to documentation.
Bug fixes
- Fixed bug causing mismatched time axes and alignment issues after VPdtw warping (again), so that it returns matrices with a consistent time axis.
- Fixed y unit label in
boxplot.peak_tablefunction. - Fixed behavior of
plot_spectrumso spectrum is exported properly whenengine == plotly. - Fixed bug in
write_peaktablewhen writing toxlsx.
- R
Published by ethanbass almost 3 years ago
chromatographr - v0.4.5
chromatographR 0.4.5
New features
- Fixed bug causing mismatched time axes (and improper alignment of chromatograms) after variable penalty dynamic time warping (VPdtw).
- Added
reshape_chromsfunction for converting chromatograms to "long" format. - Added
write_peaktablefunction to easily write peak_table tocsvorxlsx. - Added
get_purityfunction for assessing peak purity. - Allow multiple peaks as arguments to
plot.peaktable. - Added functions for plotting traces and spectra with plotly:
plotly_traceandplotly_spec. - Fixed
preprocessso it will no longer try to interpolate along columns for 2D data. - Added stand-alone
boxplotfunction forpeak_tableobjects. - Fixed bug in
attach_metadatathat could result in disordered rows. - Changed
fit_peaksfunction and syntax (see below). - Added a new class (
ptw_list) and plotting function for lists ofptwalignment objects. - Added
plot_itargument incorrect_rtfor plotting alignments. - Added VPdtw as a dependency (instead of being only suggested).
- Adjusted
cluster_spectraandcombine_peaksfunctions so messages can be suppressed withverbose == FALSE. - Fixed occasional test failure on MKL server by skipping
cluster_spectratest on CRAN. - Updated find_peaks function with more and better smoothing options. The defaults smoothing is slightly changed. Find peaks will now do gaussian smoothing by default with
- Added
progress_baroption toget_peaksandcorrect_rt. - Improved error handling in
plot.peaklist. - Minor updates to vignette.
Changes to fit_peaks function:
- Simplified logic in
fit_peaksfunction. - Modified
fit_peakssyntax so it now takes a matrix (x) and a wavelength (lambda) instead of a numeric vector (y). - Incorporated assessment of peak purity during peak fitting.
- Added wavelength (
lambda) topeak_listandpeak_tablemetadata. - Fixed bug to allow fitting of a single peak with
fit_peaks.
- R
Published by ethanbass about 3 years ago
chromatographr - v0.4.4
chromatograph 0.4.4
- Fixed issue with tests when run on certain machines (MKL).
chromatograph 0.4.3
- Minor changes to documentation.
- Added additional check of chrom_list dimensions and names.
- R
Published by ethanbass over 3 years ago
chromatographr - v0.4.2
- Fixed typos in vignette
- Changed default behavior in
correct_rttocorrected_valuesrather thanmodels. - Fixed bug in
cluster_spectrawhen there's a peak with 0 SD. - Added more informative warnings and error messages to various functions.
- Allow preservation of instrumental metadata through preprocessing and alignment steps.
- Deprecated
load_chromsfunction. Please useread_chromsfrom chromConverter to import files instead. - Recommend installation of
VPdtwfrom CRAN instead of https://ethanbass.github.io/drat/ - Add option to
get_peaksto selecttime.unitsfor peak area. - Fixed bug affecting
peak_listmetadata. - Added
filter_peaktablefunction.
- R
Published by ethanbass over 3 years ago