Description Usage Arguments Value Author(s) Examples
Simulates phenotypic data on top of the pedigreeSimR output and save then as diaQTL csv format
1 2 3 4 5 6 7 8 |
parents |
number of parents in the pedigree |
ploidy |
integer even number |
workingfolder |
string with folder name to load the input and write output files |
QTLmarker |
name of marker to be used as QTL, if NULL a marker is sampled randomly (default) |
QTLh2 |
numeric between 0 and 1 with the QTL heritability |
run_diaQTL |
logical, if TRUE runs diaQTL scan1 and fitQTL functions in the data. |
if run_diaQTL=TRUE, return a list with diaQTL results. Otherwise, returns NULL.
Rodrigo R Amadeu, rramadeu@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
map = 1:100
haplotypes = fake_haplo(m=50,n=100,seed=1234)
pedigree = diallel_pedigree(parents=3,popsize=100)
pedigreesimR(map,haplotypes,pedigree,workingfolder="PedigreeSimR_files")
QTLsim(parents=3,
ploidy=4,
workingfolder="PedigreeSimR_files",
QTLmarker=NULL,
QTLh2=0,
run_diaQTL=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.