genomicCorr.pintersect: Intersection between two sets of genomic regions

Description Usage Arguments Details Examples

Description

Intersection between two sets of genomic regions

Usage

1
genomicCorr.pintersect(query, reference, method = NULL, ...)

Arguments

query

genomic region 1, a GRanges object

reference

genomic region 2, a GRanges object

method

function in which the input is the percentage of each query that is overlaped in reference and output is a scalar

...

pass to percentOverlaps

Details

For each region in query, it calculates the percent that is covered by reference.

The returned value is percent which is how much query is covered by reference (by default).

Be careful with the strand in your GRanges object!!

Examples

1
2
# There is no example
NULL

jokergoo/cotools documentation built on May 19, 2019, 6:24 p.m.