reduce_overlaps: Compute reduced ranges on a gtf/gff/bed/bam object.

Description Usage Arguments Value

Description

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

Usage

1
reduce_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 reduced ranges.


asrinivasan-oa/gread documentation built on May 10, 2019, 2:04 p.m.