TY - JOUR AU - Nilforooshan, Mohammad Ali AU - Saavedra-Jiménez, Luis Antonio PY - 2020 DA - 2020/05/04 TI - ggroups: an R package for pedigree and genetic groups data JO - Hereditas SP - 17 VL - 157 IS - 1 AB - R is a multi-platform statistical software and an object oriented programming language. The package archive network for R provides CRAN repository that features over 15,000 free open source packages, at the time of writing this article (https://cran.r-project.org/web/packages, accessed in October 2019). The package ggroups is introduced in this article. The purpose of this package is providing functions for checking and processing the pedigree, calculation of the additive genetic relationship matrix and its inverse, which are used to study the population structure and predicting the genetic merit of animals. Calculation of the dominance relationship matrix and its inverse are also covered. A concept in animal breeding is genetic groups, which is about the inequality of the average genetic merits for groups of unknown parents. The package provides functions for the calculation of the matrix of genetic group contributions (Q). Calculating Q is computationally demanding, and depending on the size of the pedigree and the number of genetic groups, it might not be feasible using personal computers. Therefore, a computationally optimised function and its parallel processing alternative are provided in the package. SN - 1601-5223 UR - https://doi.org/10.1186/s41065-020-00124-2 DO - 10.1186/s41065-020-00124-2 ID - Nilforooshan2020 ER -