Usage Functions

prep.SEAGLE()

Prepare data for input into SEAGLE function

SEAGLE()

Compute score-like test statistic and p-value for GxE test with SEAGLE algorithm

makeSimData()

Generate synthetic data according to a fixed effects model

Example Data

cosihap

Synthetic haplotype data generated from COSI software

Helper Functions

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

Vinv()

Function for applying V inverse in Algorithm 1

applyAt()

Function for applying t(A) on the left for REML EM

estimate.vc()

REML EM Algorithm