createProbeCoords        package:biocDatasets        R Documentation

_C_r_e_a_t_e _p_r_o_b_e _c_o_o_r_d_i_n_a_t_e_s

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

     Create probe coordinates

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

     createProbeCoords(nrows, ncols,
                       meta_nrows = 1, meta_ncols = 1,
                       meta_padding = 5)

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

   nrows: Number of rows per sub-array 

   ncols: Number of columns per sub-array 

meta_nrows: Number of sub-arrays per row 

meta_ncols: Number of sub-arrays per column 

meta_padding: Padding between sub-arrays 

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

     A 'data.frame' of columns: 

     row: row position within the sub-array

     col: column position within the sub-array

 metarow: sub-array index in the row

 metacol: sub-array index in the column

       x: fictitious x coordinate

       y: fictitious y coordinate

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

     # array with 10,000 probes
     one_plex <- createProbeCoords(100, 100)
     plot(y ~ x, data=one_plex, pch=".",
          main = "array 1x10k")

     # 4x2.5k array
     four_plex <- createProbeCoords(50, 50, 2, 2)
     plot(y ~ x, data=four_plex, pch=".",
          main = "array 4x2.5k")

