Skip to content

sparseMatrixStats

Bioc current

Summary Statistics for Rows and Columns of Sparse Matrices

v1.24.0 · Package record · 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.

Advisories

None published for Bioconductor

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,119

Files

70

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 164 (2%)

API

Exported functions

0

Internal functions

39

Testing

Has tests

Yes

Test-to-code ratio

0.55

testthat edition

–

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 externalC++11

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,426 LOCv3.12: 7,087 LOCv3.13: 7,884 LOCv3.14: 7,883 LOCv3.15: 7,883 LOCv3.16: 7,883 LOCv3.17: 7,784 LOCv3.18: 7,852 LOCv3.19: 7,870 LOCv3.20: 8,119 LOCv3.21: 8,119 LOCv3.22: 8,119 LOCv3.23: 8,119 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 · 1,522 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structuredCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
37
Examples that run
100%36 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
0%
Vignettes (1)

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/const-ae/sparsematrixstats on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting
How this is detected·Detection ruleset v3 (2026-09-26)

Topics

Available on

CRANr2uBioconductorautoCRANCOPR

Depended on by (22)

Show all 36 packagesHide all 36 packages

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 package has no citation file, so citation() returns this entry built from DESCRIPTION.

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-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-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