GetLMObj {LMGene} | R Documentation |
Internal to routines. Primarily used to get the X matrix corresponding to the model given (or the default model for the eS). Typically this is used to find residuals efficiently.
GetLMObj(eS, model=NULL)
eS |
An unprocessed ExpressionSet object. |
model |
Model used in the regression. Uses only variables from pData(eS) . |
Returns an lm object than corresponds to regressing one probe from the eS on the model specified (or the default model). See lm
.
John Tillinghast
data(sample.eS) lmod <- GetLMObj (sample.eS) X <- lmod$x