Assessing model adequacy for Bayesian Skyline plots using posterior predictive simulation.

Bayesian skyline plots (BSPs) are a useful tool for making inferences about demographic history. For example, researchers typically apply BSPs to test hypotheses regarding how climate changes have influenced intraspecific genetic diversity over time. Like any method, BSP has assumptions that may be...

Full description

Bibliographic Details
Main Authors: Emanuel M Fonseca, Drew J Duckett, Filipe G Almeida, Megan L Smith, Maria Tereza C Thomé, Bryan C Carstens
Format: Article
Language:English
Published: Public Library of Science (PLoS) 2022-01-01
Series:PLoS ONE
Online Access:https://doi.org/10.1371/journal.pone.0269438
_version_ 1828429905700847616
author Emanuel M Fonseca
Drew J Duckett
Filipe G Almeida
Megan L Smith
Maria Tereza C Thomé
Bryan C Carstens
author_facet Emanuel M Fonseca
Drew J Duckett
Filipe G Almeida
Megan L Smith
Maria Tereza C Thomé
Bryan C Carstens
author_sort Emanuel M Fonseca
collection DOAJ
description Bayesian skyline plots (BSPs) are a useful tool for making inferences about demographic history. For example, researchers typically apply BSPs to test hypotheses regarding how climate changes have influenced intraspecific genetic diversity over time. Like any method, BSP has assumptions that may be violated in some empirical systems (e.g., the absence of population genetic structure), and the naïve analysis of data collected from these systems may lead to spurious results. To address these issues, we introduce P2C2M.Skyline, an R package designed to assess model adequacy for BSPs using posterior predictive simulation. P2C2M.Skyline uses a phylogenetic tree and the log file output from Bayesian Skyline analyses to simulate posterior predictive datasets and then compares this null distribution to statistics calculated from the empirical data to check for model violations. P2C2M.Skyline was able to correctly identify model violations when simulated datasets were generated assuming genetic structure, which is a clear violation of BSP model assumptions. Conversely, P2C2M.Skyline showed low rates of false positives when models were simulated under the BSP model. We also evaluate the P2C2M.Skyline performance in empirical systems, where we detected model violations when DNA sequences from multiple populations were lumped together. P2C2M.Skyline represents a user-friendly and computationally efficient resource for researchers aiming to make inferences from BSP.
first_indexed 2024-12-10T17:40:58Z
format Article
id doaj.art-02b17a46fed84f8987f7b3ef6ae9f296
institution Directory Open Access Journal
issn 1932-6203
language English
last_indexed 2024-12-10T17:40:58Z
publishDate 2022-01-01
publisher Public Library of Science (PLoS)
record_format Article
series PLoS ONE
spelling doaj.art-02b17a46fed84f8987f7b3ef6ae9f2962022-12-22T01:39:22ZengPublic Library of Science (PLoS)PLoS ONE1932-62032022-01-01177e026943810.1371/journal.pone.0269438Assessing model adequacy for Bayesian Skyline plots using posterior predictive simulation.Emanuel M FonsecaDrew J DuckettFilipe G AlmeidaMegan L SmithMaria Tereza C ThoméBryan C CarstensBayesian skyline plots (BSPs) are a useful tool for making inferences about demographic history. For example, researchers typically apply BSPs to test hypotheses regarding how climate changes have influenced intraspecific genetic diversity over time. Like any method, BSP has assumptions that may be violated in some empirical systems (e.g., the absence of population genetic structure), and the naïve analysis of data collected from these systems may lead to spurious results. To address these issues, we introduce P2C2M.Skyline, an R package designed to assess model adequacy for BSPs using posterior predictive simulation. P2C2M.Skyline uses a phylogenetic tree and the log file output from Bayesian Skyline analyses to simulate posterior predictive datasets and then compares this null distribution to statistics calculated from the empirical data to check for model violations. P2C2M.Skyline was able to correctly identify model violations when simulated datasets were generated assuming genetic structure, which is a clear violation of BSP model assumptions. Conversely, P2C2M.Skyline showed low rates of false positives when models were simulated under the BSP model. We also evaluate the P2C2M.Skyline performance in empirical systems, where we detected model violations when DNA sequences from multiple populations were lumped together. P2C2M.Skyline represents a user-friendly and computationally efficient resource for researchers aiming to make inferences from BSP.https://doi.org/10.1371/journal.pone.0269438
spellingShingle Emanuel M Fonseca
Drew J Duckett
Filipe G Almeida
Megan L Smith
Maria Tereza C Thomé
Bryan C Carstens
Assessing model adequacy for Bayesian Skyline plots using posterior predictive simulation.
PLoS ONE
title Assessing model adequacy for Bayesian Skyline plots using posterior predictive simulation.
title_full Assessing model adequacy for Bayesian Skyline plots using posterior predictive simulation.
title_fullStr Assessing model adequacy for Bayesian Skyline plots using posterior predictive simulation.
title_full_unstemmed Assessing model adequacy for Bayesian Skyline plots using posterior predictive simulation.
title_short Assessing model adequacy for Bayesian Skyline plots using posterior predictive simulation.
title_sort assessing model adequacy for bayesian skyline plots using posterior predictive simulation
url https://doi.org/10.1371/journal.pone.0269438
work_keys_str_mv AT emanuelmfonseca assessingmodeladequacyforbayesianskylineplotsusingposteriorpredictivesimulation
AT drewjduckett assessingmodeladequacyforbayesianskylineplotsusingposteriorpredictivesimulation
AT filipegalmeida assessingmodeladequacyforbayesianskylineplotsusingposteriorpredictivesimulation
AT meganlsmith assessingmodeladequacyforbayesianskylineplotsusingposteriorpredictivesimulation
AT mariaterezacthome assessingmodeladequacyforbayesianskylineplotsusingposteriorpredictivesimulation
AT bryanccarstens assessingmodeladequacyforbayesianskylineplotsusingposteriorpredictivesimulation