tracts.population._split_indivs#

_split_indivs(indivs, count, sort_ancestry=None)#

Internal function used to split a list of individuals into equally sized groups after sorting the individuals according to the proportion of the ancestry identified by sort_ancestry. When no sort_ancestry is provided, the ancestry of the first tract of the first chromosome copy of the first chromosome of the first individual in the list is used.

Return type:

list[list[Indiv]]

Notes

Not documented.