getDisjointOverlaps: Function to group overlapping ranges such that common range...

View source: R/getDisjointOverlaps.R

getDisjointOverlapsR Documentation

Function to group overlapping ranges such that common range shared across group of ranges meets required percentage threshold (percTh).

Description

Function to group overlapping ranges such that common range shared across group of ranges meets required percentage threshold (percTh).

Usage

getDisjointOverlaps(gr, percTh = 50, weighted = FALSE)

Arguments

gr

A GRanges-class object.

percTh

A percentage threshold for a required overlap.

weighted

Set to TRUE if each overlapping group of ranges should be weighted based on its size and number of ranges in each group.

Value

A GRanges-class object with extra meta-columns (idx, perc.overlap, weight, group & sub.group).

Author(s)

David Porubsky


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