Releases: ethanbass/chromatographR
Releases · ethanbass/chromatographR
v0.7.2
chromatographR 0.7.2
- Export
get_times
andget_lambdas
functions. - Small revisions to documentation.
- Use
tryCatch
to allow for missing spectra inplot_all_spectra
. - Fixed rounding of p-values in
cluster_spectra
. - Changed
alpha
incluster_peaks
to match common usage, such that the
alpha
parameter now specifies the significance level rather than the
confidence level (1-alpha). - Deprecated
peak_no
argument incluster_peaks
in favor of newmin_size
andmax_size
arguments.
v0.7.1
chromatographR 0.7.1
- Fixed bug in
get_peaks
causing peaks to erroneously filtered out in some cases. - Made small updates to documentation (in
preprocess
andfit_peaks
functions) to better describe arguments. - Added warning in
mirror_plot
whenvar
contains more than two levels and levels aren't specified. - Fixed bug to allow
mirror_plot
to work properly with 2D data.
v0.6.1
v0.6.0
chromatographR 0.6.0
New features
- Enabled use of
parallel
package for parallel processing (in addition to current options usingmcapply
). (These options require the installation of suggested packagepbapply
). - Updated
get_peaktable
for 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_metadata
when there are NA values in merge column.
v0.5.6
chromatographR 0.5.6
- Fixed bug in preprocess function causing fatal error due to misrecognition of matrices.
- Fixed behavior of
plot_chroms
andcorrect_rt
to allow automatic detection oflambda
for 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.
v0.5.4
v0.5.3
chromatographR 0.5.3
- Fixed bug in
plot_chroms
causing mismatched legend labels in base R plot. - Added additional arguments to
plot_chroms
function:xlim
,ylim
, andlegend_position
. - Added additional information about arguments available in
get_peaks
for fine-tuning the peak-finding algorithm (in response to #27).
v0.5.2
chromatographR 0.5.2
- Added
metadata
argument toreshape_peaktable
for filtering metadata fields. - Added option to for renaming peaks via
reshape_peaktable
by providing a named list.
chromatographR 0.5.1
- In
plot_chroms
,show_legend
now defaults to FALSE to prevent overloading of the plot.
Bug fixes
- Fixed syntactical bug in
get_peaktable
when applied to gaussian peak list. - Fixed bug caused by improper transfer of
time.units
metadata byfilter_peaks
function. - Added default for missing
time.units
inplot.peak_list
.
v0.5.0
chromatographR 0.5.0
New features
- Added
ggplot2
option toplot_spectrum
,plot.peak_table
andplot_all_spectra
functions. - Reworked
write_chroms
for more sensible handling of paths and addedfilename
argument. - Added additional argument to
reshape_chroms
function for subsetting data by retention times (rts
). - Added parallel processing through the
pbapply
package for thecorrect_rt
,get_peaks
, andpreprocess
functions by setting thecl
argument. - Updated
get_purity
function to improve speed.
Other changes
- Changed behavior of
preprocess
when 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_bar
argument toshow_progress
incorrect_rt
,preprocess
andget_peaks
to fix strangepmatch
behavior with additional arguments to preprocess. - Changed orientation of "plotly" plots generated by
plot_spectrum
to match other plotting engines. - Deprecated the
mc.cores
argument incorrect_rt
is now deprecated in favor of the newcl
argument. - Deprecated the
parallel
argument inpreprocess
in favor of just usingcl
. - Changed name of first argument in
mirror_plot
frompeak_table
tox
. 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%.