R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  # assure proper value for "tracks" resource path
  rp <- shiny::resourcePaths()
  if ("tracks" %in% names(rp)) {
    shiny::removeResourcePath("tracks")
  }
  shiny::addResourcePath("tracks", get_tracks_dir())
}
paul-shannon/igvShiny documentation built on Aug. 31, 2024, 9:32 a.m.