powered by
Spacing for the first interval of each chromosome is undefined (NA). The leading interval of an overlapping interval pair has a negative value.
NA
interval_spacing(x)
tbl_interval()
tbl_interval() with .spacing column.
.spacing
Other utilities: bed12_to_exons, bed_makewindows, bound_intervals, flip_strands
bed12_to_exons
bed_makewindows
bound_intervals
flip_strands
# NOT RUN { x <- trbl_interval( ~chrom, ~start, ~end, 'chr1', 1, 100, 'chr1', 150, 200, 'chr2', 200, 300 ) interval_spacing(x) # }
Run the code above in your browser using DataLab