sim_pedigree | R Documentation |
Creates a pedigree for a bi-parental, recombinant inbred line family. Options are available for partial selfing, backcrossing, and random mating.
sim_pedigree(n.par, n.ind, bcpar, n.bcgen = 0, n.selfgen = Inf)
n.par |
The number of founding parents. May be 2 (for a 2-way cross) or 4 (for a 4-way cross). |
n.ind |
The number of initial F_1 individuals that are created. By single-seed decent, this is also the number of final inbred individuals. |
bcpar |
The recurrant parent in backcrossing. If not |
n.bcgen |
The number of backcross generations to the parent specified
by |
n.selfgen |
The number of selfing generations. For instance,
|
A matrix of class pedigree
with 5 columns. The first column contains
the individual id, the second column contains the individual ids for the mom,
the third column contains the individual ids for the dad, the fourth column
contains sex indicators, and the fifth column contains generations indicators.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.