R/zzz.R

Defines functions .onLoad

#Note: The function getCytobands is a memoised function. It's better to define it on package
#load so it does not get linked to the memoise version available at installation time.
#See comment by @mtmorgan at https://github.com/Bioconductor/Contributions/issues/199

getCytobands <- NULL

.onLoad <- function(libname, pkgname) {
  getCytobands <<- memoise::memoise(.getCytobands)
}

Try the karyoploteR package in your browser

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

karyoploteR documentation built on Nov. 8, 2020, 5:52 p.m.