geoMeanCoordinates {UMI4Cats} | R Documentation |
Get geometric mean of given coordinates
geoMeanCoordinates(coords, scale, bait_start)
coords |
Vector of integers representing the coordinates from which to obtain the geometric mean. |
scale |
Vector of scales indicating how many fragment where merged. |
bait_start |
Integer indicating the coordinates for the bait start. |
Calculates geometric mean of the provided coordinates, taking into account the distance to the viewpoint and how many restriction fragments are being merged.