There is a newer version of the record available.

Published December 1, 2025 | Version 1.0.0
Dataset Open

Sexual dimorphism in pollen foraging and sensory traits in Heliconius butterflies

  • 1. ROR icon Ludwig-Maximilians-Universität München

Description

Data and analysis scripts for Borrero et al.: Sexual dimorphism in pollen foraging and sensory traits in Heliconius butterflies


# Reference Information

## Provenance for this README

- File name: README_himera_sensory_ecology.md  
- Authors: José Borrero  
- Other contributors: David F. Rivas-Sánchez, , Daniel Shane Wright, Stephen H. Montgomery, Alexander Keller,  Richard M. Merrill  
- Date created: 2025-12-01  
- Date modified: 2025-12-01  

## Dataset Version and Release History

- **Current Version**
  - Number: 1.0.0  
  - Date: 2025-12-01  
  - Persistent identifier: DOI: 10.5281/zenodo.17777739  
  - Summary of changes: Initial public release of *H. himera* sensory ecology and brain dimorphism datasets; includes brain morphology, eye morphology, reflectance-age calibration, pollen metabarcoding, and microhabitat recapture datasets.

- **Previous Versions**
  - None (this is the first release)

- Embargo Provenance: n/a  
  - Scope of embargo: n/a  
  - Embargo period: n/a  

---

# Sexual dimorphism in pollen foraging and sensory traits in Heliconius butterflies
### Data & Analysis Repository

This repository contains datasets and analysis scripts used across multiple components of the *Heliconius himera* sensory ecology project, including brain morphology, eye morphology, wing reflectance, pollen metabarcoding, and recapture microhabitat analyses.  
Files are grouped below by theme and briefly described.

---

# Data and File Overview

## 1. Brain Morphology & Sexual Dimorphism

### **Data**
- **Cyr_him_combined_brain_volumes.csv**  
  Combined neuropil volume dataset for *H. cydno* and *H. himera* with log-transformed measurements and metadata.

- **Hhimera_eyemorph.csv**  
  Eye morphology dataset (ommatidia counts, eye area) for *H. himera*.

- **TableS1_Hhim-brain-dimorphism.xlsx**  
  Curated neuropil volume summary table for sexual dimorphism analysis.

- **himera_lrt_table.csv**  
  Likelihood-ratio test results for neuropil linear mixed models.
  
  - **smatr_table_himera.csv**  
  Table containing slope, intercept, and elevation shift outputs from SMATR.


### **Scripts**
- **Brains_sex_him.r**  
  Main statistical pipeline for modelling sexual dimorphism in brain structure. 

- **smatr_eyes_himera.R**  
  SMATR major axis analysis of eye scaling relationships.

---

## 2. Reflectance Spectrometry & Age Prediction

### **Data**
- **reflectance_age.csv**  
  Area-under-curve reflectance measures used to train age prediction models.

- **Vilcabamba_samples_age.csv**  
  Known-age dataset for wild *H. himera* from Vilcabamba used to validate reflectance–age mapping.

### **Scripts**
- **reflectance_age_modeling_full.R**  
  End-to-end reflectance-based age modelling script (model fitting, validation, diagnostics).

---

## 3. Pollen Metabarcoding & Foraging Ecology

### **Data**
- **asv_vilcabamba_table.merge.txt**  
  Merged ITS2 amplicon sequence variant (ASV) table from proboscis and gut samples.

- **samples_metadata_vilcabamba.csv**  
  Metadata for sequenced samples (sex, body part, date, barcode, etc.).

### **Scripts**

- **metabarcoding_tools_0-1a.R**  
  Helper functions for data cleaning, ASV processing, and taxonomic lookup.
- **R_ITS2_vilcabamba.R**  
  ITS2 metabarcoding pipeline including filtering, taxonomic assignment, and diversity analyses.

---

## 4. Microhabitat & Recapture Data

### **Data**
- **recaptures_logger_1h.csv**  
  Temperature and relative humidity recorded approximately one hour after recapture events.

- **Vilcambamba_recapture_data.csv**  
  Spatial and environmental capture–recapture dataset (coordinates, canopy cover, flight height, temperature, humidity).
  
  ### **Scripts**

- **Pollen_loads.R**  
  Quantification of pollen loads, taxonomic richness, and Shannon diversity.


# Reproducibility Notes

- Analyses were performed using **R v4.2–4.4**.  
- Required packages include:  
  `tidyverse`, `lme4`, `smatr`, `vegan`, `phyloseq`, `ggplot2`,  
  and others listed within individual scripts.  
