DOI: 10.6084/m9.figshare.28938974.v1
title: Data and code supporting the paper: 'Supergene regulation of ant social organization: a P haplotype in workers shifts colony ontogeny towards multiple queens'

description: Supergene regulation of ant social organization: a P haplotype in workers shifts colony ontogeny towards multiple queensDescription of the data and file structureData and scripts supporting the paper 'Supergene regulation of ant social organization: a <i>P </i>haplotype in workers shifts colony ontogeny towards multiple queens<i>'</i>Files and variablesFile: OntogenySupergenes_QueenMortality.Rmd<b>Description:</b> This R Markdown file supports the analysis of queen mortality.File: OntogenySupergenes_QueenMortality.docx<b>Description:</b> This doc file is the output from the Markdown file from the analysis of queen mortality.File: ColonySizeOneYear.Rmd<b>Description:</b> This R Markdown file supports the analysis of the size of the colonies when they were one year old.File: ColonySizeOneYear.docx<b>Description:</b> This doc file is the output from the R Markdown file from the analysis of the size of the colonies when they were one year old.File: ColonyFusionScript.Rmd<b>Description:</b> This R Markdown file supports the analysis of the merging of colonies.File: ColonyFusionScript.docx<b>Description:</b> This doc file is the output from the R Markdown file from the analysis of the merging of colonies.<b>File: ontogeny_supergenes_final.csv</b><b>Description:</b> Dataset.VariablesNumberpopulation: Population of origin of the queen and her mate (De = Derborence, high elevation; Fi = Finges, low elevation)replicate: Replicate number (repeated as there were two colonies per replicate).experimental_year: Year when the replicate was placed.focal_colony: Which of the two colonies is considered 'focal'. This variable is used to filter one line per replicate for the analysis of merging, to have one output per replicate.QUEEN_ALIVE_END: Did the queen survive? Yes = queen alive. No = queen dead.year_collected: Year when the queen was collected from the field.colony_age: Age of colony 1.treatment: Genotype of the two colonies. P-P = Polygyne-Polygyne, P-M = Monogyne-Polygyne, M-M = Monogyne-Monogyne, MP-MM = Mixed-Monogyne, MP-MP = Mixed-Mixed, MP-PP = Mixed-Polygyne,queen_colony1_id: ID of the queen of colony 1.tot_workers_colony1: Total number of workers in colony 1 when the experiment was placed.tot_pupae1: Total number of pupae in colony 1 when the experiment was placed.queen_colony1_field: Colony of origin of the queen from the field.queen1_soc_form: Genotype of the queen (M = Monogyne, with MM supergene genotype, or P = Polygyne, with either MP or PP genotype).WORKER_GENOTYPE.COLONY1: Genotype of the workers of colony 1 (PP = Polygyne, emerging from polygyne mother and either monogyne or polygyne father (due to P being a selfish genetic element, no polygyne mother produces monogyne (MM) workers; MP = Mixed, emerging from monogyne mother and polygyne father; MM = Monogyne, emerging from monogyne mother and monogyne father).focal_colony2: ID of the laboratory colony 2.focal_queen_alive: Did the queen survive? yes = queen alive. no = queen dead.colony_age.1: Age of colony 2.queen_id2: ID of the lab colony 2.queen_colony2_field: ID of the field colony 2 (where the queen was collected from).queen_soc_form_colony2: Genotype of the queen of colony 2 (M = Monogyne, with MM supergene genotype, or P = Polygyne, with either MP or PP genotype).WORKER_GENOTYPE.COLONY2: Genotype of the workers of colony 2 (PP = Polygyne, emerging from polygyne mother and either monogyne or polygyne father (due to P being a selfish genetic element, no polygyne mother produces monogyne (MM) workers; MP = Mixed, emerging from monogyne mother and polygyne father; MM = Monogyne, emerging from monogyne mother and monogyne father).tot_workers_colony2: Total number of workers in colony 2 when the experiment was placed.tot_pupae_colony2: Total number of pupae in colony 2 when the experiment was placed.love: Did the replicate merge? Love = 1, meaning yes.<br>