Process inputs to scan functions
process_inputs(
probs,
pheno,
addcovar,
kinship,
n_snp = dim(probs)[3],
start_snp = 1,
max_iter = 10^4,
max_prec = 1/10^8
)
a three-dimensional array of founder allele probabilities
a matrix of d trait values
a matrix of covariates
a kinship matrix
number of markers
index number of start position in the probs object.
max number of iterations for EM
max precision for stopping EM