DOI: 10.18129/B9.bioc.sparseMatrixStats  

Summary Statistics for Rows and Columns of Sparse Matrices

Bioconductor version: Release (3.17)

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.

Author: Constantin Ahlmann-Eltze [aut, cre]

Maintainer: Constantin Ahlmann-Eltze <artjom31415 at>

Citation (from within R, enter citation("sparseMatrixStats")):


To install this package, start R (version "4.3") and enter:

if (!require("BiocManager", quietly = TRUE))


For older versions of R, please refer to the appropriate Bioconductor release.


To view documentation for the version of this package installed in your system, start R and enter:



HTML R Script sparseMatrixStats
PDF   Reference Manual
Text   NEWS


biocViews DataRepresentation, Infrastructure, Software
Version 1.12.2
In Bioconductor since BioC 3.11 (R-4.0) (3.5 years)
License MIT + file LICENSE
Depends MatrixGenerics(>= 1.5.3)
Imports Rcpp, Matrix, matrixStats (>= 0.60.0), methods
LinkingTo Rcpp
Suggests testthat (>= 2.1.0), knitr, bench, rmarkdown, BiocStyle
SystemRequirements C++11
Depends On Me
Imports Me atena, DelayedMatrixStats, GSVA, SimBu
Suggests Me MatrixGenerics, scPCA
Links To Me
Build Report  

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package sparseMatrixStats_1.12.2.tar.gz
Windows Binary
macOS Binary (x86_64) sparseMatrixStats_1.12.2.tgz
macOS Binary (arm64) sparseMatrixStats_1.12.2.tgz
Source Repository git clone
Source Repository (Developer Access) git clone
Bioc Package Browser
Package Short Url
Package Downloads Report Download Stats
Old Source Packages for BioC 3.17 Source Archive

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: