valr (version 0.5.0)

tbl_interval: Tibble for intervals.

Description

Required column names are chrom, start and end.

Usage

tbl_interval(x, ..., .validate = TRUE)

trbl_interval(...)

Arguments

x

A data_frame

...

params for tibble::tibble()

.validate

check valid column names

Value

tbl_interval()

Examples

Run this code
# NOT RUN {
x <- tibble::tribble(
  ~chrom, ~start, ~end,
  'chr1',  1,     50,
  'chr1',  10,    75,
  'chr1',  100,   120
)

is.tbl_interval(x)

x <- tbl_interval(x)
is.tbl_interval(x)

# }

Run the code above in your browser using DataLab