maCompCoord          package:marrayClasses          R Documentation

_G_e_n_e_r_a_t_e _g_r_i_d _a_n_d _s_p_o_t _m_a_t_r_i_x _c_o_o_r_d_i_n_a_t_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function generates grid and spot matrix coordinates 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:

     maCompCoord(grows, gcols, srows, scols)

_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.

_V_a_l_u_e:

     a matrix of spot four-coordinates, with rows corresponding to
     spots and columns to grid row, grid column, spot row, and spot
     column coordinates.

_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', 'maCompInd'.

_E_x_a_m_p_l_e_s:

     maCompCoord(1:2,1,1:4,1:3)

