genomicCorr.absdist: Absolute distance between two sets of genomic regions

Description Usage Arguments Details References Examples

Description

Absolute distance between two sets of genomic regions

Usage

1
genomicCorr.absdist(query, reference, method = mean, ...)

Arguments

query

genomic region 1, a GRanges object

reference

genomic region 2, a GRanges object

method

function in which input is a vector of distance and output is a scalar

...

pass to method

Details

For regions in query and reference, they are all degenerated as single points which are the middle points of corresponding regions. For each middle point in query, it looks for the nearest point in reference. Assuming the distance vector is d, the final statistic is method(d).

References

Favoriv A, et al. Exploring massive, genome scale datasets with the GenometriCorr package. PLoS Comput Biol. 2012 May; 8(5):e1002529

Examples

1
2
# There is no example
NULL

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