Discriminate HWE value
Allow the discrimination of different groups e.g. case and control, because outliers according to the hwe might be biologically relevant for some cases and might require a larger threshold.
Idea:
-
allow multiple values to hwe -
create another flag -hwe_factor that is required when having more than 1 hwe value -
-hwe_factor requires a file with one column as ids and the other as numeric value grouping the ids. - possibly use phenotype from fam file?