R/utils.R

Defines functions hasHead

### =========================================================================
### Some low-level (non exported) utility functions.
### -------------------------------------------------------------------------


hasHead <- function(x, h) {
  identical(head(x, length(h)), h)
}
Bioconductor/GenomicRanges documentation built on March 19, 2024, 12:39 p.m.