| applyAt | Function for applying t(A) on the left for REML EM |
| cosihap | Synthetic haplotype data generated from COSI software |
| estimate.vc | REML EM Algorithm |
| makeSimData | Generate synthetic data according to a fixed effects model |
| prep.SEAGLE | Prepare data for input into SEAGLE function |
| Rinv.AtG | Function for applying R inverse to AtG in REML EM algorithm |
| Rinv.u | Function for applying R inverse to u in REML EM algorithm |
| SEAGLE | Compute score-like test statistic and p-value for GxE test with SEAGLE algorithm |
| Vinv | Function for applying V inverse in Algorithm 1 |