disjoin_overlaps: Compute disjoint ranges on a gtf/gff/bed/bam object.

Description Usage Arguments Value

Description

For internal use only. Computes disjoint ranges on a gtf/gff/bed/bam 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
disjoin_overlaps(x, by = "gene_id", ignore_strand = FALSE)

Arguments

x

An object of class gtf/gff/bed/bam.

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 disjoint ranges.


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