Skip to contents

This function takes the input data and returns a p-value for the null hypothesis that haplotype configurations which influence coding variant penetrance are not significangtly enriched in the population. The p-value is calculated analytically using the poisson-binomial distribuion, which is the distribution over the sum of n independent but NOT identically distributed bernoulli random variables.

Usage

poison_binomial_test(haps)

Arguments

haps

The output of `characterize_haplotypes`, or another haplotype calling tool. There is one line per haplotype