Permute the phenotypes matrix and then scan the genome. Record the genomewide greatest LOD score for each permuted data set.
scan_multi_oneqtl_perm(
probs_list,
pheno,
kinship_list = NULL,
addcovar = NULL,
n_perm = 1,
cores = 1
)
a list of founder allele probabilities, one array per chromosome
a matrix of trait values
a list of kinship matrices, one per chromosome
a matrix of covariate values
positive integer for the number of permuted data sets to scan.
number of cores for parallelization
a vector of `n_perm` max lod statistics