Negative selection scores of genes with different mechanisms of disease dominance. (A) The distribution of CoNeS for genes causing autosomal dominant IEI, according to mechanism of disease dominance. (B) Precision–recall curves for p(HI), CoNeS, and the best supervised model when trying to distinguish between haploinsufficient and haplosufficient (gain-of-function or dominant-negative) IEI genes. The dashed line is the maximum precision–recall curve, the dotted line the minimum precision–recall curve, and the mixed line a random classifier precision–recall curve.