admix.data.allele_per_anc#

admix.data.allele_per_anc(geno: Array, lanc: Array, n_anc: int, center=False)[source]#

Get allele count per ancestry

Parameters:
  • geno (da.Array) – genotype data

  • lanc (da.Array) – local ancestry data

  • n_anc (int) – number of ancestries

Returns:

Return allele counts per ancestries