write.spot                package:sma                R Documentation

_W_r_i_t_i_n_g _i_n _D_a_t_a _G_e_n_e_r_a_t_e_d _b_y _t_h_e _I_m_a_g_e _A_n_a_l_y_s_i_s _P_a_c_k_a_g_e _S_p_o_t

_D_e_s_c_r_i_p_t_i_o_n:

     Function writes in a data file in a tab delimited table format.

_U_s_a_g_e:

     write.spot(x, imageid, batch="output")

_A_r_g_u_m_e_n_t_s:

       x: the object to be written, typically a data frame. If not, it
          is attempted to create one from it.

 imageid: integer value; the index of the slide which is considered

   batch: character string, this refers to the name of a collection of
          experiments. The default batch name is "output".

_D_e_t_a_i_l_s:

     This function writes the data in for each imageid, assigning each
     file the filename which takes the default form of
     "output".imageid.spot. The column names of x are written along
     with x in the table format

_A_u_t_h_o_r(_s):

     Jessica Mar

_R_e_f_e_r_e_n_c_e_s:

     Spot manual <URL: 
     http://www.cmis.csiro.au/iap/Spot/spotmanual.htm>

_S_e_e _A_l_s_o:

     'write.table'

_E_x_a_m_p_l_e_s:

     ## Setting up the data
     ## library(Spot)
     ## SetParameters("mouse")
     ## Here is what you should see:
     ## Enter number of rows of grids per image (ngrid.r): 4
     ## Enter number of columns of grids per image (ngrid.c): 4
     ## Enter number of rows of spots per grid (nspot.r): 19
     ## Enter number of columns of spots per grid (nspot.c): 21
     ## Enter top/bottom translation tolerance, default is 50 (tolerance.r): 20
     ## Enter left/right translation, default is 50 (tolerance.c): 30
     ## Initialization complete

     ##Inputting Image Data 
     ## SetImages("mouse")
     ## Combining the red and green channels for the first slide
     ## mouse.array <- Spots("mouse", 1)

     ## Calling the function to write the data in
     ## write.spot(mouse.array, 1, "mouse")

