#' is.GRanges
#'
#' Checks if object is a \code{\link[GenomicRanges]{GRanges-class}} object
#' @param x an object
#'
#' @return logical
#'
#' @export
is.GRanges <- function(x) {
return(class(x) == "GRanges")
}
#' is.GRangesList
#'
#' Checks if object is a \code{\link[GenomicRanges]{GRangesList-class}} object
#' @param x an object
#' @return logical
#'
#' @export
is.GRangesList <- function(x) {
return(class(x) == "GRangesList")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.