R/onLoad.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
.jpackage(pkgname, lib.loc = libname)

defaults <- list(
  bioconductorSELEX.workdir = NULL,
  bioconductorSELEX.verbose = FALSE,
  bioconductorSELEX.maxthreads = NULL
)
toSet <- !(names(defaults) %in% names(options()))
if(any(toSet)) options(defaults[toSet])

workdir = getOption("bioconductorSELEX.workdir")
if(is.null(workdir)) workdir=file.path(tempdir(), "bioconductorSELEX")
verbose = getOption("bioconductorSELEX.verbose")
maxthreads = getOption("bioconductorSELEX.maxthreads")

selex.config(workdir, verbose, maxthreads)
}

Try the SELEX package in your browser

Any scripts or data that you put into this service are public.

SELEX documentation built on Nov. 8, 2020, 5:22 p.m.