#' Get the stem of a bed filename.
#'
#' Remove the ".bed" part.
#'
#' @param pathname Character. Pathname of the bed file.
#' @return \code{pathname} without ".bed" extension.
getstem = function(pathname) {
gsub("(.*?)\\.bed$", "\\1", pathname)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.