This Dataset comprises the raw and processed data used in Cross et al., Testing the form-function paradigm: body shape correlates with
kinematics but not energetics in selectively bred birds. The data herein allows for replication of the analyses detailed in the main
text, and also makes our raw CT and motion capture data avaliable for use by others.

Should you encounter any issues, please contact the corresponding author: Samuel.Cross@liverpool.ac.uk

DATA_RAW: Contains the unprocessed 3D Model and Kinematic Data used in the analysis.

---MORPHOLOGY: Contains the 3D Model Data

------SEGMENTED CT: This folder contains the segmented CT data for all 22 birds used in the morphological analysis
		    It is organised firstly by breed and then by individual, each individual folder contains 3 subfolders
		    which contains the skeletal models, minimum convex hulls, and skin segment volumes respectively.
		    each file contains a single body part (i.e. femur/thigh), but if all loaded together should be in
		    articulated in the death pose. All files are in common 3D formats (either .obj or .stl) so can be opened
		    by free 3D modelling software (e.g. blender or meshlab). We also include the fully articulated skeletal
		    and soft tissue meshes as unsegmented models in the 'Whole body' folder of each bird.

------COM MODELS: This folder contains the 3 models (1 per breed) that were used to calculate centre of mass. Each model 
		  skeletal (used for re-posing) and skin segment (used for actual CoM calculation) meshes that have been
		  reposed into a neutral reference pose following Macaulay et al., 2023 (see main text). All models are 
		  presented as .blend for use with blender, but can be each segment mesh can be exported individually for
		  use in other software.

---KINEMATICS MODELS: Contains the biomechanical models and motion capture data.

------OPENSIM MODELS: This folders contains all OpenSim models used for inverse kinematic analysis. Note that two model prefixes
		      are included, whereby 'unscaled' models are derived from real skeletal meshes, whereas 'scaled' models consist
		      of unscaled ones which have been rescaled in OpenSim to the linear proportions of another bird. The model files
		      are named according to the individual they represent (i.e. Aylesbury 6). These are OpenSim model files (.osim)
		      and intended for use with that software.

------TRACKED MOCAP: This included the tracked motion-capture data from Qualysis and is named according to the individual bird (i.e.
		     Aylesbury 6) and the walking speed (i.e. 2p5 = 2.5 kmph). The files are in .trc format, which is suitable for
		     inverse kinematics in OpenSim, allowing replication of our analyses.


DATA_PROCESSED: Contains tabulated processed data and accompanying code to replicate the statistical analyses.

---MORPHOLOGY: Contains data and code to replicate the morphological analyses.

------STATISTICAL ANALYSIS OF BODY SEGMENTS: This includes a single excel data file (Segement_Lengths_Volumes.xlsx) that contains all the
					     raw and normalised segmental data. Skeletal segment lengths are denoted as ('L_') and the normalised
					     variants are given as body mass ^ 0.33. Minimum convex hulls are denoted as ('H_') and the normalised
					     versions are given as a % of total body hull volume. Skin segment volumes are denoted as ('S_') and
					     the normalised versions are given as a % of total skin body volume. The R code files (.R) replicate
					     the analyses presented in the manuscript. 'AOV_Main_Analysis.R' will perform the main ANOVA, while 
					     'AOV_Check_Assumptions.R' checks the data complies with the ANOVA test assumptions, and 
					     'AOV_Corrections.R' performs secondary ANOVA on problematic variables after omitting test outliers.
					     'Violin_Plots.R' will replicate the violin plots seen in supplementary notes 1 & 2, which complement the
					     main statistical analysis. Finally, 'Morphospace.R' performs the PCA analyses of main text Figure 1 and
					     supplementary notes 3. Please note that presently the main PCA and the biplots are outputted as seperate
					     figures.

------COM MORPHOSPACE: This includes two files needed to replicate main text figure 2, the position of the duck breeds against a wider
		       morphospace of avian CoM (using data from Macaulay et al., 2023). The excel file 'Bird_CoM_Data.xlsx' contains
		       the centre of mass data, functional groupings and taxonomic information for all birds in the plot. The R code file
		       'Bird_CoM_Morphospace.R' will take this file and replicate the plot with the exception of 2B which is a manual
		       added graphic.

------LEG NECK INTEGRATION: This folder contains the two files needed to replicate the analysis of neck and leg integration in ducks (Figure 3).
			    The excel file 'Leg_Neck_Lengths.xlsx' contains the length data in raw and log10 forms, while the R code file
			    'Leg_Neck_Integration.R' will replicate the plot of functional and total hindlimb length against neck length seen
			    in Figure 3, as well as calculate the regression coefficients detailed in the main text.

---ENERGETICS SPATIOTEMP: Contains the data and code needed to replicate the energetic and spatiotemporal kinematic analyses.

------ENERGETICS: This folder contains the R code 'Energetics_Analysis.Rmd' and data 'ducks-e_v2.csv' needed to replicate figures 4a-d,
		  which comprise the size-corrected speeds (Froude).

------SPATIOTEMPORAL KINEMATICS: This folder contains the R code 'Spatiotemporal_Kinematics_Analysis.Rmd' and data 'ducks-k_v2.csv' needed
				 to replicate figures 4e-h comprising the size-corrected speeds (Froude).

------COMPARATIVE COT: This contains the files needed to replicate the allometric analysis of minimum cost of transport in birds, which compares
		       duck CoT against the scaling patterns seen in birds more broadly (supplementary material 5). The minimum CoT data is
		       contained in the excel file 'Bird_CoT.xlsx' and all numerical data has been converted to Log10 scale. The R code
		       needed to replicate the analysis is located in 'Bird_CoT_Analysis.R', and this uses a phylogenetic tree stored as
		       'Bird_Tree.tre'.

---JOINT KINEMATICS: Contains the data and code needed to replicate the joint kinematic and related analyses.

------DISCRETE KINEMATICS: This folder contains everything needed to perform the statistical analysis of the joint kinematics at specific points
			   in the gait cycle, as described in Supplementary Notes 6. The raw joint data are included in the excel file 
			   'Discrete_Kinematics.xlsx', and the R code needed to perform the analyses are located in 'KW_Dunn_Violin_JOINT.R', where
			   joint denotes the specific joint of interest. Each R file will perform a series of test assumptions before conducting
			   a kruskall-wallis and dunn's test on the data, and outputting a series of box- and violin plots for the raw and
			   corrected data respectively.

------COM VERSUS PES: Contains the R code file 'CoM_Pes.R' which generates the plots presented in Supplementary Notes 7 that show positional
		      alignement between the CoM and the foot during stance. The data used by the code is included in the excel file 'CoM_Pes.xlsx'.

------PITCH VERSUS ELL: This folder contains the files neccessary to replicate the analyses presented in Supplementary Notes 8, where midstance trunk
			pitch is regressed against ELL and Hip angle. The R code is located in 'Pitch_ELL_Hip.R' and this uses the breed-specific data
			presented in 'BREED_Pitch_ELL.xlsx'. 



