R/zzz.R

Defines functions .onUnload .onLoad

.onLoad <- function(libname, pkgname) {
  # Builds the data frame for input$<id>_residues (see .residues_input())
  shiny::registerInputHandler("NGLVieweR.residues", .residues_input, force = TRUE)
}

.onUnload <- function(libpath) {
  shiny::removeInputHandler("NGLVieweR.residues")
}

Try the NGLVieweR package in your browser

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

NGLVieweR documentation built on Oct. 20, 2026, 1:07 a.m.