extendROI {SPLINTER} | R Documentation

## extendROI

### Description

extend the span of the current ROI by n number of up/downstream exon(s) by modifying roi_range within the makeROI object while retaining legacy sites by keeping $roi and $flank

### Usage

    extendROI(roi, tx, up = 0, down = 0, type = 1)

### Arguments

`roi` | `makeROI` object
`tx` | GRangesList transcript list to pull regions from
`up` | integer. number of exons to extend upstream
`down` | integer. number of exons to extend downstream
`type` | integer. 1=full cassette, 2=flank only

### Value

`makeROI` object with modified ranges

### Examples

    extendROI(roi,valid_tx,up=1)

[Package SPLINTER version 1.16.0 Index]