- fileLoc
absolute file path to bed, bim, and fam files, including prefix
- externalVar
vector of length n of external variable values with no ID column; must be in the same sample order as bed, bim, fam files
- gctaPath
absolute path to GCTA software
- remlAlg
algorithm to run REML iterations in GCTA; 0 = average information (AI), 1 = Fisher-scoring, 2 = EM; default is 0 (AI)
- maxRemlIt
the maximum number of REML iterations; default is 100
- numCovars
n x c_n matrix of numerical covariates to adjust heritability model for; must be in same person order as fam file; default is NULL
- catCovars
n x c_c matrix of categorical covariates to adjust heritability model for; must be in same person order as fam file; default is NULL