Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.2 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.2 KB

cowfit: LMMs and GLMMs in genetic evaluation

This package extends the functionality of the package pedigreemm and contains the following improvements

  1. Resolves a critical bug in the prediction of random effects.
  2. Allows for animal models with single observations.
  3. Allows for random regression models.
  4. Allows to prespecify the variance components for faster estimation of random effects.

Also, the same models can be fitted in the Bayesian framework. The implementation is based on the package brms with some adaptations

  1. Uses the same syntax for defining correlation between animals as pedigreemm (i.e. with argument pedigree = list(...)).
  2. Avoids the calculation of the nummerator relationship matrix A (Covariance matrix between random effects).
  3. Allows to prespecify the variance components for faster estimation of random effects.

Installation

Install the package devtools (with install.packages("devtools")) and run the following line of code

devtools::install_github("retodomax/cowfit", dependencies=TRUE)

Documentation