tracts.population#
Defines Population, a collection of Indiv objects loaded from a sample
directory of .bed files. This is the sample-data entry point used by run_tracts()
to compute observed tract length distributions and ancestry proportions.
Functions
|
Organizes a list of tracts into a dictionary keyed on ancestry labels. |
|
Preprocesses the color dictionary to ensure that all ancestry labels present in the data have an entry in the color dictionary. |
Classes
|
A class representing a population of diploid individuals. |