public class RegRidgeEmmaDoubleMatrix
public RegRidgeEmmaDoubleMatrix(kotlin.Array[] phenotype,
kotlin.Array[] fixedEffects,
kotlin.Array[] genotypes,
net.maizegenetics.matrixalgebra.Matrix.DoubleMatrixFactory.FactoryType type)
Constructor using native double arrays. Need to specify DoubleMatrix FactoryType
phenotype - ; column matrix of phenotype values. Missing phenotype are coded as NaN. GEBVs are calculate for all lines including missing.fixedEffects - ; 2D matrix of fixed effects; must not be singulargenotypes - ; matrix of genotypes coded -1, 0, 1. Missing Genotypes as NaNtype - ; Tassel DoubleMatrix Type to usepublic RegRidgeEmmaDoubleMatrix(DoubleMatrix phenotype, DoubleMatrix fixedEffects, DoubleMatrix genotypes)
Constructor using Tassel DoubleMatrix.
phenotype - ; column matrix of phenotype values. Missing phenotype are coded as NaN. GEBVs are calculate for all lines including missing.fixedEffects - ; 2D matrix of fixed effects; must not be singulargenotypes - ; matrix of genotypes coded -1, 0, 1. Missing Genotypes as NaNpublic RegRidgeEmmaDoubleMatrix(DoubleMatrix phenotype, DoubleMatrix fixedEffects, DoubleMatrix genotypes, DoubleMatrix kinship)
Constructor using Tassel DoubleMatrix. Use when kinship matrix from markers has already been calculated (XXt).
phenotype - ; column matrix of phenotype values. Missing phenotype are coded as NaN. GEBVs are calculate for all lines including missing.fixedEffects - ; 2D matrix of fixed effects; must not be singulargenotypes - ; matrix of genotypes coded -1, 0, 1. Missing Genotypes as NaNkinship - ; kinship matrix (XXt) calculated from marker matrix (X)public void solve()
Solve the mixed model for line GEBVs and marker estimates
public kotlin.Array[] getBlups()
public kotlin.Array[] getMrkBlups()
public DoubleMatrix getGEBVsAsDoubleMatrix()
public DoubleMatrix getMrkEstsAsDoubleMatrix()