rrBLUP_ML0_calc_G#

pybrops.model.gmod.rrBLUPModel0.rrBLUP_ML0_calc_G(Z)[source]#

Calculate a genomic relationship matrix from a marker matrix.

Parameters:

Z (numpy.ndarray) – A genotype matrix of shape (nobs,nmkr).

Returns:

G – A genomic relationship matrix of shape (nobs,nobs).

Return type:

numpy.ndarray