#' @include RNAmodR.Data.R
NULL
.get_data_titles <- function(pkgname){
fl <- system.file("extdata", "metadata.csv", package=pkgname)
titles <- read.csv(fl, stringsAsFactors=FALSE)$Title
titles
}
#' @import utils
.onLoad <- function(libname, pkgname) {
titles <- .get_data_titles(pkgname)
createHubAccessors(pkgname, titles)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.