numOfFactorsToUse            package:puma            R Documentation

_D_e_t_e_r_m_i_n_e _n_u_m_b_e_r _o_f _f_a_c_t_o_r_s _t_o _u_s_e _f_r_o_m _a_n _E_x_p_r_e_s_s_i_o_n_S_e_t

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

     This is really an internal function used to determine how many
     factors to use in design and contrast matrices

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

     numOfFactorsToUse(eset)

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

    eset: An object of class 'ExpressionSet'. 

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

     An integer denoting the number of factors to be used.

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

     Richard D. Pearson

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

     Related methods 'createDesignMatrix' and  'createContrastMatrix'

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

             data(affybatch.example)
             pData(affybatch.example) <- data.frame("level"=c("twenty","twenty","ten")
                 , "batch"=c("A","B","A"), row.names=rownames(pData(affybatch.example)))
             eset_mmgmos <- mmgmos(affybatch.example)
             numOfFactorsToUse(eset_mmgmos)

