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))

