removeRegion: removeRegion

View source: R/main_splinter.R

removeRegionR Documentation

removeRegion

Description

removes a region (exon) from a GRanges or GRangesList

Usage

removeRegion(subject, roi)

Arguments

subject

GRanges or GrangesList object

roi

makeROI object containing GRanges range (to remove)

Value

GRanges object

Author(s)

Diana Low

# Removes the exon defined in roi GRanges object from a GRanges/GRangesList compatible_cds$hits[[1]] region_minus_exon<-removeRegion(compatible_cds$hits[[1]],roi)


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