ResidualMatrix {BiocSingular} | R Documentation

## The ResidualMatrix class

### Description

This class is deprecated, see the exact same class in the ResidualMatrix package.

### Usage

    ResidualMatrixSeed(x, design=NULL)

    ResidualMatrix(x, design=NULL)

### Arguments

`x` | A matrix-like object. This can alternatively be a ResidualMatrixSeed, in which case `design` is ignored.
`design` | A numeric matrix containing the experimental design, to be used for linear model fitting on each column of `x`.

### Value

The `ResidualMatrixSeed` constructor will return a ResidualMatrixSeed object.

The `ResidualMatrix` constructor will return a ResidualMatrix object, containing values equivalent to `lm.fit(x=design, y=x)$residuals`.

### Author(s)

Aaron Lun

[Package BiocSingular version 1.6.0 Index]