insertRegion: insertRegion

Description Usage Arguments Details Value Author(s) Examples

View source: R/main_splinter.R

Description

inserts a region (exon or intron) into roi object

Usage

1
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

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

SPLINTER documentation built on Nov. 8, 2020, 8:13 p.m.