- Added
lp_peak_density()for peak density plots that mirrorxcms::plotChromPeakDensity(): y-axis shows sample indices positioned within the kernel density range, x-axis shows RT, coloured points mark individual detected peaks per sample, and a density line is overlaid. Whenmin_fractionandsample_groupsare provided the density-descent grouping algorithm is simulated and semi-transparent rectangles highlight RT regions that would form feature groups. When used afterlp_chromatogram(),featuresis inherited automatically. Supportsrt_unit("second"/"minute"),bw,min_samples,max_features, and multiple m/z windows with auto-faceting. - Fixed
highlight_peaks_mode = "rectangle"and"point"inlp_chromatogram(): geoms now useinherit.aes = FALSEto avoid evaluating the globalx = rt_plotaesthetic againstdetected_peaks, which previously caused anobject 'rt_plot' not founderror. RT values for rectangle and point modes are now scaled correctly whenrt_unit = "minute". - Added
line_typeparameter tolp_chromatogram()(passed through togeom_line(); any ggplot2 linetype string is accepted). - Added
x_dim,y_dim, andfill_scaleparameters tolp_intensity_map(), allowing the m/z and RT axes to be swapped and the fill colour scale to be replaced with any ggplot2 scale object. - Expanded the "Plot peak density" section of the
lcms_data_plottingvignette with explanatory prose and a combined chromatogram + peak density example.
- Migrated all internal data structures from
data.frametotibble;tibbleis now a formalImportsdependency. - Fixed
all_of()call in theDBIConnectionchromatogram creator to pass column names as a single character vector. - Qualified
tibble()calls inMZmineFeatureListsSourceandMsDialPeaksSourceexamples astibble::tibble()to avoidcould not find function "tibble"errors duringR CMD check. - Expanded
get_metadata()documentation with dedicated sections describing the behaviour for all nine dispatch methods:character,XCMSnExp,MsExperiment,MChromatograms,XChromatograms,XChromatogram,XcmsRawList,ExternalDataSource, andDBIConnection.
- Added support for
xcmsRawobjects via the newXcmsRawListS4 container andcreate_xcms_raw_list()convenience helper that reads files in parallel viaBiocParallel. - Added
XcmsRawReader, aMsRawReadersubclass that reads scan headers and peaks directly from in-memoryxcmsRawslots without opening a file connection. - Added support for
XChromatograms,XChromatogram, andMChromatogramsas direct data inputs tolcmsPlot(). XChromatogramsnow automatically derive afeature_idfrom the m/z and RT ranges of each row, enabling faceting and gridding onfeature_id.- Refactored the chromatogram creator into a unified
create_chromatograms()S4 generic replacing the four previous specialised generics. - Added
na.rmargument tolp_chromatogram()to remove data points withNAintensity before plotting. - Added GitHub Actions CI workflow (
.github/workflows/R-CMD-check.yaml) that runsdevtools::test()andrcmdcheck::rcmdcheck()against the Bioconductor devel Docker image on every push and pull request todevel.
- Fixed
<-vs=assignment NOTE raised byR CMD CHECK.
- Addressed second round of Bioconductor pre-acceptance review comments.
- Added titles to all vignette code chunks for improved readability.
- Added runnable
\dontrun{}examples toMZmineFeatureListsSourceandMsDialPeaksSourcedocumentation.
- Added support for MZmine (v2+) feature lists via
MZmineFeatureListsSource. - Added support for MS-DIAL peak tables via
MsDialPeaksSource. - Updated vignette with MZmine and MS-DIAL interoperability sections.
- Version bump.
- Added support for Compound Discoverer results files (
.cdResult) via a new SQL-based data source backed byDBI/RSQLite. - Added
lp_compound_discoverer()for loading and querying Compound Discoverer results directly within thelcmsPlotpipeline. - Updated
lcmsPlotclass documentation.
- Removed redundant example from
lcmsPlotClassdocumentation.
- Major codebase refactoring for Bioconductor standards compliance.
get_metadata()forXCMSnExpandMsExperimentnow falls back to derivingsample_idfrom file basenames when nosample_id_columnis present.
- Added figure dimension options (
fig.height,fig.width) to vignette chunks for consistent rendered output.
- Version bump; standardised
@returndocumentation across all exported functions.
- Added
@returndocumentation to exported functions. - Fixed xcms namespace qualification in the test helper.
- Fixed use of
AnnotatedDataFrame(was incorrectly usingNAnnotatedDataFramein some code paths).
- Fixed namespace qualification for
xcmsandpatchworkcalls.
- Fixed
MulticoreParamcall in vignette.
- Fixed
BiocParallelnamespace registration in vignette.
- Initial Bioconductor submission.
- Added comprehensive roxygen2 documentation with examples for all exported functions.
- Added
testthat(edition 3) test suite covering chromatogram, spectra, and intensity map creators. - Updated README with package overview and usage example.
- Initial implementation of
lcmsPlot. lcmsPlot()entry point acceptingMsExperiment,XCMSnExp, and raw file paths (character) as data sources.lp_chromatogram(): base peak chromatograms (BPC), total ion chromatograms (TIC), and extracted ion chromatograms (XIC) with configurable m/z and RT tolerances.lp_spectra(): mass spectra extraction with"closest","closest_apex", and"across_peak"scan-selection modes; standalone and chromatogram-linked display; spectral mirror plots.lp_intensity_map(): two-dimensional m/z vs RT intensity maps with optional density smoothing.lp_total_ion_current(): TIC distributions as violin or box plots.lp_mass_trace(): mass trace overlays below chromatogram panels.lp_rt_line(): vertical reference lines at specified retention times.lp_rt_diff_plot(): retention-time correction diagnostic plot.lp_facets(),lp_grid(),lp_arrange(),lp_layout(): flexible panel layout helpers.lp_labels(),lp_legend(): axis and legend annotation helpers.highlight_peaksandhighlight_apicesoptions inlp_chromatogram().MsExperimentsupport including retention-time corrected chromatograms (rt_type = "corrected"/"both").