readImaGeneHeader           package:limma           R Documentation

_R_e_a_d _I_m_a_G_e_n_e _H_e_a_d_e_r _I_n_f_o_r_m_a_t_i_o_n

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

     Read the header information from an ImaGene image analysis output
     file. This function is used internally by 'read.maimages' and is
     not usually called directly by users.

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

     readImaGeneHeader(file)

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

    file: character string giving file name or path

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

     The raw data files exported by the image analysis software ImaGene
     include a number of header lines which contain information about
     the printing and scanning processes. This function extracts that
     information and locates the line where the intensity data begins.

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

     A list containing information read from the header of the ImaGene
     file. Each Begin-End environment found in the file header will
     become a recursive list in the output object, with components
     corresponding to fields in the file. See the ImaGene documentation
     for further information. The output object will also contain a
     component 'NHeaderRecords'giving the number of lines in the file
     before the intensity data begins.

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

     Gordon Smyth

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.biodiscovery.com/imagene.asp>

_S_e_e _A_l_s_o:

     'read.imagene'

     An overview of LIMMA functions to read data is given in
     03.ReadingData.

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

     ## Not run: 
     h <- readImaGeneHeader("myImaGenefile.txt")
     names(h)
     h$NHeaderRecords
     h[["Field Dimensions"]]
     ## End(Not run)

