Description Usage Arguments Details Value Author(s) See Also Examples

Given a pedigree, the matrix of additive by additive genetic relatedness (AA) among all individuals in the pedigree is returned.

1 | ```
makeAA(pedigree)
``` |

`pedigree ` |
A pedigree where the columns are ordered ID, Dam, Sire |

Missing parents (e.g., base population) should be denoted by either 'NA' or '0'.

The function first estimates the A matrix using `makeA`

, then it calculates the Hadamard (element-wise) product of the A matrix with itself (A # A).

`AA ` |
the AA matrix in sparse matrix form |

`logDet ` |
the log determinant of the AA matrix |

`AAinv ` |
the inverse of the AA matrix in sparse matrix form |

`listAAinv ` |
the three column form of the non-zero elements for the inverse of the AA matrix |

1 |

nadiv documentation built on May 31, 2017, 2:38 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.