subtractRegions: Function to subtract ranges that flank regions of interest

View source: R/subtractRegions.R

subtractRegionsR Documentation

Function to subtract ranges that flank regions of interest

Description

Function to subtract ranges that flank regions of interest

Usage

subtractRegions(gr = NULL, remove.gr = NULL, mode = "flanks", remove = FALSE)

Arguments

gr

A GRanges-class object of ranges from which remove.gr are removed.

remove.gr

A GRanges-class object of ranges to subtract from gr.

mode

Select 'flanks' to subtract only flanking regions or 'all' to subtract all regions what creates disjoined ranges.

remove

Set to TRUE if ranges completely embedded within 'remove.gr' should be removed.

Value

A GRanges-class object.

Author(s)

David Porubsky


daewoooo/primatR documentation built on March 28, 2024, 6:41 a.m.