- genoprobs
Genotype probabilities as calculated by
calc_genoprob()
.
- pheno
A numeric matrix of phenotypes, individuals x phenotypes.
- kinship
Optional kinship matrix, or a list of kinship matrices (one
per chromosome), in order to use the LOCO (leave one chromosome
out) method.
- addcovar
An optional numeric matrix of additive covariates.
- Xcovar
An optional numeric matrix with additional additive covariates used for
null hypothesis when scanning the X chromosome.
- intcovar
An numeric optional matrix of interactive covariates.
- weights
An optional numeric vector of positive weights for the
individuals. As with the other inputs, it must have names
for individual identifiers.
- reml
If kinship
provided: if reml=TRUE
, use
REML; otherwise maximum likelihood.
- model
Indicates whether to use a normal model (least
squares) or binary model (logistic regression) for the phenotype.
If model="binary"
, the phenotypes must have values in \([0, 1]\).
- hsq
Considered only if kinship
is provided, in which case
this is taken as the assumed value for the residual
heritability. It should be a vector with length corresponding
to the number of columns in pheno
, or (if kinship
corresponds to a list of LOCO kinship matrices) a matrix with dimension
length(kinship) x ncol(pheno)
.
- by_chr
If TRUE, save the individual chromosome maxima.
- cores
Number of CPU cores to use, for parallel calculations.
(If 0
, use parallel::detectCores()
.)
Alternatively, this can be links to a set of cluster sockets, as
produced by parallel::makeCluster()
.
- ...
Additional control parameters; see Details.