getDisjointOverlapsWeighted: Function to group overlapping ranges based on percentage of...

View source: R/getDisjointOverlaps.R

getDisjointOverlapsWeightedR Documentation

Function to group overlapping ranges based on percentage of the overlap.

Description

This function weights overlaps based on percentage of the overlap and the amount of overlapping ranges

Usage

getDisjointOverlapsWeighted(gr, percTh = 50)

Arguments

gr

A GRanges-class object.

percTh

A percentage threshold for a required overlap.

Value

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

Author(s)

David Porubsky


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