Compute allele frequency from its expectation.
Xis a matrix whose last dimension correspond to the different set of chromosomes. The first dimension represent different variants and the second dimension represent the different samples.
X (array_like) – Allele expectations encoded as a variants-by-samples-by-alleles matrix.
frequenct – Allele frequencies encoded as a variants-by-alleles matrix.
- Return type