| genAILped | R Documentation |
Generate a pedigree matrix, for use with the simulation function
sim.ped, for advanced intercross lines.
genAILped(ngen=8, npairs=20, sibship.size=10)
ngen |
Number of generations of crosses. |
npairs |
Number of mating pairs per generation. |
sibship.size |
Size of sibships in the final generation. |
We generate equal numbers of males and females at each generation. Matings are with random male/female pairs, with no attempt to avoid matings between siblings.
The output is a matrix with five columns: "id", "sex"
(coded as 0=female, 1=male), "mom", "dad",
and "generation".
Karl W Broman, broman@wisc.edu
sim.ped
ailped <- genAILped(ngen=5, npairs=5, sibship.size=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.