For a fix set of parameters, generate AIL pedigree and simulate crossovers, randomly generate phenotypes with main QTL and minor QTLs, then run QTLRel::scanOne to do QTL mapping. save LOD score as a matrix and marker infomations to result.dir.
1 2 3 4 |
method |
design method for the pedigree, choose from 'sub2' or 'last2' or 'fixcc'. |
para |
data.frame that saves all the parameter settings for the simulation |
i.para |
which setting to use for the current run |
n.simu |
number of phenotypes for the current run |
qtl.chr |
chromosome for the qtl |
ochr |
chromosomes other than qtl.chr, used to estimate kinship matrix |
n.mqtl |
number of minor qtls for the polygenic effects |
design |
'nosib' or 'random' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.