intersect_overlap: Calculate an overlap of certain factors within an...

Description Usage Arguments Value

View source: R/IntersectionHelper.R

Description

Given an intersect.object , finds all regions where all factors described by either indices or names are present. If both indices and names are NULL, the inner intersection is calculated.

Usage

1
2
intersect_overlap(intersect.object, indices = NULL, names = NULL,
  exclusive = FALSE)

Arguments

intersect.object

An intersect.object returned by build_intersect. by the rows of overlap.matrix.

indices

A vector of indices into the factors of intersect.object.

names

A vector of factor names in intersect.object.

exclusive

If TRUE, a region will be returned if the factors in

Value

A GRanges object with the regions matching the given criteria.


ArnaudDroitLab/ef.utils documentation built on Aug. 13, 2019, 9:09 p.m.