insertRegion: insertRegion

View source: R/main_splinter.R

insertRegionR 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)

dianalow/SPLINTER documentation built on March 28, 2024, 2:07 p.m.