readCelIntensities        package:affxparser        R Documentation

_R_e_a_d_s _t_h_e _i_n_t_e_n_s_i_t_i_e_s _c_o_n_t_a_i_n_e_d _i_n _s_e_v_e_r_a_l _A_f_f_y_m_e_t_r_i_x _C_E_L _f_i_l_e_s

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

     Reads the intensities of several Affymetrix CEL files (as opposed
     to 'readCel'() which only reads a single file).

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

      readCelIntensities(filenames, indices = NULL, ..., verbose = 0)

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

filenames: the names of the CEL files as a character vector.

 indices: a vector of which indices should be read. If the argument is
          'NULL' all features will be returned.

     ...: Additional arguments passed to 'readCel'().

 verbose: an integer: how verbose do we want to be, higher means more
          verbose.

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

     The function will initially allocate a matrix with the same memory
     footprint as the final object.

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

     A matrix with a number of rows equal to the length of the
     'indices' argument (or the number of features on the entire chip),
     and a number of columns equal to the number of files. The columns
     are ordered according to the 'filenames' argument.

_N_o_t_e:

     Currently this function builds on 'readCel'(), and simply calls
     this function multiple times. If testing yields sufficient reasons
     for doing so, it may be re-implemented in C++.

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

     James Bullard, bullard@stat.berkeley.edu and Kasper Daniel Hansen,
     khansen@stat.berkeley.edu

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

     'readCel'() for a discussion of a more versatile function,
     particular with details of the 'indices' argument.

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

       # Scan current directory for CEL files
       files <- list.files(pattern="[.](c|C)(e|E)(l|L)$")
       if (length(files) >= 2) {
         cel <- readCelIntensities(files[1:2])
         str(cel)
         rm(cel)
       }

       # Clean up
       rm(files)

