insertRegion {SPLINTER} | R Documentation

## insertRegion

### Description

inserts a region (exon or intron) into roi object

### Usage

    insertRegion(subject, roi)

### Arguments

`subject` | GrangesList
`roi` | `makeROI` object containg region of interest (to insert). refer to makeROI().

### Details

in the case of intron retention, replaces exon with intron retention range reduce() the GRanges in question

### Value

GRanges object

### Author(s)

Diana Low

### Examples

    #Inserts the exon defined in roi GRanges object from a GRanges/GRangesList
    region_minus_exon
    region_with_exon<-insertRegion(region_minus_exon,roi)

[Package SPLINTER version 1.12.0 Index]