DS2 Case studies – Leaf allometry
In the Data Science 2 module, students conduct independent case studies applying the full data analysis workflow — from their own data collection, digitisation and preparation to statistical analysis and visualisation. They use R Notebooks for the first time, as a stepping stone towards fully reproducible R Markdown and Quarto documents used in advanced courses.
The case study is not an ecological research project in the strict sense. Its focus lies on the principles of data-driven analysis: collecting data in a planned way, digitising it carefully, and analysing and visualising it. The biological question serves as an intuitive and accessible framework. Accordingly, the results overviews concentrate on data quality, sampling design and statistical methods rather than on ecological interpretation.
Background
Allometry describes how the size of different parts of an organism relate to each other and is a central concept for understanding growth and changes in form (Huxley 1932). Shingleton (2010) provides an accessible introduction in Allometry: The Study of Biological Scaling. The case study builds on the well-known iris dataset, for which Edgar Anderson (1935) measured sepals and petals of three iris species. Length–width ratios are not only of biological interest but also relevant for automated image analysis, as many machine learning approaches to plant identification rely on such shape features (Pound et al. 2017).
Since 2025, the case study additionally asks whether petal size and allometry within a species differ between sites with different environmental conditions. According to the classical Berg hypothesis (Berg 1960), floral traits should respond less strongly to the environment than leaves, as they are adapted to pollinators. Evidence is mixed: in harebell, flower size responded more weakly to temperature than leaf size (Pélabon et al. 2013), whereas petals of Iris pumila were shorter and relatively wider at an urban site with heavy traffic pollution than in a nature reserve (Vujić et al. 2015).
The task
Individually or in pairs, students measure the length and width (in mm) of flowering plants in Hamburg and surrounding areas. Along with the measurements, they record metadata such as site coordinates, time of measurement, and taxonomic identification of plant species (using apps like PlantNet or iNaturalist). Raw data is first recorded on paper protocols and then digitised in standardised spreadsheet templates.
In 2023 and 2024, the focus was on comparing measurements between groups and species. Since 2025, each team compares one plant species at two sites, characterised by site type, management intensity (disturbance) and light intensity. Ideally, the two sites differ in only one of these characteristics, so that differences can be attributed to a single factor and the effects of several factors are not confounded. At each site, 5 plants, 5 flowers per plant and 3 petals per flower are measured.
The statistical analysis includes:
- Descriptive statistics: Calculating means and 95% confidence intervals for length and width
- Two-sample comparisons: Comparing length between the two sites with checks for normality and homogeneity of variance
- Multi-sample comparisons: Comparing with the sites of another team
- Linear regression: Modelling the relationship between length and width (allometry), including verification of model assumptions
- Power analysis: Assessing whether sample sizes were sufficient for the tests performed
- Evaluation: Critical discussion of the sampling design and analytical methods
Because several petals per flower and several flowers per plant are measured, individual measurements are not independent (pseudoreplication; Hurlbert 1984). In the Data Science 3 module, the case study data are therefore re-analysed with summary measure analyses and linear mixed-effects models.
Results overview
The following documents summarise the collected data from all teams per semester. They were created using the UHHformats Quarto template. The overviews are written in German.
Overview summer 2026 Overview summer 2024 Overview summer 2023
References
Anderson, E. (1935): The irises of the Gaspé Peninsula. Bulletin of the American Iris Society 59: 2–5.
Berg, R.L. (1960): The ecological significance of correlation pleiades. Evolution 14: 171–180.
Hurlbert, S.H. (1984): Pseudoreplication and the design of ecological field experiments. Ecological Monographs 54: 187–211.
Huxley, J. S. (1932): Problems of Relative Growth. Methuen, London.
Niklas, K. J. (1994): Plant allometry: the scaling of form and process. University of Chicago Press.
Pélabon, C., Osler, N.C., Diekmann, M. & Graae, B.J. (2013): Decoupled phenotypic variation between floral and vegetative traits: distinguishing between developmental and environmental correlations. Annals of Botany 111: 935–944. doi:10.1093/aob/mct050
Pound, M. P., Atkinson, J. A., Townsend, A. J., Wilson, M. H., Griffiths, M., Jackson, A. S., et al. (2017): Deep machine learning provides state-of-the-art performance in image-based plant phenotyping. GigaScience 6: 1–10.
Shingleton, A. (2010): Allometry: The study of biological scaling. Nature Education Knowledge 3(10): 2.
Vujić, V., Avramov, S., Tarasjev, A., Barišić Klisarić, N., Živković, U. & Miljković, D. (2015): The effects of traffic-related air pollution on the flower morphology of Iris pumila – comparison of a polluted city area and the unpolluted Deliblato sands (nature reserve). Applied Ecology and Environmental Research 13: 405–415. doi:10.15666/aeer/1302_405415