Xprep: Fitting of a linear model
Description
The function fits a linear model to a microarray data matrix.Usage
Xprep(indata=M, formula=~as.factor(g), contrast=c(0,1), design=NULL)
Arguments
formula
a linear model formula in the lm format
contrast
a vector defining the contrast of interest
Value
- a list with the entries
- Mbarestimate of the contrast
- Vestthe error variance
- kinverse of the scale factor turning Vest into a standard error
- fthe degrees of freedom of Vest
- designthe design matrix