intersect_regions {ENCODExplorer}R Documentation

Calculate the intersection of a set of elements within a GenomicOverlaps object.

Description

Calculate the intersection of a set of elements within a GenomicOverlaps object.

Usage

intersect_regions(x, indices = names(x), exclusive = TRUE)

Arguments

x

A GenomicOverlaps object.

indices

The names of the elements from x whose intersection should be found.

exclusive

If TRUE, the returned intersection will exclude those ranges where the elements from indices are not the only ones present.

Value

A GRanges objects containing the ranges from regions(x) which fit the given criteria.


[Package ENCODExplorer version 2.14.0 Index]