source

compute_dosage

 compute_dosage (geno, is_active)

Computes dosage for all individuals, masking inactive ones. This is JIT-compatible because it preserves the array shape.