View source: R/scan1_permute.R
scan1_permute | R Documentation |
Permutation test for scan1
scan1_permute(
data,
trait,
params,
n.permute = 1000,
chrom = NULL,
dominance = 1,
covariate = NULL,
n.core = 1
)
data |
Variable of class |
trait |
Name of trait |
params |
List containing burnIn and nIter |
n.permute |
Number of permutations |
chrom |
Names of chromosomes to scan (default is all) |
dominance |
Dominance degree (1-4) |
covariate |
optional, to include markers as covariates. See Details. |
n.core |
Number of cores for parallel execution |
Data frame with maximum LOD and minimum deltaDIC for each iteration
## Not run:
set_params(data = diallel_example,
trait = "tuber_shape")
ans1_permut <- scan1_permute(data = diallel_example,
chrom = 10,
trait = "tuber_shape",
params = list(burnIn=60,nIter=600),
n.permute = 100)
## computing permutation threshold for alpha=0.05
quantile(ans1_permut$min_deltaDIC, 0.05)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.