AlleleShift: An R package to predict and visualize population-level changes in allele frequencies in response to climate change

Background: At any particular location, frequencies of alleles in organisms that are associated with adaptive traits are expected to change in future climates through local adaption and migration, including assisted migration (human-implemented when climate change is more rapid than natural migratio...

Full description

Bibliographic Details
Main Author: Kindt, R.
Format: Preprint
Language:Inglés
Published: Cold Spring Harbor Laboratory 2021
Subjects:
Online Access:https://hdl.handle.net/10568/115429
_version_ 1855541424019210240
author Kindt, R.
author_browse Kindt, R.
author_facet Kindt, R.
author_sort Kindt, R.
collection Repository of Agricultural Research Outputs (CGSpace)
description Background: At any particular location, frequencies of alleles in organisms that are associated with adaptive traits are expected to change in future climates through local adaption and migration, including assisted migration (human-implemented when climate change is more rapid than natural migration rates). Making the assumption that the baseline frequencies of alleles across environmental gradients can act as a predictor of patterns in changed climates (typically future but possibly paleo-climates), a methodology is provided by AlleleShift of predicting changes in allele frequencies at populations’ locations. Methods: The prediction procedure involves a first calibration and prediction step through redundancy analysis (RDA), and a second calibration and prediction step through a generalized additive model (GAM) with a binomial family. As such, the procedure is fundamentally different to an alternative approach recently proposed to predict changes in allele frequencies from canonical correspondence analysis (CCA). My methodology of AlleleShift is also different in modelling and predicting allele counts through constrained ordination (not frequencies as in the CCA approach) and modelling both alleles for a locus (not solely the minor allele as in the CCA method; both methods were developed for diploid organisms where individuals are homozygous (AA or BB) or heterozygous (AB)). Whereas the GAM step ensures that allele frequencies are in the range of 0 to 1 (negative values are sometimes predicted by the RDA and CCA approaches), the RDA step is based on the Euclidean distance that is also the typical distance used in Analysis of Molecular Variance (AMOVA). The AlleleShift::amova.rda enables users to verify that the same ‘mean-square’ values are calculated by AMOVA and RDA, and gives the same final statistics with balanced data. Results: Besides data sets with predicted frequencies, AlleleShift provides several visualization methods to depict the predicted shifts in allele frequencies from baseline to changed climates. These include ‘dot plot’ graphics (function shift.dot.ggplot), pie diagrams (shift.pie.ggplot), moon diagrams (shift.moon.ggplot), ‘waffle’ diagrams (shift.waffle.ggplot) and smoothed surface diagrams of allele frequencies of baseline or future patterns in geographical space (shift.surf.ggplot). As these were generated through the ggplot2 package, methods of generating animations for a climate change time series are straightforward, as shown in the documentation of AlleleShift and in the supplementary materials. In addition, graphical methods are provided of showing shifts of populations in environmental space (population.shift) and to assess how well the predicted frequencies reflect the original frequencies for the baseline climate (freq.ggplot). Availability: AlleleShift is available as an open-source R package from https://github.com/RoelandKindt/AlleleShift. Genetic input data is expected to be in the adegenet::genpop format, which can be generated from the adegenet::genind format. Climate data is available from various resources such as WorldClim and Envirem.
format Preprint
id CGSpace115429
institution CGIAR Consortium
language Inglés
publishDate 2021
publishDateRange 2021
publishDateSort 2021
publisher Cold Spring Harbor Laboratory
publisherStr Cold Spring Harbor Laboratory
record_format dspace
spelling CGSpace1154292025-01-24T14:20:29Z AlleleShift: An R package to predict and visualize population-level changes in allele frequencies in response to climate change Kindt, R. genetic resources climate change Background: At any particular location, frequencies of alleles in organisms that are associated with adaptive traits are expected to change in future climates through local adaption and migration, including assisted migration (human-implemented when climate change is more rapid than natural migration rates). Making the assumption that the baseline frequencies of alleles across environmental gradients can act as a predictor of patterns in changed climates (typically future but possibly paleo-climates), a methodology is provided by AlleleShift of predicting changes in allele frequencies at populations’ locations. Methods: The prediction procedure involves a first calibration and prediction step through redundancy analysis (RDA), and a second calibration and prediction step through a generalized additive model (GAM) with a binomial family. As such, the procedure is fundamentally different to an alternative approach recently proposed to predict changes in allele frequencies from canonical correspondence analysis (CCA). My methodology of AlleleShift is also different in modelling and predicting allele counts through constrained ordination (not frequencies as in the CCA approach) and modelling both alleles for a locus (not solely the minor allele as in the CCA method; both methods were developed for diploid organisms where individuals are homozygous (AA or BB) or heterozygous (AB)). Whereas the GAM step ensures that allele frequencies are in the range of 0 to 1 (negative values are sometimes predicted by the RDA and CCA approaches), the RDA step is based on the Euclidean distance that is also the typical distance used in Analysis of Molecular Variance (AMOVA). The AlleleShift::amova.rda enables users to verify that the same ‘mean-square’ values are calculated by AMOVA and RDA, and gives the same final statistics with balanced data. Results: Besides data sets with predicted frequencies, AlleleShift provides several visualization methods to depict the predicted shifts in allele frequencies from baseline to changed climates. These include ‘dot plot’ graphics (function shift.dot.ggplot), pie diagrams (shift.pie.ggplot), moon diagrams (shift.moon.ggplot), ‘waffle’ diagrams (shift.waffle.ggplot) and smoothed surface diagrams of allele frequencies of baseline or future patterns in geographical space (shift.surf.ggplot). As these were generated through the ggplot2 package, methods of generating animations for a climate change time series are straightforward, as shown in the documentation of AlleleShift and in the supplementary materials. In addition, graphical methods are provided of showing shifts of populations in environmental space (population.shift) and to assess how well the predicted frequencies reflect the original frequencies for the baseline climate (freq.ggplot). Availability: AlleleShift is available as an open-source R package from https://github.com/RoelandKindt/AlleleShift. Genetic input data is expected to be in the adegenet::genpop format, which can be generated from the adegenet::genind format. Climate data is available from various resources such as WorldClim and Envirem. 2021-01-17 2021-10-15T02:31:41Z 2021-10-15T02:31:41Z Preprint https://hdl.handle.net/10568/115429 en Open Access Cold Spring Harbor Laboratory Kindt, R., 2021. AlleleShift: An R package to predict and visualize population-level changes in allele frequencies in response to climate change. bioRxiv . https://doi.org/10.1101/2021.01.15.426775
spellingShingle genetic resources
climate change
Kindt, R.
AlleleShift: An R package to predict and visualize population-level changes in allele frequencies in response to climate change
title AlleleShift: An R package to predict and visualize population-level changes in allele frequencies in response to climate change
title_full AlleleShift: An R package to predict and visualize population-level changes in allele frequencies in response to climate change
title_fullStr AlleleShift: An R package to predict and visualize population-level changes in allele frequencies in response to climate change
title_full_unstemmed AlleleShift: An R package to predict and visualize population-level changes in allele frequencies in response to climate change
title_short AlleleShift: An R package to predict and visualize population-level changes in allele frequencies in response to climate change
title_sort alleleshift an r package to predict and visualize population level changes in allele frequencies in response to climate change
topic genetic resources
climate change
url https://hdl.handle.net/10568/115429
work_keys_str_mv AT kindtr alleleshiftanrpackagetopredictandvisualizepopulationlevelchangesinallelefrequenciesinresponsetoclimatechange