rrBLUPModel0#

Module containing RR-BLUP genomic prediction classes for a very simple intercept + marker effects model.

Classes

rrBLUPModel0

The rrBLUPModel0 class represents a simple RR-BLUP model with an intercept (fixed) and marker effects (random).

Functions

check_is_rrBLUPModel0

Check if object is of type rrBLUPModel0.

gauss_seidel

Solve the equation Ax = b using the Gauss-Seidel method.

rrBLUP_ML0

Ridge regression BLUP for the simple model.

rrBLUP_ML0_calc_G

Calculate a genomic relationship matrix from a marker matrix.

rrBLUP_ML0_calc_ZtZplI

Calculate (Z'Z + lambda * I).

rrBLUP_ML0_calc_Zty

Calculate Z'y.

rrBLUP_ML0_calc_d_V

Calculate the spectral decomposition of a (symmetric) genomic relationship matrix.

rrBLUP_ML0_calc_etasq

Calculate eta squared values for fast computation of likelihoods.

rrBLUP_ML0_calc_ridge

Calculate the ridge parameter.

rrBLUP_ML0_center_y

Center y values around zero.

rrBLUP_ML0_neg2LogLik_fast

-2 log-likelihood function for ML estimation.

rrBLUP_ML0_nonzero_d_V

Extract nonzero components of eigenvalues and eigenvectors from a spectral decomposition.