Skip to content

ResidualMatrix

Bioc current

Creating a DelayedMatrix of Regression Residuals

v1.22.0 · Package record · software · GPL-3

Release Lineage

Entered 3.12 · Oct 28, 2020

Current · Requires R 4.6

1.0 In 12 of 49 releases 3.23

Description

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.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

17 2 exported

Complexity

2 avg / 13 max

Call network

17 nodes / 31 edges

Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

1,465

Files

19

Compiled share

0%

Has compiled src

No

Language breakdown

R 699 (47.7%)Tests 465 (31.7%)Docs 164 (11.2%)Vignettes 137 (9.4%)

API

Exported functions

2

Internal functions

15

Testing

Has tests

Yes

Test-to-code ratio

0.67

testthat edition

–

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

–

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

–

System requirements

–

C++ standard

–

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

12

First release

2020-10-27

Latest release

2026-04-28

Avg cadence

181 days

Cold removal rate

–

Dep drift

0

LOC over versions

v3.12: 1,445 LOCv3.13: 1,445 LOCv3.14: 1,445 LOCv3.15: 1,452 LOCv3.16: 1,452 LOCv3.17: 1,452 LOCv3.18: 1,452 LOCv3.19: 1,451 LOCv3.20: 1,451 LOCv3.21: 1,465 LOCv3.22: 1,465 LOCv3.23: 1,465 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.

Documentation

In the Bioconductor 3.23 release
READMEYes · 79 wordsVignettesYes · 1 · dynamicNEWSYesCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
3includes a package overview page
Examples that run
100%2 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
0%
Help pages citing references
0%

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/ltla/residualmatrix on 2026-10-11.

Governance and community (1)

The repository owner accepts GitHub Sponsors

How this is detected·Detection ruleset v3 (2026-09-26)

Topics

Maintainer
Aaron Lun

Available on

CRANr2uBioconductorautoCRANCOPR

Depended on by (1)

Bioconductor (1)

People

  • Aaron Lun author maintainer copyright holder

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ResidualMatrix")
Lun, A. (2026). ResidualMatrix: Creating a DelayedMatrix of Regression Residuals (Version 1.22.0) [Computer software]. https://bioconductor.org/packages/ResidualMatrix

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ResidualMatrix version 1.22.0 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy