tabAinv | R Documentation |
Creates the data.frame
of the inverse of the pedigree-based genetic relationship matrix.
tabAinv(ped, inbr)
ped |
: |
inbr |
: Vector of inbreeding coefficients in the order of individuals in the relationship matrix. |
data.frame
of the inverse of the genetic relationship matrix
ped = data.frame(ID=1:6, SIRE=c(0,0,1,3,1,4), DAM=c(0,0,2,2,2,5)) inbr = c(0, 0, 0, 0.25, 0, 0.25) # or (inbr = diag(buildA(ped)) - 1) # or inbr = tabA(ped); (inbr = inbr[inbr[,1]==inbr[,2],]$a - 1) # or # For individual inbreeding values, use function inb. tabAinv(ped, inbr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.