meiotic_dist_threshold {malan}R Documentation

Meiotic distance between two individuals (with threshold)

Description

Get the number of meioses between two individuals. Note, that pedigrees must first have been inferred by build_pedigrees().

Usage

meiotic_dist_threshold(ind1, ind2, threshold)

Arguments

ind1

Individual 1

ind2

Individual 2

threshold

Max search radius, if exceeding, return -1

Value

Number of meioses between ind1 and ind2 if they are in the same pedigree, else -1.


[Package malan version 1.0.3 Index]