Package: sparseMatrixStats 1.17.2

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.17.2.tar.gz
sparseMatrixStats_1.17.2.zip(r-4.5)sparseMatrixStats_1.17.2.zip(r-4.4)sparseMatrixStats_1.17.2.zip(r-4.3)
sparseMatrixStats_1.17.2.tgz(r-4.4-arm64)sparseMatrixStats_1.17.2.tgz(r-4.4-x86_64)sparseMatrixStats_1.17.2.tgz(r-4.3-arm64)sparseMatrixStats_1.17.2.tgz(r-4.3-x86_64)
sparseMatrixStats_1.17.2.tar.gz(r-4.5-noble)sparseMatrixStats_1.17.2.tar.gz(r-4.4-noble)
sparseMatrixStats_1.17.2.tgz(r-4.4-emscripten)sparseMatrixStats_1.17.2.tgz(r-4.3-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'))

Peer review:

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

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

On BioConductor:sparseMatrixStats-1.17.0(bioc 3.20)sparseMatrixStats-1.16.0(bioc 3.19)

bioconductor-package

72 exports 7.49 score 5 dependencies 177 dependents

Last updated 28 days agofrom:da46dd6ce9

Exports:colAllscolAnyNAscolAnyscolAvgsPerRowSetcolCollapsecolCountscolCummaxscolCumminscolCumprodscolCumsumscolDiffscolIQRDiffscolIQRscolLogSumExpscolMadDiffscolMadscolMaxscolMeans2colMedianscolMinscolOrderStatscolProdscolQuantilescolRangescolRankscolSdDiffscolSdscolSums2colTabulatescolVarDiffscolVarscolWeightedMadscolWeightedMeanscolWeightedMedianscolWeightedSdscolWeightedVarsrowAllsrowAnyNAsrowAnysrowAvgsPerColSetrowCollapserowCountsrowCummaxsrowCumminsrowCumprodsrowCumsumsrowDiffsrowIQRDiffsrowIQRsrowLogSumExpsrowMadDiffsrowMadsrowMaxsrowMeans2rowMediansrowMinsrowOrderStatsrowProdsrowQuantilesrowRangesrowRanksrowSdDiffsrowSdsrowSums2rowTabulatesrowVarDiffsrowVarsrowWeightedMadsrowWeightedMeansrowWeightedMediansrowWeightedSdsrowWeightedVars

Dependencies:latticeMatrixMatrixGenericsmatrixStatsRcpp

sparseMatrixStats

Rendered fromsparseMatrixStats.Rmdusingknitr::rmarkdownon Jun 13 2024.

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