extendGR: Extend regions from a Genomic Ranges object

View source: R/GRangesUtils.R

extendGRR Documentation

Extend regions from a Genomic Ranges object

Description

This function extends each region in a Genomic Ranges object by a designated upstream and downstream extension in a strand-aware fashion

Usage

extendGR(gr = NULL, upstream = NULL, downstream = NULL)

Arguments

gr

A GRanges object.

upstream

The number of basepairs upstream (5') to extend each region in gr in a strand-aware fashion.

downstream

The number of basepairs downstream (3') to extend each region in gr in a strand-aware fashion.


GreenleafLab/ArchR documentation built on Feb. 28, 2024, 4:17 p.m.