# nocov start
# code adapted from zzz.R of readr
.onLoad <- function(libname, pkgname) {
opt <- options()
new_opt <- list(
NanoMethViz.site_filter = 3L,
NanoMethViz.highlight_col = "grey50"
)
to_set <- ! names(new_opt) %in% names(opt)
if (any(to_set)) options(new_opt[to_set])
invisible()
}
# nocov end
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.