Package: sparseMatrixStats 1.23.0

Image

Constantin Ahlmann-Eltze

sparseMatrixStats: Summary Statistics for Rows and Columns of Sparse Matrices

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.

Authors:Constantin Ahlmann-Eltze [aut, cre]

sparseMatrixStats_1.23.0.tar.gz
sparseMatrixStats_1.23.0.zip(r-4.6)sparseMatrixStats_1.23.0.zip(r-4.5)sparseMatrixStats_1.23.0.zip(r-4.4)
sparseMatrixStats_1.23.0.tgz(r-4.5-x86_64)sparseMatrixStats_1.23.0.tgz(r-4.5-arm64)
sparseMatrixStats_1.23.0.tar.gz(r-4.6-arm64)sparseMatrixStats_1.23.0.tar.gz(r-4.6-x86_64)sparseMatrixStats_1.23.0.tar.gz(r-4.5-arm64)sparseMatrixStats_1.23.0.tar.gz(r-4.5-x86_64)
sparseMatrixStats_1.23.0.tgz(r-4.5-emscripten)
sparseMatrixStats.pdf |sparseMatrixStats.html
sparseMatrixStats/json (API)
NEWS

# Install 'sparseMatrixStats' in R:
install.packages('sparseMatrixStats', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/const-ae/sparsematrixstats/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On BioConductor:sparseMatrixStats-1.23.0(bioc 3.23)sparseMatrixStats-1.22.0(bioc 3.22)

infrastructuresoftwaredatarepresentationcpp

11.98 score 54 stars 148 packages 284 scripts 28k downloads 72 exports 5 dependencies

Last updated from:15924879b9. Checks:12 NOTE, 2 OK. Indexed: yes.

TargetResultTotal timeArtifact
bioc-checksNOTE193
linux-devel-arm64NOTE189
linux-devel-x86_64NOTE166
source / vignettesOK223
linux-release-arm64NOTE222
linux-release-x86_64NOTE163
macos-release-arm64NOTE103
macos-release-x86_64NOTE241
macos-oldrel-arm64NOTE110
macos-oldrel-x86_64NOTE220
windows-develNOTE134
windows-releaseNOTE141
windows-oldrelNOTE139
wasm-releaseOK112

Exports:colAllscolAnyNAscolAnyscolAvgsPerRowSetcolCollapsecolCountscolCummaxscolCumminscolCumprodscolCumsumscolDiffscolIQRDiffscolIQRscolLogSumExpscolMadDiffscolMadscolMaxscolMeans2colMedianscolMinscolOrderStatscolProdscolQuantilescolRangescolRankscolSdDiffscolSdscolSums2colTabulatescolVarDiffscolVarscolWeightedMadscolWeightedMeanscolWeightedMedianscolWeightedSdscolWeightedVarsrowAllsrowAnyNAsrowAnysrowAvgsPerColSetrowCollapserowCountsrowCummaxsrowCumminsrowCumprodsrowCumsumsrowDiffsrowIQRDiffsrowIQRsrowLogSumExpsrowMadDiffsrowMadsrowMaxsrowMeans2rowMediansrowMinsrowOrderStatsrowProdsrowQuantilesrowRangesrowRanksrowSdDiffsrowSdsrowSums2rowTabulatesrowVarDiffsrowVarsrowWeightedMadsrowWeightedMeansrowWeightedMediansrowWeightedSdsrowWeightedVars

Dependencies:latticeMatrixMatrixGenericsmatrixStatsRcpp

sparseMatrixStats

Rendered fromsparseMatrixStats.Rmdusingknitr::rmarkdownon Nov 23 2025.

Last update: 2020-05-10
Started: 2020-04-03

Readme and manuals

Help Manual

Help pageTopics
Check if all elements in a row (column) of a matrix-like object are equal to a valuecolAlls,xgCMatrix-method rowAlls,xgCMatrix-method
Check if any elements in a row (column) of a matrix-like object is missingcolAnyNAs,xgCMatrix-method rowAnyNAs,xgCMatrix-method
Check if any elements in a row (column) of a matrix-like object is equal to a valuecolAnys,xgCMatrix-method rowAnys,xgCMatrix-method
Calculates for each row (column) a summary statistic for equally sized subsets of columns (rows)colAvgsPerRowSet colAvgsPerRowSet,xgCMatrix-method rowAvgsPerColSet,xgCMatrix-method
Extract one cell from each row (column) of a matrix-like objectcolCollapse,xgCMatrix-method rowCollapse,xgCMatrix-method
Count how often an element in a row (column) of a matrix-like object is equal to a valuecolCounts,xgCMatrix-method rowCounts,xgCMatrix-method
Calculates the cumulative maxima for each row (column) of a matrix-like objectcolCummaxs,dgCMatrix-method rowCummaxs,dgCMatrix-method
Calculates the cumulative minima for each row (column) of a matrix-like objectcolCummins,dgCMatrix-method rowCummins,dgCMatrix-method
Calculates the cumulative product for each row (column) of a matrix-like objectcolCumprods,xgCMatrix-method rowCumprods,xgCMatrix-method
Calculates the cumulative sum for each row (column) of a matrix-like objectcolCumsums,xgCMatrix-method rowCumsums,xgCMatrix-method
Calculates the difference between each element of a row (column) of a matrix-like objectcolDiffs,dgCMatrix-method rowDiffs,dgCMatrix-method
Calculates the interquartile range of the difference between each element of a row (column) of a matrix-like objectcolIQRDiffs,dgCMatrix-method rowIQRDiffs,dgCMatrix-method
Calculates the interquartile range for each row (column) of a matrix-like objectcolIQRs,xgCMatrix-method rowIQRs,xgCMatrix-method
Accurately calculates the logarithm of the sum of exponentials for each row (column) of a matrix-like objectcolLogSumExps,xgCMatrix-method rowLogSumExps,xgCMatrix-method
Calculates the mean absolute deviation of the difference between each element of a row (column) of a matrix-like objectcolMadDiffs,dgCMatrix-method rowMadDiffs,dgCMatrix-method
Calculates the median absolute deviation for each row (column) of a matrix-like objectcolMads,dgCMatrix-method rowMads,dgCMatrix-method
Calculates the maximum for each row (column) of a matrix-like objectcolMaxs,dgCMatrix-method rowMaxs,dgCMatrix-method
Calculates the mean for each row (column) of a matrix-like objectcolMeans2,xgCMatrix-method rowMeans2,xgCMatrix-method
Calculates the median for each row (column) of a matrix-like objectcolMedians,dgCMatrix-method rowMedians,dgCMatrix-method
Calculates the minimum for each row (column) of a matrix-like objectcolMins,dgCMatrix-method rowMins,dgCMatrix-method
Calculates an order statistic for each row (column) of a matrix-like objectcolOrderStats,dgCMatrix-method rowOrderStats,dgCMatrix-method
Calculates the product for each row (column) in a matrixcolProds,xgCMatrix-method rowProds,xgCMatrix-method
Calculates quantiles for each row (column) of a matrix-like objectcolQuantiles,xgCMatrix-method rowQuantiles,xgCMatrix-method
Calculates the minimum and maximum for each row (column) of a matrix-like objectcolRanges,dgCMatrix-method rowRanges,dgCMatrix-method
Calculates the rank of the elements for each row (column) of a matrix-like objectcolRanks,dgCMatrix-method rowRanks,dgCMatrix-method
Calculates the standard deviation of the difference between each element of a row (column) of a matrix-like objectcolSdDiffs,dgCMatrix-method rowSdDiffs,dgCMatrix-method
Calculates the standard deviation for each row (column) of a matrix-like objectcolSds,xgCMatrix-method rowSds,xgCMatrix-method
Calculates the sum for each row (column) of a matrix-like objectcolSums2,xgCMatrix-method rowSums2,xgCMatrix-method
Tabulates the values in a matrix-like object by row (column)colTabulates,xgCMatrix-method rowTabulates,xgCMatrix-method
Calculates the variance of the difference between each element of a row (column) of a matrix-like objectcolVarDiffs,dgCMatrix-method rowVarDiffs,dgCMatrix-method
Calculates the variance for each row (column) of a matrix-like objectcolVars,xgCMatrix-method rowVars,xgCMatrix-method
Calculates the weighted median absolute deviation for each row (column) of a matrix-like objectcolWeightedMads,dgCMatrix-method rowWeightedMads,dgCMatrix-method
Calculates the weighted mean for each row (column) of a matrix-like objectcolWeightedMeans,xgCMatrix-method rowWeightedMeans,xgCMatrix-method
Calculates the weighted median for each row (column) of a matrix-like objectcolWeightedMedians,dgCMatrix-method rowWeightedMedians,dgCMatrix-method
Calculates the weighted standard deviation for each row (column) of a matrix-like objectcolWeightedSds,xgCMatrix-method rowWeightedSds,xgCMatrix-method
Calculates the weighted variance for each row (column) of a matrix-like objectcolWeightedVars,xgCMatrix-method rowWeightedVars,xgCMatrix-method
Union of double and logical column-sparse matricesxgCMatrix-class

  • Image