magic.full: Create a full MAGIC design.

View source: R/magic_full.R

magic.fullR Documentation

Create a full MAGIC design.

Description

This function produces all possible founder combinations and crosses for only either 4 or 8 founders. In a full design, the number of unique founder combinations (funnels) is given by n!/2^{n-1}. Full design for 16 or more founders are impossible in practice, for example, a full design for 16 founders would have 638,512,875 funnels.

Usage

magic.full(n, inbred = TRUE)

Arguments

n

number of founders (4, 8).

inbred

logical indicator of whether the founders are inbred.

Value

an object of "cross.info" class, i.e. a list of founder combinations (fcomb) and crossing plans (xplan).

Examples


mpop <- magic.full(n=4)



cjyang-sruc/magicdesign documentation built on March 19, 2022, 9:34 a.m.