Members in extended families are likely to be more similar at loci influencing traits under assortative mating, which may lead to polygenic confounding of rare variants that tag those families.
These simulations aims to evaluate if this mechanism induces confounding of rare variant associations and if it does, how many generations that confounding lasts for.
In R:
remv::restore()
On ieu-p1:
Rscript scripts/sim_run.r