add.Inds | R Documentation |
Function add.Inds() adds missing individuals to a pedigree and returns the
complete pedigree as a data.frame with the same headers as the
original pedigree. Remeber to check for errors beforehand with
function errors.ped
. Unknown parents should be coded as NA.
add.Inds(ped)
ped |
|
data.frame of three columns with identical header as input.
Albart Coster, Albart.Coster@wur.nl
orderPed
ID <- 3:5 DAM <- c(1,1,3) SIRE <- c(2,2,4) pedigree <- data.frame(ID,DAM,SIRE) pedigree <- add.Inds(pedigree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.