powered by
Inserts Founders into a Pedigree
insertPed(ped, founders=NULL)
pedigree with id, dam and sire in ech column
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
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) # }
Run the code above in your browser using DataLab