Welcome to the new bioconductor.org!


Creating a DelayedMatrix of Regression Residuals

Bioconductor version: Release (3.18)

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.

Author: Aaron Lun [aut, cre, cph]

Maintainer: Aaron Lun <infinite.monkeys.with.keyboards at gmail.com>

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


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:

Using the ResidualMatrix HTML R Script
Reference Manual PDF


biocViews BatchEffect, DataRepresentation, ExperimentalDesign, Regression, Software
Version 1.12.0
In Bioconductor since BioC 3.12 (R-4.0) (3.5 years)
License GPL-3
Imports methods, Matrix, S4Vectors, DelayedArray
System Requirements
URL https://github.com/LTLA/ResidualMatrix
Bug Reports https://github.com/LTLA/ResidualMatrix/issues
See More
Suggests testthat, BiocStyle, knitr, rmarkdown, BiocSingular
Linking To
Depends On Me
Imports Me batchelor
Suggests Me BiocSingular, chihaya, scran
Links To Me
Build Report Build Report

Package Archives

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

Source Package ResidualMatrix_1.12.0.tar.gz
Windows Binary ResidualMatrix_1.12.0.zip
macOS Binary (x86_64) ResidualMatrix_1.12.0.tgz
macOS Binary (arm64) ResidualMatrix_1.12.0.tgz
Source Repository git clone https://git.bioconductor.org/packages/ResidualMatrix
Source Repository (Developer Access) git clone git@git.bioconductor.org:packages/ResidualMatrix
Bioc Package Browser https://code.bioconductor.org/browse/ResidualMatrix/
Package Short Url https://bioconductor.org/packages/ResidualMatrix/
Package Downloads Report Download Stats