Published in GSE: Optimisation of the core subset for the APY approximation of genomic relationships
-
functions.Rincludes (1)find_knotsfunction to run conditional sampling core selection algorithms presented in the manuscript; (2)expand_Bextension function; (3)APY_inversebrute force APY function (in the case you use free version ofBLUPF90that doesn't haveOPTION apy ...available); (4)data_recfunction to collect data fromAlphaSimRsimulation; (5)run_gblupf90function to run BLUPF90 and read solutions intoR; and (6)prepare_parfunction to prepare parameter file forBLUPF90. -
You might need to change the following line of code in
functions.Rbased on your OS and location of theBLUPF90binary;
system(command = "echo blupf90.par | $HOME/bin/blupf90 | tee blup.log"))
-
OptimisedCore4APY.Rincludes the code to simulate the data usingAlphaSimRand to generate core selection scenarios as in the manuscript. -
Please note that
BLUPF90program (Ignacy Misztal et al., University of Georgia, USA) has to be installed on your system. For download and installation details, please consult BLUPF90 website.