makePdInfoPackage       package:pdInfoBuilder       R Documentation

_C_r_e_a_t_e _a _P_l_a_t_f_o_r_m _D_e_s_i_g_n _I_n_f_o _P_a_c_k_a_g_e

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

     This generic function create a platform design info package based
     on the parameters contained in 'object' which will generally be an
     instance of a subclass of 'PkgSeed'.  The result is a new
     directory on the filesystem containing the source for the
     generated pdInfo package.

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

     makePdInfoPackage(object, destDir, batch_size = 10000, quiet = FALSE)

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

  object: See 'showMethods("makePdInfoPackage")' to see available
          methods.

 destDir: Path where the resulting pdInfo package source directory will
          be written.

batch_size: An integer controlling the size of batches processed when
          reading the flatfiles and loading the DB.  In general, larger
          values of 'batch_size' will use more memory and less time
          (unless you exceed physical memory, in which case more time
          will be used as well).

   quiet: A logical value.  When 'TRUE', diagnostic and status messages
          are not printed.

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

     In general, creating the SQLite database will be a time and memory
     intensive task.

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

     This function is called for its side-effect of producing a pdInfo
     source package directory.

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

     Seth Falcon

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

     cdfFile <- "Mapping250K_Nsp.cdf"
     csvAnno <- "Mapping250K_Nsp_annot.csv"
     csvSeq <- "Mapping250K_Nsp_probe_tab"

     pkg <- new("AffySNPPDInfoPkgSeed", 
                version="0.1.5",
                author="A.U. Thor", email="au@thor.net",
                biocViews="AnnotationData",
                genomebuild="NCBI Build 35, May 2004",
                cdfFile=cdfFile, csvAnnoFile=csvAnno, csvSeqFile=csvSeq)

     ## Not run: 
     makePdInfoPackage(pkg, destDir=".")
     ## End(Not run)

