maCompLayout             package:marray             R Documentation

_G_e_n_e_r_a_t_e _a _m_a_r_r_a_y_L_a_y_o_u_t _o_b_j_e_c_t

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

     Take a matrix of cooordiates and generate a marrayLayout object.

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

     maCompLayout(mat, ncolumns = 4)

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

     mat: a matrix of coordinates, this can either be n by 3 matrix
          with columns (Block, Row, Column) or n by 4 matrix with
          columns (Grid.R, Grid.C, Spot.R, Spot.C)

ncolumns: For n by 3 matrix, the number of meta-grid columns. By
          default, it is set to 4.

_D_e_t_a_i_l_s:

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

     An object of class '"marrayLayout"'.

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

     Jean Yang

_E_x_a_m_p_l_e_s:

     X <- cbind(Block = c(1,1,2,2,3,3,4,4), Rows=c(1,2,1,2,1,2,1,2), Columns=rep(1,8))
     maCompLayout(X, ncolumns=2)

