addData-methods             package:xps             R Documentation

_I_m_p_o_r_t _a_d_d_i_t_i_o_n_a_l _C_E_L _f_i_l_e_s _i_n_t_o _a _D_a_t_a_T_r_e_e_S_e_t

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

     Import additional CEL files into a DataTreeSet and update 'ROOT'
     data file.

     _Usage_

     ' addData(object, celdir = NULL, celfiles = "", celnames = NULL,
     project = NULL, verbose = TRUE) '

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

  object: object of class 'DataTreeSet'.

  celdir: system directory containing the CEL-files for corresponding
          scheme.

celfiles: optional vector of CEL-files to be imported.

celnames: optional vector of names which should replace the CEL-file
          names.

 project: optional class 'ProjectInfo'.

 verbose: logical, if 'TRUE' print status information.

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

     Import additional CEL-files and update 'ROOT' data file
     'rootfile'.

     To import CEL-files from different directories, vector 'celfiles'
     must contain the full path for each CEL-file and 'celdir' must be
     'celdir=NULL'.

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

     A 'DataTreeSet' object.

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

     Christian Stratowa

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

     'import.data', 'root.data'

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

     ## get scheme and import subset of CEL-files from package
     scheme.test3 <- root.scheme(paste(.path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
     data.test3 <- import.data(scheme.test3,"tmp_test3",celdir=paste(.path.package("xps"),"raw",sep="/"),
                   celfiles=c("TestA1.CEL","TestB2.CEL"),verbose=FALSE)

     unlist(treeNames(data.test3))

     ## add further subset of CEL-files
     data.test3 <- addData(data.test3,celdir=paste(.path.package("xps"),"raw",sep="/"),
                   celfiles=c("TestA2.CEL","TestB1.CEL"),verbose=FALSE)

     unlist(treeNames(data.test3))

