maCompInd           package:marrayClasses           R Documentation

_G_e_n_e_r_a_t_e _s_p_o_t _i_n_d_i_c_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function generates spot indices from ranges of rows and
     columns for the grid and spot matrices. Spots on the array are
     numbered consecutively starting from the top left grid and the top
     left spot within each grid.

_U_s_a_g_e:

     maCompInd(grows, gcols, srows, scols, L)

_A_r_g_u_m_e_n_t_s:

   grows: numeric vector of grid rows.

   gcols: numeric vector of grid columns.

   srows: numeric vector of spot rows.

   scols: numeric vector of spot columns.

       L: object of class '"marrayLayout"'.

_V_a_l_u_e:

     a numeric vector of spot indices.

_A_u_t_h_o_r(_s):

     Yee Hwa (Jean) Yang, Sandrine Dudoit, <URL:
     http://www.stat.berkeley.edu/~sandrine>.

_S_e_e _A_l_s_o:

     'marrayLayout', 'maCoord2Ind', 'maInd2Coord', 'maCompCoord'.

_E_x_a_m_p_l_e_s:

     L <- new("marrayLayout", maNgr=4, maNgc=4, maNsr=22, maNsc=24)
     maCompInd(1:2,1,1:4,1:3,L)

