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 Nov. 17, 2024, 11:43 a.m.