genomicCorr.sintersect: Intersection between two sets of genomic regions

Description Usage Arguments Details Examples

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 19, 2019, 6:24 p.m.