resiplot               package:maanova               R Documentation

_R_e_s_i_d_u_a_l _p_l_o_t _f_o_r _M_i_c_r_o _A_r_r_a_y _E_x_p_e_r_i_m_e_n_t

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

     This is the function to plot the residuals versus fitted value
     figure. Two channels, e.g., red and green, are drawn in seperate
     figures.

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

     resiplot(madata, anovaobj, header)

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

  madata: An object of class 'madata'.

anovaobj: An object of class 'maanova', which is the output from
          'fitmaanova'.

  header: Optional. The title of the figure. The default figure title
          will be "Residual vs. Yhat plot".

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

     Hao Wu

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

     # load in Paigen's data
     data(paigen)
     # make data object with rep 2
     paigen <- createData(paigen.raw, 2)
     # Note that the data is normalized so normalization is skipped
     # full model
     model.full.fix <- makeModel(data=paigen,
           formula=~Dye+Array+Spot+Strain+Diet+Strain:Diet)
     anova.full.fix <- fitmaanova(paigen, model.full.fix)
     # residual plot
     resiplot(paigen, anova.full.fix)

