reduce,GInteractions-method | R Documentation |
Reduce returns an object of the same type as x containing reduced ranges for each distinct (seqname, strand) pairing.
## S4 method for signature 'GInteractions'
reduce(x, min.gapwidth = 1L, ignore.strand = TRUE, ...)
x |
GInteractions object. |
min.gapwidth |
Ranges separated by a gap of at least min.gapwidth positions are not merged. |
ignore.strand |
TRUE or FALSE. Whether the strand of the input ranges should be ignored or not. |
... |
Not used. |
## Not run:
library(InteractionSet)
gi <- readRDS(system.file("extdata", "gi.rds", package="trackViewer"))
reduce(head(gi, n=20))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.