Xprep                  package:SAGx                  R Documentation

_F_i_t_t_i_n_g _o_f _a _l_i_n_e_a_r _m_o_d_e_l

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

     The function fits a linear model to a microarray data matrix.

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

     Xprep(indata=M, formula=~as.factor(g), contrast=c(0,1), design=NULL)

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

  indata: The data matrix

 formula: a linear model formula in the lm format

contrast: a vector defining the contrast of interest

  design: the design matrix

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

     a list with the entries  

    Mbar: estimate of the contrast

    Vest: the error variance

       k: inverse of the scale factor turning Vest into a standard
          error

       f: the degrees of freedom of Vest

  design: the design matrix

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

     Per Broberg

