Bioc2026 Registration Open!

ResidualMatrix

Creating a DelayedMatrix of Regression Residuals

Bioconductor version: 3.23 · Package version: 1.22.0

Provides delayed computation of a matrix of residuals after fitting a linear model to each column of an input matrix. Also supports partial computation of residuals where selected factors are to be preserved in the output matrix. Implements a number of efficient methods for operating on the delayed matrix of residuals, most notably matrix multiplication and calculation of row/column sums or means.

Installation

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("ResidualMatrix")

Details

MaintainerAaron Lun <infinite.monkeys.with.keyboards@gmail.com>
AuthorAaron Lun [aut, cre, cph]
LicenseGPL-3
URLhttps://github.com/LTLA/ResidualMatrix
Bug Reportshttps://github.com/LTLA/ResidualMatrix/issues
Downloads rank5042
Source branchRELEASE_3_23
biocViewsBatchEffect, DataRepresentation, ExperimentalDesign, Regression, Software

Documentation

Download

Dependencies

Imports: methods, Matrix, S4Vectors, DelayedArray

Suggests: testthat, BiocStyle, knitr, rmarkdown, BiocSingular

Reverse dependencies

Imports Me (1): batchelor

Suggests Me (4): alabaster.matrix, BiocSingular, chihaya, scran