Package: msPurity Type: Package Title: Tools for LC-MSn-Based Metabolomics: Precursor Ion Purity Assessment, Fragmentation Data and Spectral Tree Processing, and Spectral Matching Version: 2.1.0 Date: 2026-11-22 Authors@R: c( person(given = "Thomas N.", family = "Lawson", email = "thomas.nigel.lawson@gmail.com", role = "aut", comment = c(ORCID = "0000-0002-5915-7980")), person(given = "Ossama", family = "Edbali", email = "o.edbali@bham.ac.uk", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-0132-8668")), person(given = "Ralf", family = "Weber", role = c("aut", "ths"), comment = c(ORCID = "0000-0002-8796-4771")), person(given = "Martin", family = "Jones", role = "ctb"), person(given = "Julien", family = "Saint-Vanne", role = "ctb"), person(given = "Andris", family = "Jankevics", role = "ctb"), person(given = "Mark", family = "Viant", role = "ths"), person(given = "Warwick", family = "Dunn", role = "ths")) URL: https://github.com/computational-metabolomics/msPurity/ Description: Provides tools for precursor ion purity assessment, processing fragmentation data and spectral trees, and spectral matching in LC-MSn-based metabolomics. Precursor ion purity estimates the contribution of a selected precursor to the signal within its isolation window, using neighbouring MS1 measurements for MS2 and linked parent fragmentation spectra for higher MSn levels. Fragmentation spectra can be associated with chromatographic features, filtered and averaged using acquisition-aware settings. Mass Spectral Trees link successive fragmentation spectra, while Precursor-Fragment Trees connect individual precursor and product peaks. Spectral matching compares measured or consensus spectra with experimental spectra and reference libraries, accounting for MS level, precursor relationships and acquisition conditions. The optional BLINK method computes approximate cosine similarity as described by Harwood et al. (2023) . Integration with 'Spectra' and 'xcms' connects spectrum handling and chromatographic feature information. Parquet datasets link raw measurements, processed spectra and reference libraries, retaining feature associations, processing settings and measurement provenance. Reusable parameter objects and recorded processing history support reproducible analysis and reopening of processed results. Spectrum selection, linked visualisation, library import and export, and reporting of feature information and spectral matches support downstream interpretation and data exchange. Encoding: UTF-8 License: GPL-3 + file LICENSE BugReports: https://github.com/computational-metabolomics/msPurity/issues/new Depends: Rcpp Imports: Matrix, plyr, dplyr (>= 1.1.0), dbplyr, duckdb, magrittr, foreach, parallel, doSNOW, stringr, mzR, Spectra (>= 1.22.0), ProtGenerics (>= 1.24.0), MsExperiment (>= 1.14.0), BiocGenerics, S4Vectors, IRanges, reshape2, fastcluster, ggplot2, DBI, RSQLite, BiocFileCache, BiocParallel, arrow (>= 14.0.0), jsonlite, MsBackendParquet (>= 0.99.12), methods, stats, tools, utils Suggests: igraph, lcmsPlot, MSnbase, testthat (>= 3.2.0), xcms, BiocStyle, knitr, rmarkdown, msPurityData, CAMERA, RPostgres, RMySQL, MsBackendMsp VignetteBuilder: knitr Roxygen: list(markdown = TRUE) biocViews: MassSpectrometry, Metabolomics, Software Collate: 'all-generics.R' 'averaging.R' 'combineAnnotations.R' 'create-database.R' 'createDatabase.R' 'deprecation.R' 'flag-filter-remove.R' 'fragment-links.R' 'iw-norm.R' 'mass-spectral-trees.R' 'matching-algs.R' 'meta_extract.R' 'msPurity.R' 'parquet-annotations.R' 'parquet-average.R' 'parquet-batches.R' 'parquet-blink.R' 'parquet-conditions.R' 'parquet-converter.R' 'parquet-index.R' 'parquet-library.R' 'parquet-live-source.R' 'parquet-manifest.R' 'parquet-matching.R' 'parquet-msn.R' 'parquet-purityA.R' 'parquet-read.R' 'parquet-schemas.R' 'parquet-spectra-library.R' 'parquet-sqlite.R' 'parquet-validate.R' 'parquet-validation-store.R' 'parquet-write.R' 'parquet-xcms.R' 'pcalc.R' 'precursor-fragment-trees.R' 'purityA-0-class.R' 'purityA-av-spectra.R' 'purityA-average-configured.R' 'purityA-average-graph.R' 'purityA-average-parameters.R' 'purityA-constructor.R' 'purityA-create-msp.R' 'purityA-feature-parameters.R' 'purityA-filter-frag-spectra.R' 'purityA-filter-parameters.R' 'purityA-frag4feature-rt.R' 'purityA-frag4feature.R' 'purityA-isolation.R' 'purityA-ms1-observations.R' 'purityA-msn-ancestry.R' 'purityA-msn-purity.R' 'purityA-msn-retention.R' 'purityA-processing.R' 'purityA-purity-parameters.R' 'purityA-purity-processing.R' 'purityA-spectra.R' 'purityA-study.R' 'purityA-validate.R' 'purityD-class.R' 'purityD-constructor.R' 'purityD-av-spectra.R' 'purityD-dims-purity.R' 'purityD-fileList.R' 'purityD-filterp.R' 'purityD-spectra.R' 'purityD-subtract.R' 'purityD-writeOut.R' 'purityX-class.R' 'purityX-constructor.R' 'purityX-inputs.R' 'purityX-parameters.R' 'purityX-processing.R' 'spectra-io.R' 'spectral-matching.R' 'spectralMatching.R' 'spectrum-pair-metadata.R' 'spectrum-pair.R' 'blink-scoring.R' 'spectra-search.R' 'spectra-search-provenance.R' 'splinepurity.R' 'tree-graphml.R' 'tree-igraph.R' 'tree-plot.R' 'tree-selection.R' 'xcms-compat.R' Config/roxygen2/version: 8.1.1 Config/pak/sysreqs: cmake libglpk-dev make libicu-dev libuv1-dev libxml2-dev libnetcdf-dev libssl-dev zlib1g-dev Repository: https://bioc.r-universe.dev Date/Publication: 2026-11-23 22:37:27 UTC RemoteUrl: https://github.com/bioc/msPurity RemoteRef: HEAD RemoteSha: 7afe5bb36970c5a61c142997143d6d8eed9c8572 NeedsCompilation: no Packaged: 2026-11-24 04:33:24 UTC; root Author: Thomas N. Lawson [aut] (ORCID: ), Ossama Edbali [aut, cre] (ORCID: ), Ralf Weber [aut, ths] (ORCID: ), Martin Jones [ctb], Julien Saint-Vanne [ctb], Andris Jankevics [ctb], Mark Viant [ths], Warwick Dunn [ths] Maintainer: Ossama Edbali