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 Oct. 22, 2024, 9:41 p.m.