sim.mpcross(map, pedigree, qtl = NULL, vare = 1, error.prob = 0, missing.prob = 0, full.prob = 0, keep.qtlgeno = TRUE, transpos = 1, transval = 0, map.function = c("haldane", "kosambi"), seed = 1, fg = NULL, founderld = FALSE)
sim.map
sim.mpped
mpcross
objectmpcross
. See
mpcross
for further details.
Additional components are: keep.qtlgeno
is TRUE
then QTL
genotypes will be retainedclean.mpcross
.Note that if founder genotypes are input they should be coded as follows: DArT markers take values in 0,1 SNP markers take values in 0,2 All other markers take some other set of values.
sim.mpped
,
sim.map
map <- sim.map(len=100, n.mar=11, eq.spacing=TRUE, include.x=FALSE)
sim.ped <- sim.mpped(4, 1, 500, 6, 1)
sim.dat <- sim.mpcross(map=map, pedigree=sim.ped, qtl=matrix(data=c(1, 50, .4, 0, 0, 0), nrow=1, ncol=6, byrow=TRUE), seed=1)
Run the code above in your browser using DataLab