- Scripts are modular and will run when corresponding datasets are placed in the working environment.  
- Raw sequencing FASTQ files are **not** included in this dataset release.  
- All coordinate data have been processed to remove sensitive location information where needed.

---

# Dataset Metadata

## Dataset Title
**Sexual dimorphism in pollen foraging and sensory traits in Heliconius butterflies**  
*(Formal publication title will be updated upon manuscript acceptance.)*

## Persistent Identifier
To be assigned (10.5281/zenodo.17777739).

## Dataset Contributors

- José Borrero (Creator)
- David F. Rivas-Sánchez
- Daniel Shane Wright  
- Stephen H. Montgomery  
- Alexander Keller
- Richard M. Merrill  


## Date of Issue
2025-12-01

## Publisher
To be updated depending on repository (Dryad, Zenodo, institutional repository).

## License
- **CC0 1.0 Universal (CC0 1.0)**  
- Specification: https://creativecommons.org/publicdomain/zero/1.0/  
- The authors respectfully request to be contacted by researchers interested in re-use of these data to discuss potential collaboration.

---

# Contact Information

### Primary Contact
- **Name:** José Borrero  
- **Affiliation:** Department of Evolutionary Biology, LMU Munich  
- **ORCID:** https://orcid.org/0000-0003-0164-496X  
- **Email:** jose.borrero@lmu.de   

### Alternate Contact (PI)
- **Name:** Richard M. Merrill  
- **Affiliation:** Department of Evolutionary Biology, LMU Munich  
- **ORCID:** https://orcid.org/0000-0003-4527-9298  
- **Email:** merrill@bio.lmu.de  
- **Address:** LMU Biozentrum Martinsried, Großhaderner Straße 2, 82152 Martinsried, Germany

---

# Additional Information

## Funding
This research was funded by a European Research Council (ERC) Starter Grant (851040) to R.M.M.
    
## Dates and Locations of Data Collection
- Field data were collected from 2023.  
- Geographic location: Vilcabamba, Ecuador (Andean dry forest habitat).  
- Laboratory analyses were performed at LMU Munich.

---

# Setup

- Recommended software: RStudio (2023 or later), R v4.2–4.4  
- Scripts are written in base R and tidyverse conventions.  

---

# Table of Contents

- README.md  
- Brains_sex_him.r  
- smatr_eyes_himera.R  
- reflectance_age_modeling_full.R  
- R_ITS2_vilcabamba.R  
- metabarcoding_tools_0-1a.R  
- Pollen_loads.R  
- All associated datasets (.csv, .txt, .xlsx)

---

**END OF README**

 

Files

himera_lrt_table.csv

Files (65.3 MB)

Name Size Download all
md5:5f42075c4974bcac06c1666185d11137
623.4 kB Preview Download
md5:df87e4e797b2dbaefb5e46716afb3630
274.0 kB Download
md5:170b033fad04ecaa74f11bc5e93af2bc
21.9 kB Preview Download
md5:d4bcea2f5680b4662eaa81c997450375
11.6 kB Preview Download
md5:78cc12ab6c57927dd8a5c66a94085d84
2.8 kB Preview Download
md5:983882cd708221748d41d9b2a49d8bef
12.8 kB Download
md5:2f8916415efd1547a7e3c349d99e9919
160.7 kB Download
md5:9392f488538a6c711cfd2e4796668b57
14.2 kB Download
md5:450f87f7c481f555736e5122145b7c70
6.2 kB Preview Download
md5:876b2ccc3069db44085afb60691593b9
2.4 MB Preview Download
md5:50f1e1c143b5dd4a7340ad5c73d62ca0
61.5 MB Preview Download
md5:dba02d520bbe2e7b43858b0e549ed2f5
22.6 kB Download
md5:e40eedd99a7b21566b265c080903fb28
11.7 kB Preview Download
md5:92ae3606cf5b9520e78ffb3e47e7a860
18.8 kB Download
md5:9c32057225a81b28e235065fd6474e8f
3.0 kB Preview Download
md5:db818596f53bf56c0dde08716877cff1
15.2 kB Download
md5:d764b87a41f7f6f95e53ef8267813f79
63.0 kB Preview Download
md5:e82d9fa564e8fef3d5b31a382d7fe5d9
123.8 kB Preview Download

Additional details

Related works

Is supplement to
Preprint: 10.1101/2025.09.18.676771 (DOI)

Funding

European Commission
SpeciationBehaviour - The genetic and neural basis of reproductive isolation 851040

Software

Programming language
R