Skip to content

Spectra

Bioc current

Spectra Infrastructure for Mass Spectrometry Data

v1.22.2 · software · Artistic-2.0

Release Lineage

Entered 3.12 · Oct 28, 2020

Current · Requires R 4.6

1.0 In 12 of 49 releases 3.23

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.

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.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

32,977

Files

126

Compiled share

0%

Has compiled src

No

Language breakdown

R 13,683 (41.5%)Tests 8,911 (27%)Docs 6,631 (20.1%)Vignettes 3,752 (11.4%)

API

Exported functions

36

Internal functions

86

Recent export changes

v3.23+2 rbindlistWithRownames, shiftPeaks
v3.22+2 fragmentGroupIndex, precursorPurity

Testing & CI

Has tests

Yes

Test-to-code ratio

0.79

testthat edition

CI present

Yes

CI type

["github-actions"]

PR gated

Yes

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

v3.12: 15,088 LOCv3.13: 15,950 LOCv3.14: 16,581 LOCv3.15: 19,790 LOCv3.16: 21,995 LOCv3.17: 24,934 LOCv3.18: 26,565 LOCv3.19: 28,042 LOCv3.20: 31,140 LOCv3.21: 31,642 LOCv3.22: 32,350 LOCv3.23: 32,977 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.

Documentation

Documentation
READMEYes · 578 wordsVignettesYes · dynamicpkgdown siteYesNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
89%
Return-value docs
80%
References docs
7%

Topics

Depended on by (24)

CRAN (2)

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("Spectra")
RforMassSpectrometry Package Maintainer, Deflandre, G., Garcia-Aloy, M., Gatto, L., Gibb, S., Louail, P., Mentag, A., Rainer, J., Shahaf, N., & Stanstrup, J. (2026). Spectra: Spectra Infrastructure for Mass Spectrometry Data (Version 1.22.2) [Computer software]. https://bioconductor.org/packages/Spectra

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for Spectra version 1.22.2 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy