meiotic_dist_threshold: 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)
Value
Number of meioses between ind1
and ind2
if they are in the same pedigree, else -1.
Arguments
- ind1
Individual 1
- ind2
Individual 2
- threshold
Max search radius, if exceeding, return -1