powered by
Builds the pedigree-based dominance relationship matrix.
buildD(ped, A)
: data.frame with integer columns corresponding to ID, SIRE, DAM. Missing value is 0.
data.frame
: Relationship matrix A created by function buildA.
buildA
Relationship matrix D
matrix
# NOT RUN { ped = data.frame(ID=1:6, SIRE=c(0,0,1,3,1,4), DAM=c(0,0,2,2,2,5)) buildD(ped, buildA(ped)) # }
Run the code above in your browser using DataLab