reportOverlapBases: This function will take in a 'GRanges-class' object of...

View source: R/reportOverlapBases.R

reportOverlapBasesR Documentation

This function will take in a GRanges-class object of genomic ranges and enumerate the number of overlapping bases with other set of user defined 'query' genomic ranges.

Description

This function will take in a GRanges-class object of genomic ranges and enumerate the number of overlapping bases with other set of user defined 'query' genomic ranges.

Usage

reportOverlapBases(ranges = NULL, query.ranges = NULL, index = NULL)

Arguments

ranges

A GRanges-class object of genomic regions to get the number of overlapping bases with 'query.ranges'.

query.ranges

A GRanges-class object of genomic regions for which one want to report overlaps.

index

A user defined name of a column where the number of overlapping bases between 'ranges' and 'query.ranges' will be reported.

Value

A GRanges-class object.

Author(s)

David Porubsky


daewoooo/primatR documentation built on Oct. 22, 2024, 9:41 p.m.