makePdInfoPackage {pdInfoBuilder}R Documentation

Create a Platform Design Info Package

Description

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.

Usage

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

Arguments

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.

Details

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

Value

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

Author(s)

Seth Falcon

Examples

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)

[Package pdInfoBuilder version 1.2.0 Index]