Xprep.resid {SAGx} | R Documentation |
The function fits a linear model to a microarray data matrix and calculates the residuals.
Xprep.resid(data=M, formula=~as.factor(g), design=NULL)
data |
The data matrix |
formula |
a linear model formula in the lm format |
design |
the design matrix |
A matrix with the residuals
Per Broberg