removeRegion

Share:

Description

removes a region (exon) from a GRanges or GRangesList

Usage

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