variableNumber           package:designGG           R Documentation

_C_o_m_p_u_t_e _t_h_e _n_u_m_b_e_r _o_f _v_a_r_i_a_b_l_e_s _i_n _t_h_e _e_x_p_e_r_i_m_e_n_t

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

     When 'nEnvFactors' = 1 and 'nLevels' = 1, there is no environmetal
      pertubation in the experimental. Then we re-define 'nEnvFactors'
     to be 0 within the algorithm. 'nEnvFactors' = 0, only genetic
     factor is considered. 
      'nEnvFactors' > 1, genetic and environmental facotrs, and all
     possible interacting factors are considered. 

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

       variableNumber( nEnvFactors )

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

nEnvFactors: number of environmental factors, an integer.
           When nEnvFactors is between 0 and 3, all main factors and
          interacting factors will be included. 

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

     'nEnvFactors' = 1, 'variableNumber' = 3 (one genetic factor Q, one
     environmental  factor F, and one interacting factor QxF)
        'nEnvFactors' = 2, 'variableNumber' = 7   
      'nEnvFactors' = 3, 'variableNumber' = 15   

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

     Yang Li <yang.li@rug.nl>, Gonzalo Vera
     <gonzalo.vera.rodriguez@gmail.com> 
      Rainer Breitling <r.breitling@rug.nl>, Ritsert Jansen
     <r.c.jansen@rug.nl>

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

     Y. Li, R. Breitling and R.C. Jansen. Generalizing genetical
     genomics: the added value from environmental perturbation, Trends
     Genet (2008) 24:518-524. 
      Y. Li, M. Swertz, G. Vera, J. Fu, R. Breitling, and R.C. Jansen.
     designGG: An R-package and Web tool for the optimal design of
     genetical genomics experiments. (submitted) 
      http://gbic.biol.rug.nl/designGG

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

     'variableNames'

