#' @title Currently supported formats
#'
#' @description Maintains a vector of all the formats supported currently.
#'
#' @return A character vector listing all currently supported formats.
#' @aliases supported_formats
#' @seealso \code{\link{read_format}}
#' @examples
#' supported_formats()
#' @export
supported_formats <- function() {
c("gtf", "gff", "bed", "bam")
}
error_format <- function() {
stop("'format' must be one of ", paste(supported_formats(), collapse="/"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.