makeGRM.Rd
function to make a genomic relationship matrix to be used to analyze the
phenotypic records
makeGRM(records, bsp, SP)
records | The breeding program |
---|---|
bsp | The breeding scheme parameter list |
SP | The AlphaSimR SimParam object. Needed to pull the SNP genotypes |
A genomic relationship matrix
records
maintains the phenotypic and genotypic records across
years and stages. For GEBV analysis, you need the GRM of these individuals.
makeGRM
assumes the first phenotyping stage (records[[2]]) has all
individuals that have been phenotyped. The GRM also includes the
unphenotyped new F1 individuals in records[[1]]
grm <- makeGRM(records, bsp, SP)#> Error in makeGRM(records, bsp, SP): object 'records' not found