Skip to contents

Extend the 5' and 3' ends of a GRanges. See references for source.

Usage

extend(x, upstream = 0, downstream = 0)

Arguments

x

A GRanges object to extend

upstream

Numeric of basepairs to extend the 5' end by

downstream

Numeric of basepairs to extend the 3' end by

Value

A GRanges object with extended ranges

Details

extend