Required column names are chrom, start and end.

Construct a tbl_interval using tribble formatting.

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

x <- tibble::tribble( ~chrom, ~start, ~end, 'chr1', 1, 50, 'chr1', 10, 75, 'chr1', 100, 120 ) is.tbl_interval(x)
#> [1] FALSE
x <- tbl_interval(x) is.tbl_interval(x)
#> [1] TRUE