tabDinv: Inverse of the dominance relationship matrix *D* in a tabular...

View source: R/tabDinv.R

tabDinvR Documentation

Inverse of the dominance relationship matrix D in a tabular format

Description

Creates the data.frame of the inverse of the pedigree-based dominance relationship matrix.

Usage

tabDinv(ped, A)

Arguments

ped

: data.frame with integer columns corresponding to ID, SIRE, DAM. Missing value is 0.

A

: Relationship matrix A in a tabular format created by function tabA.

Value

data.frame of the inverse of the dominance relationship matrix

Examples

ped = data.frame(ID=1:6, SIRE=c(0,0,1,3,1,4), DAM=c(0,0,2,2,2,5))
tabDinv(ped, tabA(ped))


ggroups documentation built on March 28, 2022, 1:06 a.m.