tracts.hybrid_pedigree#
This module implements the hybrid pedigree model for tract length distributions. It computes a mixture of Phase-Type distributions, each describing the tract length distribution conditioned on a pedigree structure. Dioecious admixture is considered on a finite chromosome.
See Appendix E of the manuscript for details on the model and the implementation.
Functions
|
Calculates the maximum-likelihood in a Poisson Random Field. |
Calculates the tract length histogram on multiple chromosomes of lengths chrom_lengths. |
|
|
|
|
|
|
|
|
|
|
This function computes the tract length distribution as a Phase-Type density or histogram on a finite chromosome of length L, using the Hybrid-Pedigree model. |
|
|
|
Convert a tree to its array representation. |