R/is_granges.R

Defines functions is_granges

Documented in is_granges

#' Is an object of class GRanges
#'
#' Check whether an object is of the class \link[GenomicRanges]{GRanges}.
#' @param obj Any R object.
#' @returns Boolean.
#' @keywords internal
#' @importFrom methods is 
is_granges <- function(obj) {
    methods::is(obj, "GRanges")
}
serachoi1230/EpiCompare documentation built on Jan. 30, 2024, 11:37 a.m.