insertPed | R Documentation |
Inserts Founders into a Pedigree
insertPed(ped, founders=NULL)
ped |
pedigree with id, dam and sire in ech column |
founders |
optional vector of founder id's. If not specified, then parents without their own pedigree row are inserted |
a pedigree pedigree with id, dam and sire in each column
Jarrod Hadfield j.hadfield@ed.ac.uk
MCMCped
## Not run: pedigree<-matrix(NA, 7,3) pedigree[,1]<-2:8 pedigree[,2][4:7]<-c(1,1,2,2) pedigree[,3][4:7]<-c(3,3,4,4) pedigree2<-insertPed(pedigree) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.