genomicCorr.jaccard: Jaccard coefficient between two sets of genomic regions

Description Usage Arguments Details Examples

Description

Jaccard coefficient between two sets of genomic regions

Usage

1
genomicCorr.jaccard(query, reference, restrict = NULL)

Arguments

query

genomic region 1, a GRanges object

reference

genomic region 2, a GRanges object

restrict

background regions that should be only looked in, a GRanges object

Details

Jaccard coefficient is defined as the total length of intersection divided by total length of union of two sets of genomic regions.

You can set the background when calculating Jaccard coefficient. For example, if the interest is the Jaccard coefficient between CpG sites in query and in reference restrict can be set with a GRanges object which contains positions of CpG sites.

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.