reduce-GInteractions-method: Reduce method for 'GInteractions'

reduce,GInteractions-methodR Documentation

Reduce method for 'GInteractions'

Description

Reduce returns an object of the same type as x containing reduced ranges for each distinct (seqname, strand) pairing.

Usage

## S4 method for signature 'GInteractions'
reduce(x, min.gapwidth = 1L, ignore.strand = TRUE, ...)

Arguments

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.

Examples

## Not run: 
library(InteractionSet) 
gi <- readRDS(system.file("extdata", "gi.rds", package="trackViewer"))
reduce(head(gi, n=20))

## End(Not run)


jianhong/trackViewer documentation built on Dec. 10, 2024, 10:33 a.m.