Skip to content

MSnbase

Bioc current

Base Functions and Classes for Mass Spectrometry and Proteomics

v2.38.1 · Package record · software · Artistic-2.0

Release Lineage

Entered 2.8 · Apr 14, 2011

Current · Requires R 4.6

1.0 In 31 of 49 releases 3.23

Description

MSnbase provides infrastructure for manipulation, processing and visualisation of mass spectrometry and proteomics data, ranging from raw to quantitative and annotated data.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

332 88 exported

Complexity

4.2 avg / 52 max

Call network

332 nodes / 236 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

42,141

Files

316

Compiled share

2.7%

Has compiled src

Yes

Language breakdown

R 18,181 (43.1%)C/C++/src 1,124 (2.7%)Tests 7,672 (18.2%)Docs 11,349 (26.9%)Vignettes 3,815 (9.1%)

API

Exported functions

92

Internal functions

211

Recent export changes

v3.8+7 meanMzInts, consensusSpectrum, hasSpectra +4 more  −2 readMzXMLData, combineSpectra
v3.7+7 as.data.frame.MSnExp, requiredFvarLabels, addMSnSetMetadata +4 more  −1 productMz

Testing

Has tests

Yes

Test-to-code ratio

0.42

testthat edition

–

Docs

Roxygen coverage

98.9%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

15.8%

Unsafe pattern score

3

Dep constraint coverage

34.6%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5

System requirements

–

C++ standard

–

License

Artistic-2.0

License flags

SPDX valid, OSI approved

History

Versions

31

First release

2011-09-20

Latest release

2026-08-07

Avg cadence

179 days

Cold removal rate

100%

Dep drift

31

LOC over versions

v2.8: 4,592 LOCv2.9: 7,028 LOCv2.10: 7,545 LOCv2.11: 9,744 LOCv2.12: 10,655 LOCv2.13: 11,522 LOCv2.14: 16,298 LOCv3.0: 19,666 LOCv3.1: 20,857 LOCv3.2: 22,943 LOCv3.3: 22,470 LOCv3.4: 29,167 LOCv3.5: 29,885 LOCv3.6: 34,520 LOCv3.7: 39,179 LOCv3.8: 41,909 LOCv3.9: 42,071 LOCv3.10: 42,303 LOCv3.11: 42,507 LOCv3.12: 42,751 LOCv3.13: 43,049 LOCv3.14: 43,370 LOCv3.15: 43,472 LOCv3.16: 43,490 LOCv3.17: 43,490 LOCv3.18: 43,497 LOCv3.19: 42,968 LOCv3.20: 42,966 LOCv3.21: 42,951 LOCv3.22: 42,953 LOCv3.23: 42,141 LOC

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

Documentation

In the Bioconductor 3.23 release
READMEYes · 407 wordsVignettesYes · 5 · dynamicNEWS· In the Bioconductor git repository, left out of the releaseCitation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
96 (1 internal)
Examples that run
96%80 run in a plain check · 3 never run
Exported functions with examples
83%
Documented parameters
96%
Return-value docs
65%
Help pages citing references
17%

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/lgatto/msnbase on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-10-02 · The repository has a site deploy workflow

pkgdown site last built 2026-10-02

Coverage (1)
Coverage reporting
Show all practicesHide 1 practice
Lint, format, editor (1)
EditorConfig
How this is detected·Detection ruleset v3 (2026-09-26)

Datasets

Bundled datasets · 31
NameClassSizeAlso in
M–––
M2–––
TMT10–––
TMT10ETD–––
TMT10HCD–––
TMT11–––
TMT11HCD–––
TMT16–––
TMT16HCD–––
TMT6–––
TMT6b–––
TMT6plexPurityCorrectionsdata.frame6 × 7No other package
TMT7–––
TMT7b–––
iTRAQ4–––
iTRAQ4plexPurityCorrectionsdata.frame4 × 5No other package
iTRAQ5–––
iTRAQ8–––
iTRAQ8plexPurityCorrectionsdata.frame8 × 9No other package
iTRAQ9–––
ipqf1–––
ipqf2–––
ipqf3–––
ipqf4–––
ipqf5–––
itraqdata–––
msnset–––
msnset2–––
msx–––
msx0–––
naset–––

All of MSnbase's data objects

Topics

Maintainer
Laurent Gatto

Available on

CRANr2uBioconductorautoCRANCOPR

Depended on by (38)

Show 48 packagesHide 48 packages

People

Cite

Cite this package

Run in R for the authors' entry:

citation("MSnbase")

The package provides a citation file, so citation() returns the authors' own entry.

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 MSnbase version 2.38.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

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