tracts.phase_type.hybrid_pedigree#
Functions
|
Calculates the maximum-likelihood in a Poisson Random Field, when admixture is modelled using the hybrid-pedigree refinement of the DC or DF models. |
Calculates the tract length histogram for the hybrid-pedigree refinement of the DC or DF model for multiple chromosome lengths. |
|
|
Generates all possible trees representing the migration settings in a pedigree of T generations with N ancestral populations. |
|
Computes the tract length density or histogram for a given pedigree configuration, as specified by the which_migration-th element of migration_list, using the Hybrid-Pedigree refinement of the DC or DF model. |
|
Recursively generates all possible binary trees representing the migration settings in a pedigree of max_gen generations. |
|
Generates a matrix representing a pedigree structure of a given number of generation. |
|
This function computes the tract length distribution as a Phase-type mixture on a finite chromosome of length L, using the Hybrid-Pedigree refinement of the DC or DF model. |
|
Computes the probabily of a given configuration of migrant ancestors in the pedigree, as specified by the ms-th element of all_possible_migrations_list. |
|
Convert a tree to its array representation. |