padGRanges takes a GRanges object and adds or substracts
distance based on user-defined input. Upstream and downstream
consider strand information when available. Specify only either
pad or upstream/downstream when using
Usage
padGRanges(gro, upstream = 0, downstream = 0, pad = 0)
## S3 method for class 'GRanges':
padGRanges(gro, upstream = 0, downstream = 0, pad = 0)
Arguments
gro
A granges object
upstream
Distance in BP added upstream
downstream
Distance in BP added downstream
pad
Distance in BP added
Value
A GRanges object with adjusted start and end values