magic.self | R Documentation |
This function takes the "cross.info" object and add selfing after crosses. In the usual design, the only selfing is the single-seed descent after the last crossing generation.
magic.self(xinfo, self)
xinfo |
an object of "cross.info" class. |
self |
a vector of number of selfing generations after each crossing generation. |
an object of "cross.info" class, i.e. a list of founder combinations (fcomb) and crossing plans (xplan).
mpop <- magic.partial(n=8, m=1, balanced=TRUE) mpop <- magic.self(xinfo=mpop, self=c(0,0,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.