init.grid                package:sma                R Documentation

_I_n_i_t_i_a_l_i_z_a_t_i_o_n _o_f _G_r_i_d _P_a_r_a_m_e_t_e_r_s

_D_e_s_c_r_i_p_t_i_o_n:

     Interactive function for specifying the dimensions of the spot
     matrix and the grid matrix. These parameters depend on the
     printing layout of the array, and are used for the within
     print-tip group normalization implemented in 'stat.ma' and the
     spatial representation of spot statistics in 'plot.spatial'.

_U_s_a_g_e:

     init.grid()

_A_r_g_u_m_e_n_t_s:

     None.

_V_a_l_u_e:

     list containing the following components 

 nspot.r: the number of rows of spots per grid;

 nspot.c: the number of columns of spots per grid;

 ngrid.r: the number of rows of grids per image;

 ngrid.c: the number of columns of grids per image.

_A_u_t_h_o_r(_s):

     Yee Hwa Yang, yeehwa@stat.berkeley.edu 
      Sandrine Dudoit, sandrine@stat.berkeley.edu

_R_e_f_e_r_e_n_c_e_s:

     Spot manual.

_S_e_e _A_l_s_o:

     'plot.mva', 'plot.spatial', 'stat.ma', 'list'.

_E_x_a_m_p_l_e_s:

     data(MouseArray)
     # mouse.setup <- init.grid()

     ## Here is what you should see:
     # Enter number of rows of grids per image (ngrid.r): 4
     # Enter number of columns of grids per image (ngrid.c): 4
     # Enter number of rows of spots per grid (nspot.r): 19  
     # Enter number of columns of spots per grid (nspot.c): 21
     # Initialization complete

