hibayes icon indicating copy to clipboard operation
hibayes copied to clipboard

Format of Genomic Data when multiple observations of same ID

Open statslover123 opened this issue 2 years ago • 1 comments

Hello, When I have multiple observations of some genotypes (for example over several locations which I model as fixed effect terms), how do I format my genetic data? Do I need multiple rows of genetic data, one row per observation of a genotype, or not?

statslover123 avatar Dec 09 '23 04:12 statslover123

Thank you for using hibayes package. Sorry that hibayes can not handle repeative records traits. I recommend using mixed-effect model (which is available in lme4 package) to get the BLUP values for individuals, then use these unique values to fit Bayesian models.

YinLiLin avatar Dec 11 '23 01:12 YinLiLin