.onAttach <- function(libname, pkgname) {
shiny::addResourcePath("www", system.file("www", package = "gwasexplorer"))
}
.onUnload <- function(libname, pkgname) {
shiny::removeResourcePath("www")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.