phenoRegressor.rrBLUP.SNP | R Documentation |
Implementation of SNP-BLUP using rrBLUP library. Not to be exported.
phenoRegressor.rrBLUP.SNP(phenotypes, genotypes, extraCovariates = NULL, ...)
phenotypes |
phenotypes, a numeric array (n x 1), missing values are predicted |
genotypes |
SNP genotypes, one row per phenotype (n), one column per marker (m), values in 0/1/2 for
diploids or 0/1/2/...ploidy for polyploids. Can be NULL if |
extraCovariates |
optional extra covariates set, one row per phenotype (n), one column per covariate (w). If NULL no extra covariates are considered. |
... |
extra parameters are passed to rrBLUP::mixed.solve |
The function returns a list with the following fields:
predictions
: an array of (k) predicted phenotypes
hyperparams
: named vector with the following keys: Vu, Ve, beta, LL
extradata
: list with information on trained model, coming from mixed.solve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.