Description Usage Arguments Details Value Author(s) References See Also Examples
Absolute distance between two sets of genomic regions
1 | genomic_corr_absdist(query, reference, method = mean, ...)
|
query |
genomic region 1, a |
reference |
genomic region 2, a |
method |
function in which input is a vector of distance and output is a scalar |
... |
pass to |
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).
A single correlation value.
Zuguang Gu <z.gu@dkfz.de>
Favoriv A, et al. Exploring massive, genome scale datasets with the GenometriCorr package. PLoS Comput Biol. 2012 May; 8(5):e1002529
1 2 3 | gr1 = GRanges(seqnames = "chr1", ranges = IRanges(c(1, 5), c(3, 8)))
gr2 = GRanges(seqnames = "chr1", ranges = IRanges(c(2, 6), c(4, 8)))
genomic_corr_absdist(gr1, gr2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.