Arguments
y
Vector ($n \times 1$) of observations
G
Matrix ($t \times m$) of genotypes for $t$ lines with $m$ bi-allelic markers.
Genotypes should be coded as {-1,0,1} = {aa,Aa,AA}.
Z
0-1 matrix ($n \times t$) relating observations to lines
X
Design matrix ($n \times p$) for the fixed effects. If not passed, a vector of 1's is used
to model the intercept.
K
Kinship matrix for the population; must be positive semidefinite. If not passed, $K = G G' / m$.
min.MAF
Specifies the minimum minor allele frequency (MAF). If a marker has a MAF less than min.MAF,
it is assigned a zero score.
check.rank
If "TRUE", function will check the rank of the augmented design matrix for each marker. Markers for
which the design matrix is singular are assigned a zero score.