Learn R Programming

GGBase (version 3.34.0)

externalize: create a package with a decomposed smlSet instance from a unified smlSet instance, to reduce memory footprints

Description

create a package with a decomposed smlSet instance from a unified smlSet instance, to reduce memory footprints

Usage

externalize(smlSet, packname, author = "Replace Me ", maintainer = "Replace Me ")
allsnps(packname)

Arguments

smlSet
an smlSet instance to be regarded as a source or template for a package that can be used with greater efficiency of access to genotype contents
packname
name of the package to be generated
author
string to be used in DESCRIPTION file of generated package
maintainer
string to be used in DESCRIPTION file of generated package

Value

creates folder structure and metadata for an installable R package

Details

The genotype content of the input smlSet is separated into separate RDA files in the inst/parts folder of the package to be generated. The ExpressionSet element of the input smlSet is stored as object ex in file eset.rda in the data folder of the package to be generated.

Examples

Run this code
 ## Not run: 
#  setwd(tempdir())
#  sms = getSS("GGtools", c("20", "21"))
#  externalize(sms, "demopack")
#  dir()
#  dir("demopack")
#  ## End(Not run)

Run the code above in your browser using DataLab