y
|
numeric named vector of phenotypes (length n)
|
markers
|
list of raw marker inputs:
|
gwas_result
|
object of class “gwas_result” from run_gwas(). Must be run with the same markers and individuals.
|
X
|
fixed effects design matrix (n x c). If NULL, intercept only
|
method
|
character, REML algorithm (default "auto"). Passed to masreml()
|
solver
|
character, EBV solver (default "auto"). Passed to masreml()
|
max_iter
|
integer, maximum REML iterations (default 100)
|
tol
|
numeric, convergence tolerance (default 1e-6)
|
n_threads
|
integer, number of threads (default: all cores)
|
ref_markers
|
list of raw marker data for training individuals only, same format as markers. If provided, allele frequencies for building G_wa are computed from ref_markers instead of markers. Use in train/test context to avoid data leakage. If NULL (default), allele frequencies computed from markers.
|
trait
|
character, trait distribution: “continuous” (default) or “binary”. Passed to masreml().
|
link
|
character, link function for binary trait: “logit” (default) or “probit”. Passed to masreml().
|