Skip to content

sparseMatrixStats

Bioc current

Summary Statistics for Rows and Columns of Sparse Matrices

v1.24.0 · software · MIT + file LICENSE

Release Lineage

Entered 3.11 · Apr 28, 2020

Current · Requires R 4.6

1.0 In 13 of 49 releases 3.23

Description

High performance functions for row and column operations on sparse matrices. For example: col / rowMeans2, col / rowMedians, col / rowVars etc. Currently, the optimizations are limited to data in the column sparse format. This package is inspired by the matrixStats package by Henrik Bengtsson.

Test coverage

Line coverage

Expression

Tests / Examples

Functions

160 0 exported

Complexity

1.5 avg / 5 max

Call network

160 nodes / 176 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

8,121

Files

77

Compiled share

32.4%

Has compiled src

Yes

Language breakdown

R 1,843 (22.7%)C/C++/src 2,628 (32.4%)Tests 1,020 (12.6%)Docs 2,464 (30.3%)Vignettes 166 (2%)

API

Exported functions

0

Internal functions

39

Testing & CI

Has tests

Yes

Test-to-code ratio

0.55

testthat edition

CI present

Yes

CI type

["github-actions"]

PR gated

Yes

Docs

Roxygen coverage

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

40%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

1

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

13

First release

2020-05-24

Latest release

2026-04-28

Avg cadence

183 days

Cold removal rate

Dep drift

0

LOC over versions

v3.11: 6,428 LOCv3.12: 7,089 LOCv3.13: 7,886 LOCv3.14: 7,885 LOCv3.15: 7,885 LOCv3.16: 7,885 LOCv3.17: 7,786 LOCv3.18: 7,854 LOCv3.19: 7,872 LOCv3.20: 8,121 LOCv3.21: 8,121 LOCv3.22: 8,121 LOCv3.23: 8,121 LOC

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

Topics

Depended on by (36)

CRAN (10)

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sparseMatrixStats")
Ahlmann-Eltze, C. (2026). sparseMatrixStats: Summary Statistics for Rows and Columns of Sparse Matrices (Version 1.24.0) [Computer software]. https://bioconductor.org/packages/sparseMatrixStats

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 sparseMatrixStats version 1.24.0 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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