Package: MatrixGenerics 1.19.0

Peter Hickey

MatrixGenerics: S4 Generic Summary Statistic Functions that Operate on Matrix-Like Objects

S4 generic functions modeled after the 'matrixStats' API for alternative matrix implementations. Packages with alternative matrix implementation can depend on this package and implement the generic functions that are defined here for a useful set of row and column summary statistics. Other package developers can import this package and handle a different matrix implementations without worrying about incompatibilities.

Authors:Constantin Ahlmann-Eltze [aut], Peter Hickey [aut, cre], Hervé Pagès [aut]

MatrixGenerics_1.19.0.tar.gz
MatrixGenerics_1.19.0.zip(r-4.5)MatrixGenerics_1.19.0.zip(r-4.4)MatrixGenerics_1.19.0.zip(r-4.3)
MatrixGenerics_1.19.0.tgz(r-4.4-any)MatrixGenerics_1.19.0.tgz(r-4.3-any)
MatrixGenerics_1.19.0.tar.gz(r-4.5-noble)MatrixGenerics_1.19.0.tar.gz(r-4.4-noble)
MatrixGenerics_1.19.0.tgz(r-4.4-emscripten)MatrixGenerics_1.19.0.tgz(r-4.3-emscripten)
MatrixGenerics.pdf |MatrixGenerics.html
MatrixGenerics/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/bioconductor/matrixgenerics/issues

On BioConductor:MatrixGenerics-1.17.1(bioc 3.20)MatrixGenerics-1.16.0(bioc 3.19)

infrastructuresoftwarebioconductor-packagecore-package

9.63 score 12 stars 1.3k packages 117 scripts 77 exports 1 dependencies

Last updated 26 days agofrom:dbb20c2336. Checks:OK: 1 NOTE: 6. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winNOTEOct 29 2024
R-4.5-linuxNOTEOct 29 2024
R-4.4-winNOTEOct 29 2024
R-4.4-macNOTEOct 29 2024
R-4.3-winNOTEOct 29 2024
R-4.3-macNOTEOct 29 2024

Exports:colAllscolAnyNAscolAnyscolAvgsPerRowSetcolCollapsecolCountscolCummaxscolCumminscolCumprodscolCumsumscolDiffscolIQRDiffscolIQRscolLogSumExpscolMadDiffscolMadscolMaxscolMeanscolMeans2colMedianscolMinscolOrderStatscolProdscolQuantilescolRangescolRankscolSdDiffscolSdscolSumscolSums2colTabulatescolVarDiffscolVarscolWeightedMadscolWeightedMeanscolWeightedMedianscolWeightedSdscolWeightedVarsnormarg_centerrowAllsrowAnyNAsrowAnysrowAvgsPerColSetrowCollapserowCountsrowCummaxsrowCumminsrowCumprodsrowCumsumsrowDiffsrowIQRDiffsrowIQRsrowLogSumExpsrowMadDiffsrowMadsrowMaxsrowMeansrowMeans2rowMediansrowMinsrowOrderStatsrowProdsrowQuantilesrowRangesrowRanksrowSdDiffsrowSdsrowSumsrowSums2rowTabulatesrowVarDiffsrowVarsrowWeightedMadsrowWeightedMeansrowWeightedMediansrowWeightedSdsrowWeightedVars

Dependencies:matrixStats

Readme and manuals

Help Manual

