The scripts in this project were run during analyses of the Face Pop-out data from BATSS (Babytwins Study in Sweden). Results are reported in the manuscript "Infants’ looking preferences for social versus non-social objects reflect genetic variation" by author Ana Maria Portugal, published in Nature Human Behaviour on 27th November 2023, available online at https://www.nature.com/articles/s41562-023-01764-w.
This project is linked to the open-ended registration "What are the contributions of genetic and environmental factors to individual differences in visual attention to faces in infancy?", registered on Aug 20 2020 (https://osf.io/5fbvk).
The Face Pop-out preprocessing workflow (implemented in Matlab and described in the manuscript SI) are part of a shared agreement and are available from authors Luke Mason (Birkbeck, University of London) on a reasonable request.
The statistical analyses scripts were implemented in R - batss_facepopout_osf.R. Twin models were scripted by authors Ana Maria Portugal (Karolinska Institutet) and Mark J. Taylor (Karolinska Institutet). The code was largely based on publicly available scripts (https://hermine-maes.squarespace.com/). We thank Professor Hermine Maes and all the faculty of the 2020 International Behavioral Genetics Workshop at the Institute for Behavioral Genetics, in Boulder, Colorado.
Raincloud plots: the code for Figure 1 and Supplementary Figure 3 has been adapted from Allen, M., Poggiali, D., Whitaker, K., Marshall, T. R. & Kievit, R. A. Raincloud plots: a multi-platform tool for robust data visualization. Wellcome Open Res 4, 63 (2019).