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

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.