Cargando…

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 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). Mak...

Descripción completa

Detalles Bibliográficos
Autor principal: Kindt, Roeland
Formato: Online Artículo Texto
Lenguaje:English
Publicado: PeerJ Inc. 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8212829/
https://www.ncbi.nlm.nih.gov/pubmed/34178449
http://dx.doi.org/10.7717/peerj.11534
_version_ 1783709712907239424
author Kindt, Roeland
author_facet Kindt, Roeland
author_sort Kindt, Roeland
collection PubMed
description BACKGROUND: At any particular location, frequencies of alleles 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 the population level. 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). The RDA step is based on the Euclidean distance that is also the typical distance used in Analysis of Molecular Variance (AMOVA). Because the RDA step or CCA approach sometimes predict negative allele frequencies, the GAM step ensures that allele frequencies are in the range of 0 to 1. RESULTS: AlleleShift provides data sets with predicted frequencies and several visualization methods to depict the predicted shifts in allele frequencies from baseline to changed climates. These visualizations 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 visualizations 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 supplemental videos. AVAILABILITY: AlleleShift is available as an open-source R package from https://cran.r-project.org/package=AlleleShift and 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 Online
Article
Text
id pubmed-8212829
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher PeerJ Inc.
record_format MEDLINE/PubMed
spelling pubmed-82128292021-06-25 AlleleShift: an R package to predict and visualize population-level changes in allele frequencies in response to climate change Kindt, Roeland PeerJ Bioinformatics BACKGROUND: At any particular location, frequencies of alleles 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 the population level. 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). The RDA step is based on the Euclidean distance that is also the typical distance used in Analysis of Molecular Variance (AMOVA). Because the RDA step or CCA approach sometimes predict negative allele frequencies, the GAM step ensures that allele frequencies are in the range of 0 to 1. RESULTS: AlleleShift provides data sets with predicted frequencies and several visualization methods to depict the predicted shifts in allele frequencies from baseline to changed climates. These visualizations 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 visualizations 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 supplemental videos. AVAILABILITY: AlleleShift is available as an open-source R package from https://cran.r-project.org/package=AlleleShift and 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. PeerJ Inc. 2021-06-15 /pmc/articles/PMC8212829/ /pubmed/34178449 http://dx.doi.org/10.7717/peerj.11534 Text en ©2021 Kindt https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ) and either DOI or URL of the article must be cited.
spellingShingle Bioinformatics
Kindt, Roeland
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 Bioinformatics
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8212829/
https://www.ncbi.nlm.nih.gov/pubmed/34178449
http://dx.doi.org/10.7717/peerj.11534
work_keys_str_mv AT kindtroeland alleleshiftanrpackagetopredictandvisualizepopulationlevelchangesinallelefrequenciesinresponsetoclimatechange