combineRanges: Combines overlaps in features and windows

Description Usage Arguments Details Value

Description

Combines multiple GRange objects with overlapping ranges.

Usage

1
combineRanges(window, feature, nCores, overlap = "+")

Arguments

window

GRangesList. Windows to overlap features to

feature

GRangesList containing features generated using either getFeatures or codonRanges

nCores

numeric number of cores to run in parallel

overlap

character
Negative or positive overlap "-" will subtract the feature ranges from the windows
"+" will bin features into window ranges

Details

Authour: Chris Ward Passing multiple GRange objects will result in ordered overlaping of ranges. e.g. if a genome wide 100kb tiled window GRangeList generated using windowMaker() is passed along with a features GRangesList generated using getFeatures(feature = "gene:cds"), This will be combined into 100kb windows containing only regions of protein coding sequence.

Value

A data_frame of selected Diversity statistics


CMWbio/geaR documentation built on June 21, 2019, 10:48 a.m.