scan_multi_oneqtl_perm: Permute the phenotypes matrix and then scan the genome....

Description Usage Arguments Value

View source: R/scan_multi_onechr.R

Description

Permute the phenotypes matrix and then scan the genome. Record the genomewide greatest LOD score for each permuted data set.

Usage

1
2
3
4
5
6
7
8
scan_multi_oneqtl_perm(
  probs_list,
  pheno,
  kinship_list = NULL,
  addcovar = NULL,
  n_perm = 1,
  cores = 1
)

Arguments

probs_list

a list of founder allele probabilities, one array per chromosome

pheno

a matrix of trait values

kinship_list

a list of kinship matrices, one per chromosome

addcovar

a matrix of covariate values

n_perm

positive integer for the number of permuted data sets to scan.

cores

number of cores for parallelization

Value

a vector of 'n_perm' max lod statistics


qtl2pleio documentation built on Dec. 3, 2020, 1:06 a.m.