R/utils.R

Defines functions hasHead

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


hasHead <- function(x, h) {
  identical(head(x, length(h)), h)
}

Try the GenomicRanges package in your browser

Any scripts or data that you put into this service are public.

GenomicRanges documentation built on Nov. 8, 2020, 5:46 p.m.