Xprep.resid {SAGx}R Documentation

Calculation of input of residuals from linear model

Description

The function fits a linear model to a microarray data matrix and calculates the residuals.

Usage

Xprep.resid(data=M, formula=~as.factor(g), design=NULL)

Arguments

data The data matrix
formula a linear model formula in the lm format
design the design matrix

Value

A matrix with the residuals

Author(s)

Per Broberg


[Package SAGx version 1.12.0 Index]