Anonymous repository containing code and data used in the submitted manuscript
收藏资源简介:
This repository provides a comprehensive collection of datasets, morphometric files, phylogenetic information, and R scripts used to analyze morphological evolution in termites. The materials support analyses of mandible and leg shape and size, including phylogenetic comparative methods (PGLS), ancestral state reconstruction, etc. Repository Structure 1. Scripts MorphologicalEvolution_Termites.RMain analysis script integrating all steps: Phylogenetic generalized least squares (PGLS) analyses linking morphological traits (shape and size) to feeding groups. Interaction analyses between size and diet. Ancestral state reconstruction of diet and continuous traits. RFunctions.RCustom R functions used across analyses for plotting, data manipulation, and phylogenetic calculations.Source this script within MorphologicalEvolution_Termites.R for full functionality. 2. Phylogeny Folder: phylogeny Contains the termite species phylogenetic tree used in all analyses. The MCC (maximum clade credibility) tree was derived from 10,000 polytomy-resolved trees to incorporate phylogenetic uncertainty. File: phylogeny_MCC.tree (Newick format). 3. Datasets Folder: datasets colony_df.csv – Individual specimen-level dataset including: Taxon IDs. Morphological measurements (size and shape). Colony-level ecological information. species_level_df.csv – Species-level dataset including: Mean shape (PC1) and size of mandibles and legs. Feeding group classifications. mandibles.TPS, foreleg.TPS, hindleg.TPS – Landmark-based morphometric coordinate files used to generate principal component (PC) shape variables. mandibles.TPS: Left and right mandible landmarks. foreleg.TPS: Fore femur and tibia landmarks. hindleg.TPS: Hind femur and tibia landmarks.



