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 ExpressionSet object.
model Model used in the regression. Uses only variables from pData(eS).

Value

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

Author(s)

John Tillinghast

Examples

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

[Package LMGene version 1.12.0 Index]