This internal function is called by pairscan
when no kinship correction is requested. It can be
compared to pairscan_kin
.
It fits pairwise linear models to estimate the effects of
marker pairs on each trait.
pairscan_noKin(
data_obj,
pheno_mat,
geno_mat,
covar_table,
marker_pairs,
n_perm,
verbose = FALSE,
run_parallel = FALSE,
n_cores = NULL
)
This function calls one_pairscan_parallel
and
returns results for each trait as an element in a list.
a Cape
object
The matrix of trait values with individuals in rows and traits in columns.
The matrix of genotypes to be tested
The matrix of covariates with individuals in rows.
A two-column matrix containing the marker pairs to be tested.
The number of permutations to be run
A logical value indicating whether to print progress to the screen
A logical value indicating whether parallel processing should be used
The number of cores to be used if run_parallel is TRUE