Compare nested PheWAS specifications on identical samples
Source:R/contrast.R
run_phewas_contrast.RdEach phenotype is fitted twice on the exact same complete-case rows. The adjusted specification may differ from the base specification only by its analysis ID and by adding covariates. BH and Bonferroni values are then recomputed over the mutually successful testing universe.