solve_sie: Solve selection index equations for animal model

Description Usage Arguments Details Value Author(s)

Description

This is a function for getting BLUPs of genomic/breeding values from the animal model using the selection index approach.

Usage

1
solve_sie(y, A, lambda, ps_only = TRUE, check = TRUE)

Arguments

y

double vector. Phenotypic values (only for training individuals).

A

double matrix. A semi-positive-definite matrix (pedigree- or marker-based).

lambda

double. The ratio of environmental to genetic variance component.

ps_only

boolean. Should predictions only be give for the prediction set?

check

boolean. Should checks on the input be performed?

Details

This function has two requirements on the sorting of y and A: (i) any individuals to be predicted (having no phenotype) comes before any training individual with p henotype and (ii) the order of training individuals in y is the same as in A.

Value

A list with two components. The first components hold the BLUE of the general mean, the second component the BLUPs of the genomic or breeding values.

Author(s)

Dominik Mueller


DominikMueller64/dmisc documentation built on May 6, 2019, 2:52 p.m.