DOI: 10.5061/dryad.t1g1jwtb5
title: Data from: Linking divergence in phenotypic selection on floral traits to divergence in local pollinator assemblages in a pollination-generalized plant

description: Divergent patterns of phenotypic selection on floral traits can arise in
 response to interactions with functionally distinct pollinators. However,
 there are a limited number of studies that relate patterns of phenotypic
 selection on floral traits to variation in local pollinator assemblages in
 pollination-generalized plant species. We studied phenotypic selection on
 floral traits of Viscaria vulgaris, a plant that interacts with a broad
 range of diurnal and nocturnal pollinators, and related divergence in
 phenotypic selection on floral traits to the expected level of divergence
 in local pollinator assemblages. We detected phenotypic selection on
 floral traits involved in the attraction of pollinators and the mechanics
 of pollen removal and deposition, and demonstrated that floral traits are
 subject to spatiotemporal variation in the strength and direction of
 phenotypic selection. We revealed that diurnal and nocturnal pollinators,
 when considered in isolation, mediated divergent patterns of phenotypic
 selection on floral traits. Consistent with the Grant-Stebbins model, we
 observed that divergence in phenotypic selection on floral traits
 increased with the expected level of divergence in local pollinator
 assemblages. Thus, generalized plant-pollinator interactions can mediate
 phenotypic selection on floral traits and distinct local pollinator
 assemblages can generate a geographic mosaic of divergent patterns of
 phenotypic selection. We underscore that these outcomes are not exclusive
 to specialized plant-pollinator interactions and can emerge at a local
 geographic scale.
description: # Linking divergence in phenotypic selection on floral traits to
 divergence in local pollinator assemblages in a pollination-generalized
 plant
 [https://doi.org/10.5061/dryad.t1g1jwtb5](https://doi.org/10.5061/dryad.t1g1jwtb5) This folder contains Data and R Code associated with the manuscript "Linking divergence in phenotypic selection on floral traits to divergence in local pollinator assemblages in a pollination-generalized plant" . ## Description of the Data and File Structure 1. Data: 1. Clean Data: Contains original spreadsheet with floral trait data and female reproductive success data. The file contains appropriate metadata for a detailed description of the variables that were collected. The data is stored in an EXCEL spreadsheet that contains additional formatting components that correspond to each plant population were data was collected, as well as separate machine-readable formats (.csv) for each plant population. NA values represent Not Available. 2. RDS_Objects: Contains all the .RDS objects necessary to estimate phenotypic selection on floral traits and estimate the absolute value of the difference in the estimates of linear phenotypic selection. Separate .RDS objects contain data for each plant population and correspond to a particular analysis. See detailed explanation for each .RSD object in Code/Software Section. 2. Code: 1. All R Code files necessary to estimate phenotypic selection on floral traits and estimate the absolute value of the difference in the estimates of linear phenotypic selection. See detailed explanation for each R Code file in the Code/Software Section. ## Sharing/Access Information Links to other publicly accessible locations of the data: * [https://github.com/felipetorresvanegas/phenotypic_selection.git](https://github.com/felipetorresvanegas/phenotypic_selection.git) ## Code/Software R 4.2.3. R Code includes the following files: 1. Exclusion_Experiment.Rmd: Estimate phenotypic selection on floral traits for the experimental treatments (NO, DE, NE, CE). This R code will upload floral trait data and female reproductive success data from Veberöds Ljung in 2022 and perform the analysis to estimate phenotypic selection on floral traits for each experimental treatment (NO, DE, NE, CE).  2. Figures.Rmd: Create Figures for the main text of the manuscript. 3. Knivsasen_2021.Rmd: Estimate phenotypic selection on floral traits for Knivsåsen in 2021. This R code will upload floral trait data and female reproductive success data from Knivsåsen in 2021 and perform the analysis to estimate phenotypic selection on floral traits.  4. Knivsasen_2022.Rmd: Estimate phenotypic selection on floral traits for Knivsåsen in 2022. This R code will upload floral trait data and female reproductive success data from Knivsåsen in 2022 and perform the analysis to estimate phenotypic selection on floral traits.  5. Selection_Difference.Rmd: Estimate the absolute value of the difference in the estimates of linear phenotypic selection (D). 6. Selection_Gradients_Plant_Level.Rmd: Estimate phenotypic selection on floral traits at the plant level. 7. Selection_Spatial_Temporal.Rmd: Estimate spatial and temporal variation in phenotypic selection on floral traits. 8. Veberod_2022.Rmd: Estimate phenotypic selection on floral traits for Veberöds Ljung in 2022. This R code will upload floral trait data and female reproductive success data from Veberöds Ljung in 2022 and perform the analysis to estimate phenotypic selection on floral traits. RDS_Objects includes the following files: 1. Data_Phenotypes_Knivsasen_2021.rds: Floral trait data and female reproductive success data from Knivsåsen in 2021 in .RSD format. 2. Data_Phenotypes_Knivsasen_2022.rds: Floral trait data and female reproductive success data from Knivsåsen in 2022 in .RSD format. 3. Data_Phenotypes_Veberod_2022.rds: Floral trait data and female reproductive success data from Veberöds Ljung in 2022 in .RSD format. 4. Data_Selection_Gradients_Difference.rds: Contains the absolute value of the difference in the estimates of linear phenotypic selection (D) for each level of comparison (population, year, or experimental treatment). 5. Selection_Gradients_Error_Corrected.rds: Contains the error-corrected standard deviation of the selection gradients for Knivsåsen 2021 versus Knivsåsen 2022, i.e. temporal variation; and Knivsåsen 2022 versus Veberöds Ljung 2022, i.e. spatial variation. 6. Selection_Gradients_Error_Corrected_Experiment.rds: Contains the error-corrected standard deviation of the selection gradients for the exclusion of diurnal pollinators (DE) versus the exclusion of nocturnal pollinators (NE). 7. Selection_Gradients_Error_Corrected_Spatio_Temporal.rds: Contains the error-corrected standard deviation of the selection gradients at Knivsåsen and Veberöds Ljung in 2021 and 2022.  8. Selection_Gradients_Knivsasen_2021.rds: Contains the mean-standardized selection gradients for floral traits from Knivsåsen in 2021. 9. Selection_Gradients_Knivsasen_2022.rds: Contains the mean-standardized selection gradients for floral traits from Knivsåsen in 2022. 10. Selection_Gradients_Plant_Level.rds: Contains the mean-standardized selection gradients for floral traits at the plant-level for each population. 11. Selection_Gradients_Veberod_2022.rds: Contains the mean-standardized selection gradients for floral traits from Veberöds Ljung in 2022.