Description Usage Arguments Value Examples
Collapse consecutive genomic ranges with same meta-data value
1 | collapse_granges_by_val(gr, na.rm = TRUE)
|
gr |
A GRanges object with one meta-data column |
na.rm |
Logical - if TRUE (default), ranges with NA in metadata column are removed from output. If FALSE, ranges with NA are retained AND gaps between ranges are returned (also with NA) |
A GRanges object where consecutive ranges with the same meta-data value are collapsed together
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.