infer_map_precision: Infer precision of map positions.

Description Usage Arguments Value

View source: R/internal.R

Description

Infer precision of map positions.

Usage

1
infer_map_precision(x, tol = .Machine$double.eps^0.5)

Arguments

x

An R/qtl scanone or map object.

tol

Tolerance for map position equality.

Value

Inferred precision of map in x. Map precision is taken from the map step size, if the majority of the map steps in x are the same. Otherwise, map precision is set from the smallest distance between any two adjacent loci.


gact/utl documentation built on June 1, 2021, 4:24 p.m.