geoMeanCoordinates: Get geometric mean of given coordinates

View source: R/analyzeUMI4C.R

geoMeanCoordinatesR Documentation

Get geometric mean of given coordinates

Description

Get geometric mean of given coordinates

Usage

geoMeanCoordinates(coords, scale, bait_start)

Arguments

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.

Value

Calculates geometric mean of the provided coordinates, taking into account the distance to the viewpoint and how many restriction fragments are being merged.


Pasquali-lab/UMI4Cats documentation built on March 23, 2024, 9:42 p.m.