Description Usage Arguments Value Examples
Disjoin then aggregate a Ranges object
1 2 3 | disjoin_ranges(.data, ...)
disjoin_ranges_directed(.data, ...)
|
.data |
a Ranges object to disjoin |
... |
Name-value pairs of summary functions. |
a Ranges object that is now disjoint (no bases overlap).
1 2 3 4 5 6 | df <- data.frame(start = 1:10, width = 5, seqnames = "seq1",
strand = sample(c("+", "-", "*"), 10, replace = TRUE), gc = runif(10))
rng <- as_granges(df)
rng %>% disjoin_ranges()
rng %>% disjoin_ranges(gc = mean(gc))
rng %>% disjoin_ranges_directed(gc = mean(gc))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.