10.6084/m9.figshare.10006403.v1 Zitong Li Zitong Li Ari Löytynoja Ari Löytynoja Antoine Fraimout Antoine Fraimout Juha Merilä Juha Merilä R script for QST-FST analysis from Effects of marker type and filtering criteria on <i>Q</i><sub>ST</sub>-<i>F</i><sub>ST</sub> comparisons The Royal Society 2019 QST-FST natural selection microsatellite quantitative genetics Pungitius pungitius SNP 2019-10-19 12:58:44 Dataset https://rs.figshare.com/articles/dataset/R_script_for_QST-FST_analysis_from_Effects_of_marker_type_and_filtering_criteria_on_i_Q_i_sub_ST_sub_-_i_F_i_sub_ST_sub_comparisons/10006403 Comparative studies of quantitative and neutral genetic differentiation (<i>Q</i><sub>ST</sub>-<i>F</i><sub>ST</sub> tests) provide means to detect adaptive population differentiation. However, Q<sub>ST</sub>-<i>F</i><sub>ST</sub> tests can be overly liberal if the markers used deflate <i>F</i><sub>ST</sub> below its expectation, or overly conservative if methodological biases lead to inflated <i>F</i><sub>ST</sub> estimates. We investigated how marker type and filtering criteria for marker selection influence <i>Q</i><sub>ST</sub>-<i>F</i><sub>ST</sub> comparisons through their effects on <i>F</i><sub>ST</sub> using simulations and empirical data on over 18 000 <i>in silico</i> genotyped microsatellites and 3.8 million SNP loci from four populations of nine-spined sticklebacks (<i>Pungitius pungitius</i>). Empirical and simulated data revealed that <i>F</i><sub>ST</sub> decreased with increasing marker variability, and was generally higher with SNPs than with microsatellites. The estimated baseline <i>F</i><sub>ST</sub> levels were also sensitive to filtering criteria for SNPs: both minor alleles and linkage disequilibrium (LD) pruning influenced <i>F</i><sub>ST</sub> estimation, as did marker ascertainment. However, in the case of stickleback data used here where <i>Q</i><sub>ST</sub> is high, the choice of marker type, their genomic location, ascertainment and filtering made little difference to outcomes of <i>Q</i><sub>ST</sub>-<i>F</i><sub>ST</sub> tests. Nevertheless, we recommend that <i>Q</i><sub>ST</sub>-<i>F</i><sub>ST</sub> tests using microsatellites should discard the most variable loci, and those using SNPs should pay attention to marker ascertainment and properly account for LD before filtering SNPs. This may be especially important when level of quantitative trait differentiation is low and levels of neutral differentiation high.