| Literature DB >> 32366304 |
Mohammad Ali Nilforooshan1, Luis Antonio Saavedra-Jiménez2.
Abstract
BACKGROUND: 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.Entities:
Keywords: Dominance; Genetic groups; Inverse; Pedigree; R; Relationship matrix
Mesh:
Year: 2020 PMID: 32366304 PMCID: PMC7199380 DOI: 10.1186/s41065-020-00124-2
Source DB: PubMed Journal: Hereditas ISSN: 0018-0661 Impact factor: 3.271
Runtime of different functions with two pedigree data
| package::function | Time | Time |
|---|---|---|
| ggroups::tabA | – | 13m:56s |
| pedigree::makeA | – | 37s |
| ggroups::buildA | – | 2s |
| pedigreemm::getA | – | 1s |
| AGHmatrix::Amatrix | – | 1s |
| pedigree::calcInbreeding | 2s | 1s |
| pedigreemm::inbreeding | 1s | 1s |
| ggroups::tabAinv | 5m:28s | 1s |
| pedigree::makeAinv | 2s | 1s |
| pedigreemm::getAInv | – | 1s |
| ggroups::qmatL | – | 2s |
| ggroups::qmatL | 7m:27s | 4s |
| ggroups::qmatXL | 3m:31s | 5s |
| nadiv::ggcontrib | – | 1s |
| ggroups::tabD | – | 39s |
| ggroups::buildD | – | 2m |
| AGHmatrix::Amatrix | – | 1m:24s |
| ggroups::rg | 41s | 4s |
| ggroups::inb | 35s | 3s |
| ggroups::tabDinv | – | 1m:29s |
| ggroups::tab2mat | – | 31s |
| ggroups::mat2tab | – | 4s |
aMeasured on an octa-core Intel(R) Core(TM) i7-8650U with 16 Gb of RAM, and runtimes shorter than 1s are presented as 1s
bA pedigree of 57,341 Mexican Braunvieh cattle (2,746 sires, 27,015 dams, and 8 genetic groups)
cA subset of 3,000 animals (482 sires, and 1,855 dams) from
ddominance=TRUE
e100 reiterations on random samples
fFor the additive genetic relationship matrix