makeA: Creates the additive genetic relationship matrix

View source: R/makeA.R

makeAR Documentation

Creates the additive genetic relationship matrix

Description

This returns the additive relationship matrix in sparse matrix format.

Usage

makeA(pedigree)

Arguments

pedigree

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

Details

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

Used as a support function to makeD.

See function makeAinv for directly obtaining the inverse of the additive genetic relationship matrix.

Value

Returns A, or the numerator relationship matrix, in sparse matrix form.

Author(s)

matthewwolak@gmail.com

See Also

makeD, makeS

Examples


 makeA(Mrode2)


matthewwolak/nadiv documentation built on July 7, 2023, 1:24 p.m.