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: Development (3.24)

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>

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.4, 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.

Documentation

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

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

Details

biocViews DataImport, Infrastructure, MassSpectrometry, Metabolomics, Proteomics, Software
Version0.99.4
In Bioconductor sinceBioC 3.24 (R-4.6)
License GPL-3
Depends R (>= 4.5.0), MsStash
Imports methods, Spectra (>= 1.23.2), utils, S4Vectors, alabaster.base, jsonlite, BiocParallel
System Requirements
URLhttps://github.com/RforMassSpectrometry/SpectraStash
Bug Reportshttps://github.com/RforMassSpectrometry/SpectraStash/issues
See More
Suggests BiocStyle, MsDataHub, testthat, mzR, fs, knitr, pkgload, callr, MsBackendSql, RSQLite
Linking To
Enhances
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report Build Report, r-universe

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package SpectraStash_0.99.4.tar.gz
Windows Binary (x86_64) SpectraStash_0.99.3.zip
macOS Binary (big-sur-x86_64) SpectraStash_0.99.3.tgz
macOS Binary (sonoma-arm64) SpectraStash_0.99.3.tgz
Source Repositorygit clone https://git.bioconductor.org/packages/SpectraStash
Source Repository (Developer Access)git clone git@git.bioconductor.org:packages/SpectraStash
Package Short Url https://bioconductor.org/packages/SpectraStash/
Package Downloads ReportDownload Stats