maCoord2Ind package:marray R Documentation _C_o_n_v_e_r_t _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 _t_o _s_p_o_t _i_n_d_i_c_e_s _D_e_s_c_r_i_p_t_i_o_n: This functions converts grid and spot matrix coordinates (four coordinates) to spot indices, where 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: maCoord2Ind(x, L) _A_r_g_u_m_e_n_t_s: x: a matrix of spot four-coordinates, with rows corresponding to spots and columns to grid row, grid column, spot row, and spot column coordinates. L: an 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, . _S_e_e _A_l_s_o: 'marrayLayout', 'maInd2Coord', 'maCompCoord', 'maCompInd'. _E_x_a_m_p_l_e_s: L <- new("marrayLayout", maNgr=4, maNgc=4, maNsr=22, maNsc=24) coord<-cbind(rep(2,4),rep(1,4),rep(1,4),1:4) maCoord2Ind(coord, L)