GetLMObj {LMGene}R Documentation

Function to get a simple lm object for a regression on the relevant model.

Description

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.

Usage

GetLMObj(eS, model=NULL)

Arguments

eS An unprocessed expression set.
model Model used in the regression. Uses only variables from eS@phenoData@pData.

Details

Value

Returns an lm object than corresponds to regressing one probe from the eS on the model specified (or the default model). See lm.

Note

Author(s)

John Tillinghast

References

See Also

Examples


data(sample.eS)
lmod <- GetLMObj (sample.eS)
X <- lmod$x

[Package LMGene version 1.8.0 Index]