!WORK 6 !REN 2 10K bivariate data set # TITLE Line ID !A !LL20 !L data.csv !LSKIP 1 # defining ID CG * CGs * # Contemporary group factors imf sf5 # response variates A22.sgiv # A22 genomic matrix data.csv !skip 1 !GDENSE # data file in same order as A22 imf ~ mu CG !r grm1(ID) # Model for imfThe assumption in this coding is that the genotype is in the first field of the data file and that the A22.grm file is in the same genotype order as the data.
A22.grm !EIGTRANSFORM # A22 genomic matrix data.csv !skip 1 # data file in same order as A22 imf ~ mu CG !r grm1(ID) # Model for imfWith 9688 genotypes and 376 CG classes, the former model takes 122 seconds (for 8 iterations) while the latter takes 160 seconds for the SVD calculation and 14 seconds (8 iterations) to fit the model. The overhead of the SVD calculation is justified when there are several traits to analyse. The SVD approach has a bigger advantage for bivariate analysis. On this data,