pedup | R Documentation |
Extracts pedigree upward for one or a group of individuals to find their ascendants
pedup(ped, progeny, maxgen = c())
ped |
: |
progeny |
: Vector of individual ID(s), from which the new pedigree is being extracted. |
maxgen |
: (optional) a positive integer for the maximum number of generations (continuing from parents of |
Extracted pedigree data.frame
ped = data.frame(ID=1:6, SIRE=c(0,0,1,3,1,4), DAM=c(0,0,2,2,2,5)) pedup(ped, c(1,4)) pedup(ped, 6, maxgen=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.