Expand description
Site allelele frequency (“SAF”) likelihoods.
SAF likelihoods represent a generalisation of genotype likelihoods from individuals to
populations. To estimate the N-dimensional SFS, we need the SAF likelihoods from intersecting
sites for those N populations. We represent those by the owned type Saf or the borrowed type
SafView, which may represent the full data or only a smaller block of sites.
Modules§
- iter
- Structs and traits for iterating over SAF likelihood matrices and views.
Structs§
- Saf
- Joint SAF likelihood matrix for
Npopulations. - SafView
- A view of a joint SAF likelihood matrix for
Npopulations. - Shape
Error - An error associated with SAF or SAF site construction using invalid shape.
- Site
- A single site of SAF likelihoods for
Npopulations. - Site
View - A view of a single site of SAF likelihoods for
Npopulations.
Traits§
- AsSaf
View - A type that can be cheaply converted to a SAF view.
- AsSite
View - A type that can be cheaply converted to a SAF site.
- Lifetime
- Stable workaround for lifetime GATs.