ResidualMatrix: The ResidualMatrix class

View source: R/ResidualMatrix.R

ResidualMatrixR 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


LTLA/BiocSingular documentation built on Sept. 26, 2024, 4:14 a.m.