doANOVA               package:ABarray               R Documentation

_P_e_r_f_o_r_m _o_n_e _w_a_y _o_r _t_w_o _w_a_y _A_N_O_V_A

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

     If only one factor is provided in parameter, one way ANOVA is
     performed. If two factors are provided, two way ANOVA is
     performed.

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

     doANOVA(eset, group1, group2, snThresh = 3, detectSample = 0.5)

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

    eset: An 'ExpressionSet' object 

  group1: factor name or labels to test on. If dataf is an exprSet
          object, either name or labels can be used. If dataf is an
          expression matrix, lables should be used. 

  group2: factor name or labels to test on 

snThresh: Using probes detectable for ANOVA analysis, default S/N value
          is 3 or more to be considered detectable 

detectSample: The percentage of samples the probe is detected in order
          to be considered in ANOVA analysis 

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

     At least one group should be provided. If exprSet object is used,
     group1 or group2 is the name of the sampleGroup defined in
     experiment design file. If labels are to be used, they can be
     either numeric or text, e.g., c(1,1,2,2,3,3) or c("treat1",
     "treat1", "treat2", "treat2", "treat3", "treat3").

     If the probe is detectable in 50% (default) or more samples in any
     one of the subgroup, it is included in the ANOVA analysis.

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

     a vector if one way ANOVA; a matrix if two way ANOVA

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

     Y Andrew Sun

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

       #- one way ANOVA
     #-  anova <- doANOVA(eset, "sampleGroup")

       #- two way ANOVA
     #-  anova <- doANOVA(eset, "sampleGroup1", "sampleGoup2")   

