interval_spacing | R Documentation |
Spacing for the first interval of each chromosome is undefined (NA
). The
leading interval of an overlapping interval pair has a negative value.
interval_spacing(x)
x |
ivl_df |
ivl_df with .spacing
column.
Other utilities:
bed12_to_exons()
,
bed_makewindows()
,
bound_intervals()
,
flip_strands()
x <- tibble::tribble(
~chrom, ~start, ~end,
"chr1", 1, 100,
"chr1", 150, 200,
"chr2", 200, 300
)
interval_spacing(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.