genomicCorr.sintersect: Intersection between two sets of genomic regions

Description Usage Arguments Details Examples

View source: R/genomic_region_correlation.R

Description

Intersection between two sets of genomic regions

Usage

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

Arguments

query

genomic region 1, a GRanges object

reference

genomic region 2, a GRanges object

restrict

subset of sites that should be only looked into, a GRanges object

Details

It calculates the total length of overlapped regions in query.

If the interest is e.g. the number of CpG sites both 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 18, 2017, 6:05 a.m.