GetLMObj               package:LMGene               R Documentation

_F_u_n_c_t_i_o_n _t_o _g_e_t _a _s_i_m_p_l_e _l_m _o_b_j_e_c_t _f_o_r _a _r_e_g_r_e_s_s_i_o_n _o_n _t_h_e _r_e_l_e_v_a_n_t _m_o_d_e_l.

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     GetLMObj(eS, model=NULL)

_A_r_g_u_m_e_n_t_s:

      eS: An unprocessed expression set. 

   model: Model used in the regression. Uses only variables from
          eS@phenoData@pData. 

_D_e_t_a_i_l_s:

_V_a_l_u_e:

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

_N_o_t_e:

_A_u_t_h_o_r(_s):

     John Tillinghast

_R_e_f_e_r_e_n_c_e_s:

_S_e_e _A_l_s_o:

_E_x_a_m_p_l_e_s:

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

