Description Usage Arguments Value Author(s) See Also Examples
This computes the linear distances between anchoring regions for each interaction,
simply by calling the pairdist
function from GenomicInteractions.
1 2 3 4 5 | calculateDistances(GIObject, method = "midpoint", floor = TRUE)
## S4 method for signature 'GenomicInteractions'
calculateDistances(GIObject,
method = "midpoint", floor = TRUE)
|
GIObject |
A GenomicInteractions object |
method |
String indicating how to calculate distances.
Should be |
floor |
A logical specifying whether to round down distances to the nearest base pair.
Defaults to |
A numeric vector containing the distances between anchors/GRanges.
If floor=TRUE
, this vector is integer.
Interactions on different chromosomes have distances set to NA
.
Malcolm Perry, Elizabeth Ing-Simmons
pairdist
, which this function calls.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.