Bioc2026 Registration Open!

SpectraStash

Serialize and restore Spectra objects in interoperable file formats

Bioconductor version: 3.24 · Package version: 0.99.2

The serialization mechanism of R allows to save and load R data objects in a binary format, that can however not be read by other programming languages or software. The SpectraStash package implements the serialization methods from the MsStash package for Spectra objects and its MsBackend classes. A variety of different file formats and types, including HDF5 and JSON-based formats defined by the Bioconductor *alabaster* package are supported. The file type can be defined and configured through a second argument `param` of the save/read methods.

Installation

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("SpectraStash")

Details

MaintainerJohannes Rainer <Johannes.Rainer@eurac.edu>
AuthorJohannes Rainer [aut, cre] (ORCID: <https://orcid.org/0000-0002-6977-7147>), Philippine Louail [aut] (ORCID: <https://orcid.org/0009-0007-5429-6846>), Laurent Gatto [ctb] (ORCID: <https://orcid.org/0000-0002-1520-2268>), Gabriele Tomè [ctb] (ORCID: <https://orcid.org/0000-0002-3976-6068>, fnd: MetaRbolomics4Galaxy project (CUP: D53C25001030003) co-funded by the Autonomous Province of Bolzano under the Joint Projects South Tyrol–Germany 2025 program.)
LicenseGPL-3
URLhttps://github.com/RforMassSpectrometry/SpectraStash
Bug Reportshttps://github.com/RforMassSpectrometry/SpectraStash/issues
Source branchdevel
biocViewsDataImport, Infrastructure, MassSpectrometry, Metabolomics, Proteomics, Software

Documentation

Download

Follow the installation instructions to use this package in your R session.

Source packageSpectraStash_0.99.2.tar.gz
macOS binary (arm64)SpectraStash_0.99.2.tgz
macOS binary (x86_64)SpectraStash_0.99.2.tgz
Dependencies

Depends: R (>= 4.5.0), MsStash

Imports: methods, Spectra (>= 1.23.2), utils, S4Vectors, alabaster.base, jsonlite, BiocParallel

Suggests: BiocStyle, MsDataHub, testthat, mzR, fs, knitr, pkgload, callr