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 March 24, 2024, 4:28 p.m.