getReciprocalOverlaps: Function to calculate percentage of reciprocal overlap...

View source: R/getReciprocalOverlaps.R

getReciprocalOverlapsR Documentation

Function to calculate percentage of reciprocal overlap between two sets of ranges.

Description

Function to calculate percentage of reciprocal overlap between two sets of ranges.

Usage

getReciprocalOverlaps(query, subject, thresh = 50, report = "both", index = "")

Arguments

query

A GRanges-class object.

subject

A GRanges-class object.

thresh

A percentage threshold for a required overlap.

report

Set to 'both' if you want to return merged query and subject ranges or select only one of them.

index

An user defiend ID to disntiguish calculated overlaps.

Value

A GRanges-class object.

Author(s)

David Porubsky


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