Description Usage Arguments Value
Finds overlaps between target segments and data. Calculates result of a function across overlaps.
1 2 | intersect_data_with_segment(seg, gr, dat.column, func = median,
na.value = NA, do_parallel = F, ...)
|
seg |
GRanges object to calculate data over |
gr |
GRanges object with a data column |
dat.column |
which mcols name to find data in |
func |
what function to use (e.g.: |
na.value |
value to use if segment has no overlaps with gr |
... |
extra arguments passed to |
a vector with one value per segment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.