R/zzz.R

Defines functions .onLoad

datacache <- new.env(hash=TRUE, parent=emptyenv())

.onLoad <- function(libname, pkgname)
{
    ## Connect to the SQLite DB
    genelocate <- system.file("extdata", "genelocate.txt", package=pkgname, lib.loc=libname)
    genelocate <- read.table(genelocate,header=TRUE,sep="\t",stringsAsFactors=FALSE)
    assign("genelocate", genelocate, envir=datacache)
    chromLength <- system.file("extdata", "chromLength.txt", package=pkgname, lib.loc=libname)
    chromLength <- read.table(chromLength,header=FALSE,sep="\t",stringsAsFactors=FALSE)
    assign("chromLength", chromLength, envir=datacache)
}

Try the multiOmicsViz package in your browser

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

multiOmicsViz documentation built on Nov. 8, 2020, 7:45 p.m.