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")
}
neurogenomics/PeakyFinders documentation built on Oct. 14, 2024, 3:09 p.m.