intersect_overlaps: Compute intersecting ranges on a gtf/gff/bed/bam object with...

Description Usage Arguments Value

Description

For internal use only. Computes intersecting ranges on a gtf/gff object by converting the input object to a GRangesList object and calling disjoin() (from the GenomicRanges package) on it. Returns an object of same class as input.

Usage

1
intersect_overlaps(x, by = "gene_id", ignore_strand = FALSE)

Arguments

x

An object of class gtf or gff.

by

Character vector of column names in x to group by.

ignore_strand

Logical argument to pass to GRanges function. Indicates whether strand should be ignored when constructing GRanges object or not. Default is FALSE.

Value

A data.table with intersecting ranges.


openanalytics/gread documentation built on May 24, 2019, 2:29 p.m.