grmPhenoEval.Rd
function to take a data.frame coming from framePhenoRec and GRM and analyze them with individuals as a random effect with a GRM covariance matrix
grmPhenoEval(phenoDF, grm)
phenoDF | A data.frame of phenotypic observations. See |
---|---|
grm | A genomic relationship matrix |
Named real vector of the BLUPs of all individuals in phenoDF (names are the individual ids), with appropriate weights by error variance of the observation
Given all the phenotypic records calculate the GEBV for each individual using all its records
#> Error in framePhenoRec(records, bsp): object 'bsp' not found#>#>#>#> #>#>#> #>#>#>#> Error in makeGRM(records, bsp, SP): object 'records' not foundgrmBLUPs <- grmPhenoEval(phenoDF, grm)#> Error in factor(phenoDF$id, levels = rownames(grm)): object 'phenoDF' not found