Bioconductor Developer Survey 2026 Now Open!

SpectraStash

This is the development version of SpectraStash; to use it, please install the devel version of Bioconductor.

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.

Author: Johannes Rainer [aut, cre] ORCID iD ORCID: 0000-0002-6977-7147 , Philippine Louail [aut] ORCID iD ORCID: 0009-0007-5429-6846 , Laurent Gatto [ctb] ORCID iD ORCID: 0000-0002-1520-2268 , Gabriele Tomè [ctb] (ORCID: ORCID iD ORCID: 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.)

Maintainer: Johannes Rainer <Johannes.Rainer at eurac.edu>

DOI: 10.18129/B9.bioc.SpectraStash

Citation

From within R, enter citation("SpectraStash"):

Johannes Rainer, Philippine Louail. SpectraStash: Serialize and restore Spectra objects in interoperable file formats. doi:10.18129/B9.bioc.SpectraStash, R package version 0.99.2, https://bioconductor.org/packages/SpectraStash.

Generated from the package metadata; it may differ from the package's own citation.

Installation

To install this package, start R (version "4.6") and enter:

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

## The following initializes the development version of Bioconductor
BiocManager::install(version = "devel")

BiocManager::install("SpectraStash")

For older versions of R, please refer to the appropriate Bioconductor release.

Details

Version0.99.2
LicenseGPL-3
URLhttps://github.com/RforMassSpectrometry/SpectraStash
Bug Reportshttps://github.com/RforMassSpectrometry/SpectraStash/issues
Last updated2026-09-10
In Bioconductor sinceBioC 3.24 (R-4.6)
Downloads rank2439 of 2,456
Source branchdevel
Build report Bioconductor build system, r-universe
biocViewsDataImport, Infrastructure, MassSpectrometry, Metabolomics, Proteomics, Software
Package Short Url https://bioconductor.org/packages/SpectraStash/

Documentation

To view documentation for the version of this package installed in your system, start R and enter:

browseVignettes("SpectraStash")
Safely Store MS Data Objects in a Portable Stash HTML R Script
Reference ManualPDF
NEWSText

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
Source Repositorygit clone https://git.bioconductor.org/packages/SpectraStash
Source Repository (Developer Access)git clone git@git.bioconductor.org:packages/SpectraStash
Package Downloads ReportDownload Stats
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