GC/LC-MS Data Analysis for Environmental Science
Overview
Gas/Liquid Chromatography-Mass Spectrometer(GC/LC-MS) Data Analysis for Environmental Science. This package covered topics such molecular isotope ratio, matrix effects and Short-Chain Chlorinated Paraffins analysis etc. in environmental analysis.
New features and improvements
- **HORIZON Engine for formula decomposition**: Introduce the native **HORIZON** (Heavy-first Ordered Recursive Inference with Zero-loop Optimal Navigation) engine, completely eliminating the legacy dependency on Bioconductor's
Rdisopandimslib. Provides microsecond-level mass decomposition via heavy-element priority ordering, double-sided mass horizon pruning, and O(1) analytical leaf solving. - **Fiehn Seven Golden Rules**: Integrate full heuristic chemical validation rules (Kind & Fiehn 2007) including Senior's valence rules (Senior 1951), Hydrogen-to-Carbon (H/C) ratio bounds, heteroatom ratios (N/C, O/C, P/C, S/C, Halogen/C), and Double Bond Equivalents (DBE). Added exported function
checkGoldenRules(). - **Modern scoring metrics**: Added
scoreIsotopes()computing Cosine similarity (unweighted spectral dot product), weighted dot product (MassBank/NIST style), and multinomial log-likelihood between experimental and theoretical isotopic distributions. - **High-resolution instrument modeling**: Added instrument resolution ($R = m/\text{FWHM}$) and FWHM-based isotope peak merging, accurately modeling Orbitrap, Q-TOF, and FT-ICR isotopic profiles.
- **Batch vectorization and parallel computing**: Implemented vectorized and OpenMP multi-threaded mass decomposition (
rcpp_decompose_masses()), enabling high-throughput chemical formula decomposition of thousands of features in fractions of a second.getformula()now supports vectorized input and multi-threading vianthreads.
Bug fixes
- Fix
getisotopologues(): resolve variable shadowing and indexing bugs in isotopologue pair selection, correct relative abundance calculations, and introducecutoffparameter (default 0.05) with automatic fallback for molecules with few isotopic peaks.
Documentation and maintenance
- Clean up documentation and references across manual pages, fixing trailing punctuation in titles and resolving non-ASCII character warnings.
- Update documentation for
HRMF(),cleanMGF(), andgetisotopologues()to reflect the internal C++ formula engine instead of external package dependencies. - Ensure all exported functions have complete and valid Rd documentation.
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-11
- ERROR12 OK, 1 ERROR2026-10-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 78 (5 internal)
- Examples that run
- 51%27 run in a plain check · 26 never run
- Exported functions with examples
- 78%
- Documented parameters
- 99%
- Return-value docs
- 78%
- Help pages citing references
- 8%
- enviGCMS HTML
- Pooled QC analysis HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
PRs over time
Commits over time
Commit identities over time
5 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/yufree/envigcms on 2026-10-21.
GitHub Pages site last deployed 2026-10-09 · The repository has a site deploy workflow
pkgdown site last built 2026-10-09, before release 0.9.1 (2026-10-10)
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-04-09Named in .Rbuildignore: .claudeNamed in .gitignore: .claudeCommits: at least 1 crediting it in the message
- Claude Fable 51 commit · Jul 2026
Dependencies
Installing enviGCMS adds 12 packages (8 with compiled code, 15 MB of source tarballs). Heaviest: data.table 5.7 MB, igraph 4.8 MB, Rcpp 1.8 MB. 1 more not on CRAN is not measured.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.9.1Latest2026-10-10 · current release · diff ↗ ··
added 2 exports
checkGoldenRules, scoreIsotopes19 hours in CRAN's queue
Listed in CRAN's incoming queue from 2026-10-09 14:50 to 2026-10-10 10:19 UTC, in 5 readings. - 0.9.02026-10-07 · diff ↗ ·
removed 16 exports
GetIntegration, Getisotopologues, Integration, Mode, batch, cbmd, dotpanno, getdata, getdata2, getmzrt, plotanno, plotmsrt, plotrtms, qbatch, submd, xrankannoadded 9 exports
HRMF, cleanMGF, getHRMF, getintegration, getisotopologues, integration, plotEIC, plotTopMS1Peaks, plotTopMS2Peaks - RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- unarchivedReturned to CRAN2025-01-14
- 0.8.0
- archivedRemoved from CRAN2025-01-13issues were not corrected in time
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.7.12023-02-06 · diff ↗ ·
removed 21 exports
getbgremove, getbiotechrep, getfeaturesanova, getfeaturest, getgrouprep, getmzrt2, getoverlapmass, getoverlaprt, getsim, gettechrep, gettimegrouprep, getupload, getupload2, getupload3, plote, svabatch, svacor, svadata, svapca, svaplot, svauploadadded 7 exports
findpfc, getalign, getalign2, getcompare, getms1anno, getpn, getretcor - RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.6.62020-06-04 · diff ↗ ·
added 9 exports
dotpanno, findlipid, getMSP, getrangecsv, plotanno, plotpeak, plotridge, plotrug, xrankanno - RR 4.0.0 released · 2020-04-24
- 0.6.0
- 0.5.7
Show 8 earlier eventsHide 8 earlier events
- 0.5.52019-05-14 · diff ↗ ·
removed 4 exports
getQCraw, getmd, getmr, getmzrtcsvadded 17 exports
findohc, getcsv, getfilter, getformula, getmass, getmdh, getmdr, getoverlapmass, getoverlappeak, getoverlaprt, getpower, getrmd, getupload3, plotden, plotridges, plotrla, runMDPlot - RR 3.6.0 released · 2019-04-26
- 0.5.02018-04-26 · diff ↗ ·
added 15 exports
Mode, getarea, getareastd, getdata2, getdoe, getimputation, getmr, getmzrt, getmzrt2, getmzrtcsv, getsccp, getupload2, gifmr, plothm, runsccp - RR 3.5.0 released · 2018-04-23
- 0.3.42017-07-10 · diff ↗ ·
removed 3 exports
combinemd, comparems, getsubmdadded 26 exports
cbmd, getQCraw, getbgremove, getbiotechrep, getdata, getfeaturesanova, getfeaturest, getgrouprep, getmassdefect, getsim, gettechrep, gettimegrouprep, getupload, plote, plotmr, plotmrc, plotmz, plotpca, plotrsd, submd, svabatch, svacor, svadata, svapca, svaplot, svaupload - RR 3.4.0 released · 2017-04-21
- 0.1.12016-11-30
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-11-30
- Total releases
- 11 / 10 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5
- Bundled data
- 1.2 MB / 4 files
- Download size
- 1.6 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("enviGCMS")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1016/j.talanta.2016.11.046.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.