Spectra
Bioc currentSpectra Infrastructure for Mass Spectrometry Data
Release Lineage
Entered 3.12 · Oct 28, 2020
Current · Requires R 4.6
Description
The Spectra package defines an efficient infrastructure for storing and handling mass spectrometry spectra and functionality to subset, process, visualize and compare spectra data. It provides different implementations (backends) to store mass spectrometry data. These comprise backends tuned for fast data access and processing and backends for very large data sets ensuring a small memory footprint.
None published for Bioconductor
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
123 35 exported
Complexity
4 avg / 15 max
Call network
123 nodes / 40 edges
Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
32,977
Files
109
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
36
Internal functions
86
Recent export changes
Testing
Has tests
Yes
Test-to-code ratio
0.79
testthat edition
–
Docs
Roxygen coverage
100%
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
0
Dep constraint coverage
13.3%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.1.0
System requirements
–
C++ standard
–
License
Artistic-2.0
License flags
SPDX valid, OSI approved
History
Versions
12
First release
2020-11-25
Latest release
2026-06-08
Avg cadence
188 days
Cold removal rate
100%
Dep drift
3
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.
Documentation
- Help pages
- 27 (1 internal)
- Examples that run
- 100%22 run in a plain check
- Exported functions with examples
- 85%
- Documented parameters
- 89%
- Return-value docs
- 80%
- Help pages citing references
- 7%
Repository practices
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/rformassspectrometry/spectra on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-14 · The repository has a site deploy workflow
Datasets
Topics
Depended on by (22)
Show all 27 packagesHide all 27 packages
Bioconductor (22)
People
- RforMassSpectrometry Package Maintainer maintainer
- Guillaume Deflandre contributor
- Mar Garcia-Aloy contributor
- Laurent Gatto author
- Sebastian Gibb author
- Philippine Louail author
- Ahlam Mentag contributor
- Johannes Rainer author
- Nir Shahaf contributor
- Jan Stanstrup contributor
Cite
Cite this package
Run in R for the authors' entry:
citation("Spectra")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.3390/metabo12020173.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.