magic.addx | R Documentation |
This function takes the "cross.info" object and adds an extra crossing generation after the final n-way crosses have been made.
magic.addx(xinfo, addx, repx, selfx)
xinfo |
an object of "cross.info" class. |
addx |
an integer of either 1 or 2 indicating the type of additional crosses. |
repx |
an integer of number of replicates from the additional crosses. |
selfx |
an integer of number of selfing generations after the additional crosses. |
There are two options available: addx=1
splits the n-way individuals into two equal pools
and make all possible crosses between these two pools similar to the approach of
Stadlmeier et al 2018; addx=2
keeps the n-way individuals
in one pool and make all possible crosses within this one pool (random mating). Note
that addx=1
is only available for basic design. While addx=2
is not restricted
to just basic design, it is still not recommended for other designs.
an object of "cross.info" class, i.e. a list of founder combinations (fcomb) and crossing plans (xplan).
mpop <- magic.basic(n=8) mpop <- magic.reps(xinfo=mpop, reps=c(1,4,1)) mpop <- magic.addx(xinfo=mpop, addx=1, repx=3, selfx=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.