Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Jul 1;39(7):btad445.
doi: 10.1093/bioinformatics/btad445.

AGHmatrix: genetic relationship matrices in R

Affiliations

AGHmatrix: genetic relationship matrices in R

Rodrigo R Amadeu et al. Bioinformatics. .

Abstract

Motivation: The resemble between relatives computed from pedigree and genomic data is an important resource for geneticists and ecologists, who are interested in understanding how genes influence phenotypic variation, fitness adaptation, and population dynamics.

Results: The AGHmatrix software is an R package focused on the construction of pedigree (A matrix) and/or molecular markers (G matrix), with the possibility of building a combined matrix of pedigree corrected by molecular markers (H matrix). Designed to estimate the relationships for any ploidy level, the software also includes auxiliary functions related to filtering molecular markers, and checks pedigree errors in large data sets. After computing the relationship matrices, results from the AGHmatrix can be used in different contexts, including on prediction of (genomic) estimated breeding values and genome-wide association studies.

Availability and implementation: AGHmatrix v2.1.0 is available under GPL-3 license in CRAN at https://cran.r-project.org/web/packages/AGHmatrix/index.html and also in GitHub at https://github.com/rramadeu/AGHmatrix. It has a comprehensive tutorial, and it follows with real data examples.

PubMed Disclaimer

Conflict of interest statement

None declared.

Figures

Figure 1.
Figure 1.
(a) RAM usage at the peak and (b) time to build A matrix for different sizes of pedigree

References

    1. Amadeu RR, Cellon C, Olmstead JW et al. AGHmatrix: r package to construct relationship matrices for autotetraploid and diploid species: a blueberry example. Plant Genome 2016;9:4. - PubMed
    1. Ashraf BH, Byrne S, Fé D et al. Estimating genomic heritabilities at the level of family-Pool samples of perennial ryegrass using genotyping-by-sequencing. Theor Appl Genet 2016;129:45–52. - PMC - PubMed
    1. Butler DG, Cullis BR, Gilmour AR et al. ASReml-R Reference Manual Version 4. Hemel Hempstead, UK: VSN International Ltd, 2017.
    1. Cockerham CC. An extension of the concept of partitioning hereditary variance for analysis of covariances among relatives when epistasis is present. Genetics 1954;39:859–882. - PMC - PubMed
    1. de Bem Oliveira I, Resende MF Jr, Ferrão LFV et al. Genomic prediction of autotetraploids; influence of relationship matrices, allele dosage, and continuous genotyping calls in phenotype prediction. G3 (Bethesda) 2019;9:1189–98. - PMC - PubMed

Publication types

LinkOut - more resources