Help pageTopics
The MatrixGenerics packageMatrixGenerics-package class:matrix_OR_array_OR_table_OR_numeric matrix_OR_array_OR_table_OR_numeric matrix_OR_array_OR_table_OR_numeric-class
Check if all elements in a row (column) of a matrix-like object are equal to a valuecolAlls colAlls,ANY-method colAlls,matrix_OR_array_OR_table_OR_numeric-method rowAlls rowAlls,ANY-method rowAlls,matrix_OR_array_OR_table_OR_numeric-method
Check if any elements in a row (column) of a matrix-like object is missingcolAnyNAs colAnyNAs,ANY-method colAnyNAs,matrix_OR_array_OR_table_OR_numeric-method rowAnyNAs rowAnyNAs,ANY-method rowAnyNAs,matrix_OR_array_OR_table_OR_numeric-method
Check if any elements in a row (column) of a matrix-like object is equal to a valuecolAnys colAnys,ANY-method colAnys,matrix_OR_array_OR_table_OR_numeric-method rowAnys rowAnys,ANY-method rowAnys,matrix_OR_array_OR_table_OR_numeric-method
Calculates for each row (column) a summary statistic for equally sized subsets of columns (rows)colAvgsPerRowSet colAvgsPerRowSet,ANY-method colAvgsPerRowSet,matrix_OR_array_OR_table_OR_numeric-method rowAvgsPerColSet rowAvgsPerColSet,ANY-method rowAvgsPerColSet,matrix_OR_array_OR_table_OR_numeric-method
Extract one cell from each row (column) of a matrix-like objectcolCollapse colCollapse,ANY-method colCollapse,matrix_OR_array_OR_table_OR_numeric-method rowCollapse rowCollapse,ANY-method rowCollapse,matrix_OR_array_OR_table_OR_numeric-method
Count how often an element in a row (column) of a matrix-like object is equal to a valuecolCounts colCounts,ANY-method colCounts,matrix_OR_array_OR_table_OR_numeric-method rowCounts rowCounts,ANY-method rowCounts,matrix_OR_array_OR_table_OR_numeric-method
Calculates the cumulative maxima for each row (column) of a matrix-like objectcolCummaxs colCummaxs,ANY-method colCummaxs,matrix_OR_array_OR_table_OR_numeric-method rowCummaxs rowCummaxs,ANY-method rowCummaxs,matrix_OR_array_OR_table_OR_numeric-method
Calculates the cumulative minima for each row (column) of a matrix-like objectcolCummins colCummins,ANY-method colCummins,matrix_OR_array_OR_table_OR_numeric-method rowCummins rowCummins,ANY-method rowCummins,matrix_OR_array_OR_table_OR_numeric-method
Calculates the cumulative product for each row (column) of a matrix-like objectcolCumprods colCumprods,ANY-method colCumprods,matrix_OR_array_OR_table_OR_numeric-method rowCumprods rowCumprods,ANY-method rowCumprods,matrix_OR_array_OR_table_OR_numeric-method
Calculates the cumulative sum for each row (column) of a matrix-like objectcolCumsums colCumsums,ANY-method colCumsums,matrix_OR_array_OR_table_OR_numeric-method rowCumsums rowCumsums,ANY-method rowCumsums,matrix_OR_array_OR_table_OR_numeric-method
Calculates the difference between each element of a row (column) of a matrix-like objectcolDiffs colDiffs,ANY-method colDiffs,matrix_OR_array_OR_table_OR_numeric-method rowDiffs rowDiffs,ANY-method rowDiffs,matrix_OR_array_OR_table_OR_numeric-method
Calculates the interquartile range of the difference between each element of a row (column) of a matrix-like objectcolIQRDiffs colIQRDiffs,ANY-method colIQRDiffs,matrix_OR_array_OR_table_OR_numeric-method rowIQRDiffs rowIQRDiffs,ANY-method rowIQRDiffs,matrix_OR_array_OR_table_OR_numeric-method
Calculates the interquartile range for each row (column) of a matrix-like objectcolIQRs colIQRs,ANY-method colIQRs,matrix_OR_array_OR_table_OR_numeric-method rowIQRs rowIQRs,ANY-method rowIQRs,matrix_OR_array_OR_table_OR_numeric-method
Accurately calculates the logarithm of the sum of exponentials for each row (column) of a matrix-like objectcolLogSumExps colLogSumExps,ANY-method colLogSumExps,matrix_OR_array_OR_table_OR_numeric-method rowLogSumExps rowLogSumExps,ANY-method rowLogSumExps,matrix_OR_array_OR_table_OR_numeric-method
Calculates the mean absolute deviation of the difference between each element of a row (column) of a matrix-like objectcolMadDiffs colMadDiffs,ANY-method colMadDiffs,matrix_OR_array_OR_table_OR_numeric-method rowMadDiffs rowMadDiffs,ANY-method rowMadDiffs,matrix_OR_array_OR_table_OR_numeric-method
Calculates the median absolute deviation for each row (column) of a matrix-like objectcolMads colMads,ANY-method colMads,matrix_OR_array_OR_table_OR_numeric-method rowMads rowMads,ANY-method rowMads,matrix_OR_array_OR_table_OR_numeric-method
Calculates the maximum for each row (column) of a matrix-like objectcolMaxs colMaxs,ANY-method colMaxs,matrix_OR_array_OR_table_OR_numeric-method rowMaxs rowMaxs,ANY-method rowMaxs,matrix_OR_array_OR_table_OR_numeric-method
Calculates the mean for each row (column) of a matrix-like objectcolMeans rowMeans
Calculates the mean for each row (column) of a matrix-like objectcolMeans2 colMeans2,ANY-method colMeans2,matrix_OR_array_OR_table_OR_numeric-method rowMeans2 rowMeans2,ANY-method rowMeans2,matrix_OR_array_OR_table_OR_numeric-method
Calculates the median for each row (column) of a matrix-like objectcolMedians colMedians,ANY-method colMedians,matrix_OR_array_OR_table_OR_numeric-method rowMedians rowMedians,ANY-method rowMedians,matrix_OR_array_OR_table_OR_numeric-method
Calculates the minimum for each row (column) of a matrix-like objectcolMins colMins,ANY-method colMins,matrix_OR_array_OR_table_OR_numeric-method rowMins rowMins,ANY-method rowMins,matrix_OR_array_OR_table_OR_numeric-method
Calculates an order statistic for each row (column) of a matrix-like objectcolOrderStats colOrderStats,ANY-method colOrderStats,matrix_OR_array_OR_table_OR_numeric-method rowOrderStats rowOrderStats,ANY-method rowOrderStats,matrix_OR_array_OR_table_OR_numeric-method
Calculates the product for each row (column) of a matrix-like objectcolProds colProds,ANY-method colProds,matrix_OR_array_OR_table_OR_numeric-method rowProds rowProds,ANY-method rowProds,matrix_OR_array_OR_table_OR_numeric-method
Calculates quantiles for each row (column) of a matrix-like objectcolQuantiles colQuantiles,ANY-method colQuantiles,matrix_OR_array_OR_table_OR_numeric-method rowQuantiles rowQuantiles,ANY-method rowQuantiles,matrix_OR_array_OR_table_OR_numeric-method
Calculates the minimum and maximum for each row (column) of a matrix-like objectcolRanges colRanges,ANY-method colRanges,matrix_OR_array_OR_table_OR_numeric-method rowRanges rowRanges,ANY-method rowRanges,matrix_OR_array_OR_table_OR_numeric-method
Calculates the rank of the elements for each row (column) of a matrix-like objectcolRanks colRanks,ANY-method colRanks,matrix_OR_array_OR_table_OR_numeric-method rowRanks rowRanks,ANY-method rowRanks,matrix_OR_array_OR_table_OR_numeric-method
Calculates the standard deviation of the difference between each element of a row (column) of a matrix-like objectcolSdDiffs colSdDiffs,ANY-method colSdDiffs,matrix_OR_array_OR_table_OR_numeric-method rowSdDiffs rowSdDiffs,ANY-method rowSdDiffs,matrix_OR_array_OR_table_OR_numeric-method
Calculates the standard deviation for each row (column) of a matrix-like objectcolSds colSds,ANY-method colSds,matrix_OR_array_OR_table_OR_numeric-method rowSds rowSds,ANY-method rowSds,matrix_OR_array_OR_table_OR_numeric-method
Calculates the sum for each row (column) of a matrix-like objectcolSums rowSums
Calculates the sum for each row (column) of a matrix-like objectcolSums2 colSums2,ANY-method colSums2,matrix_OR_array_OR_table_OR_numeric-method rowSums2 rowSums2,ANY-method rowSums2,matrix_OR_array_OR_table_OR_numeric-method
Tabulates the values in a matrix-like object by row (column)colTabulates colTabulates,ANY-method colTabulates,matrix_OR_array_OR_table_OR_numeric-method rowTabulates rowTabulates,ANY-method rowTabulates,matrix_OR_array_OR_table_OR_numeric-method
Calculates the variance of the difference between each element of a row (column) of a matrix-like objectcolVarDiffs colVarDiffs,ANY-method colVarDiffs,matrix_OR_array_OR_table_OR_numeric-method rowVarDiffs rowVarDiffs,ANY-method rowVarDiffs,matrix_OR_array_OR_table_OR_numeric-method
Calculates the variance for each row (column) of a matrix-like objectcolVars colVars,ANY-method colVars,matrix_OR_array_OR_table_OR_numeric-method rowVars rowVars,ANY-method rowVars,matrix_OR_array_OR_table_OR_numeric-method
Calculates the weighted median absolute deviation for each row (column) of a matrix-like objectcolWeightedMads colWeightedMads,ANY-method colWeightedMads,matrix_OR_array_OR_table_OR_numeric-method rowWeightedMads rowWeightedMads,ANY-method rowWeightedMads,matrix_OR_array_OR_table_OR_numeric-method
Calculates the weighted mean for each row (column) of a matrix-like objectcolWeightedMeans colWeightedMeans,ANY-method colWeightedMeans,matrix_OR_array_OR_table_OR_numeric-method rowWeightedMeans rowWeightedMeans,ANY-method rowWeightedMeans,matrix_OR_array_OR_table_OR_numeric-method
Calculates the weighted median for each row (column) of a matrix-like objectcolWeightedMedians colWeightedMedians,ANY-method colWeightedMedians,matrix_OR_array_OR_table_OR_numeric-method rowWeightedMedians rowWeightedMedians,ANY-method rowWeightedMedians,matrix_OR_array_OR_table_OR_numeric-method
Calculates the weighted standard deviation for each row (column) of a matrix-like objectcolWeightedSds colWeightedSds,ANY-method colWeightedSds,matrix_OR_array_OR_table_OR_numeric-method rowWeightedSds rowWeightedSds,ANY-method rowWeightedSds,matrix_OR_array_OR_table_OR_numeric-method
Calculates the weighted variance for each row (column) of a matrix-like objectcolWeightedVars colWeightedVars,ANY-method colWeightedVars,matrix_OR_array_OR_table_OR_numeric-method rowWeightedVars rowWeightedVars,ANY-method rowWeightedVars,matrix_OR_array_OR_table_OR_numeric-method