Replies: 2 comments 3 replies
-
The fixEff slot gets set by the You can also manually change the values in the fixEff slot. The values are integers that get treated as levels of a factor. These values get used within the C++ side of the RRBLUP function to create a sum-to-zero design matrix for the fixed effects. I've typically use the GxE functionality to model genotype-by-year interactions in the simulations I'm running. When this the case, I usually pass the current year as the value of the fixed effect. I'll post a link to an example script in the next day or two. Feel free to ping me if I forget. |
Beta Was this translation helpful? Give feedback.
-
Here's an old example I had on my computer showing how to use the fixed effects in AlphaSimR. There's not much documentation, so please ask questions if anything isn't clear. I've been meaning to write some of this up in a vignette. Maybe one day I'll finally make it happen.
|
Beta Was this translation helpful? Give feedback.
-
Hey, all!
So, when I was looking at how to use fixed effects into the RRBLUP() function, the manual says that the fixEff from a population can be stored and used latter by the genomic selection models:
'fixEff: a fixed effect relating to the phenotype. Used by genomic selection models but otherwise ignored.'
However, there is no argument into RRBLUP() or its variations that sets the fixEff from the populations into the model. That being said, it always accounts for the fixEff from the population or am I missing something?
Thank you,
Beta Was this translation helpful? Give feedback.
All reactions