makeM: Creates the (additive) mutational effects relationship matrix

View source: R/makeM.R

makeMR Documentation

Creates the (additive) mutational effects relationship matrix

Description

This returns the (additive) mutational effects relationship matrix in sparse matrix format.

Usage

makeM(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 '*'.

See function makeMinv for directly obtaining the inverse of the (additive) mutational effects genetic relationship matrix.

Value

Returns M, or the mutational effects relationship matrix, in sparse matrix form.

Author(s)

matthewwolak@gmail.com

See Also

makeA, makeS

Examples


 makeM(Mrode2)


nadiv documentation built on Dec. 8, 2022, 1:11 a.m.