Published June 20, 2020 | Journal article | Version v1 | https://doi.org/10.21105/joss.02285

PupillometryR: An R package for preparing and analysing pupillometry data

Authors/Creators

Files

10.21105.joss.02285.pdf

Files (921.3 kB)

Name Size Download all
md5:04565e8725b055fea275c02fecbe38d6
186.3 kB Preview Download
md5:c49c65079e46077cf692992553a4b808
735.0 kB Download

Additional details

Dates

Issued
June 20, 2020

References

  1. Forbes, S. H. (2020). PupillometryR: An R package for preparing and analysing pupillometry data (Version v0.0.3) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.3897291
  2. signal: Signal processing, Signal Developers, 2014, https://r-forge.r-project.org/projects/signal
  3. Generalized Additive Models: An Introduction with R, 2017, Wood, S.N, 2, Chapman and Hall/CRC
  4. Allen, M., Poggiali, D., Whitaker, K., Marshall, T. R., & Kievit, R. A. (2019). Raincloud plots: a multi-platform tool for robust data visualization. Wellcome Open Research, 4, 63. https://doi.org/10.12688/wellcomeopenres.15191.1
  5. Mathôt, S., Fabius, J., Van Heusden, E., & Van der Stigchel, S. (2018). Safe and sensible preprocessing and baseline correction of pupil-size data. Behavior Research Methods, 50(1), 94–106. https://doi.org/10.3758/s13428-017-1007-2
  6. Ramsay, J. O. and Graves, S. and Hooker, G., fda: Functional Data Analysis, 2020, https://cran.r-project.org/package=fda
  7. Hershman, R., Henik, A., & Cohen, N. (2019). CHAP: Open-source software for processing and analyzing pupillometry data. Behavior Research Methods, 51(3), 1059–1074. https://doi.org/10.3758/s13428-018-01190-1
  8. Pupillometry Walkthrough, Sirois, Sylvain, https://oraprdnt.uqtr.uquebec.ca/pls/public/gscw031?owa_no_site=314&owa_no_fiche=3&owa_bottin=https://oraprdnt.uqtr.uquebec.ca/pls/public/gscw031?owa_no_site=314&owa_no_fiche=3&owa_bottin=
  9. Geller, J., Winn, M. B., Mahr, T., & Mirman, D. (2020). GazeR: A Package for Processing Gaze Position and Pupil Size Data. Behavior Research Methods, 52(5), 2232–2255. https://doi.org/10.3758/s13428-020-01374-8
  10. Jackson, I., & Sirois, S. (2009). Infant cognition: going full factorial with pupil dilation. Developmental Science, 12(4), 670–679. https://doi.org/10.1111/j.1467-7687.2008.00805.x
  11. Gagl, B., Hawelka, S., & Hutzler, F. (2011). Systematic influence of gaze position on pupil size measurement: analysis and correction. Behavior Research Methods, 43(4), 1171–1181. https://doi.org/10.3758/s13428-011-0109-5
  12. van Rij, J., Hendriks, P., van Rijn, H., Baayen, R. H., & Wood, S. N. (2019). Analyzing the Time Course of Pupillometric Data. Trends in Hearing, 23. https://doi.org/10.1177/2331216519832483
  13. van der Wel, P., & van Steenbergen, H. (2018). Pupil dilation as an index of effort in cognitive control tasks: A review. Psychonomic Bulletin & Review, 25(6), 2005–2015. https://doi.org/10.3758/s13423-018-1432-y
  14. Winn, M. B., Wendt, D., Koelewijn, T., & Kuchinsky, S. E. (2018). Best Practices and Advice for Using Pupillometry to Measure Listening Effort: An Introduction for Those Who Want to Get Started. Trends in Hearing, 22. https://doi.org/10.1177/2331216518800869
  15. Hess, E. H., & Polt, J. M. (1964). Pupil Size in Relation to Mental Activity during Simple Problem-Solving. Science, 143(3611), 1190–1192. https://doi.org/10.1126/science.143.3611.1190
  16. Kahneman, D., Tursky, B., Shapiro, D., & Crider, A. (1969). Pupillary, heart rate, and skin resistance changes during a mental task. Journal of Experimental Psychology, 79(1, Pt.1), 164–167. https://doi.org/10.1037/h0026952
  17. Attention and Effort, 1973, Kahneman, D, 24, Prentice-Hall, Englewood Cliffs, New Jersey
  18. Wickham, Hadley, ggplot2: Elegant Graphics for Data Analysis, Springer-Verlag New York, 2016, 978-3-319-24277-4, https://ggplot2.tidyverse.org

Citations

  1. Sener, S. B., & Starr, A. (2026). The mental timeline is used as a memory strategy. Acta Psychologica, 266, Article 106902. https://doi.org/10.1016/j.actpsy.2026.106902
  2. Li, R., Liu, X., Yu, Y., Su, W., & Hu, Y. (2026). Beyond content: Multimodal emotional responses predict online moral contagion across laboratory and real-world contexts. International Journal of Human-Computer Studies, 208, Article 103689. https://doi.org/10.1016/j.ijhcs.2025.103689
  3. Hiralal, K. R., Bouw, N., Diederen, L. D., Lubbers, K., Dierckx, B., Greaves-Lord, K., Hillegers, M. H. J., Dieleman, G. C., & Mous, S. E. (2026). Response inhibition in children and adolescents with fragile X syndrome. Child Neuropsychology, 1–21. https://doi.org/10.1080/09297049.2026.2741552
  4. de Jersey, A. M., Bond, A. L., Wilson, R., Zosky, G. R., Rivers‐Auty, J., & Lavers, J. L. (2026). Life‐stage variation in Sable Shearwater ( Ardenna carneipes ) physiology assessed using proteomics. Ibis. https://doi.org/10.1111/ibi.70080
  5. Bayro, A., McGarry, S. P. D., NeSmith, R., Coyne, J. T., & Jeong, H. (2026). Multimodal Physiological and Behavioral Correlates of Situation Awareness in Virtual Reality Flight Navigation. Proceedings of the Human Factors and Ergonomics Society Annual Meeting. https://doi.org/10.1177/10711813261484584
  6. Zhang, H., & Jonides, J. (2026). PupEyes: An interactive Python library for eye movement data processing. Behavior Research Methods, 58(1). https://doi.org/10.3758/s13428-025-02830-z
  7. Vanbuckhave, C., Eikner, J. S., Laeng, B., Onnis, L., & Mathôt, S. (2026). Pupil size reflects moment-to-moment fluctuations in mental imagery, but not (or hardly) individual differences in imagery. In bioRxiv. openRxiv. https://doi.org/10.64898/2026.01.13.699205
  8. Lipschits, O., Sadon, S., & Geva, R. (2025). Automatic neural mechanisms of social synchrony: pupil and Blink responses in adults with ADHD symptoms. Journal of Neural Transmission, 133(9), 2877–2889. https://doi.org/10.1007/s00702-025-03051-6
  9. Balcazar, J., & Orr, J. M. (2025). The role of uncertain reward in voluntary task-switching as revealed by pupillometry and gaze. Behavioural Brain Research, 480, 115403. https://doi.org/10.1016/j.bbr.2024.115403
  10. Feige, L., Young, K., Cerapio, J. P., Kozaki, T., Kergoat, L., Libri, V., Ginhoux, F., Hasan, M., Ben Ameur, L., Chin, G., Goode, Z., Bourhy, H., & Saunders, A. (2025). Human brain cell types shape host-rabies virus transcriptional interactions revealing a preexisting pro-viral astrocyte subpopulation. Cell Reports, 44(9), 116159. https://doi.org/10.1016/j.celrep.2025.116159
  11. Mayer, M., & Liszkowski, U. (2025). Out of sight, not out of mind: New pupillometric evidence on object permanence in a sample of 10- and 12-month-old German infants. Journal of Experimental Child Psychology, 249, 106060. https://doi.org/10.1016/j.jecp.2024.106060
  12. Dhengre, S., Ackerman, R., & Rothrock, L. (2025). Eye-tracking as a lens into meta-reasoning. Thinking & Reasoning, 32(2), 272–293. https://doi.org/10.1080/13546783.2025.2558592
  13. Kumarage, S., Malko, A., & Kidd, E. (2025). Indexing prediction error during syntactic priming via pupillometry. Language, Cognition and Neuroscience, 40(7), 930–950. https://doi.org/10.1080/23273798.2025.2506634
  14. Schwartz, S. T., Yang, H., Xue, A. M., & He, M. (2025). eyeris: A flexible, extensible, and reproducible pupillometry preprocessing framework in R. In bioRxiv. openRxiv. https://doi.org/10.1101/2025.06.01.657312
  15. de Jersey, A. M., Lavers, J. L., Bond, A. L., Wilson, R., Zosky, G. R., & Rivers-Auty, J. (2025). Seabirds in crisis: Plastic ingestion induces proteomic signatures of multiorgan failure and neurodegeneration. Science Advances, 11(11). https://doi.org/10.1126/sciadv.ads0834
  16. Schulte, F., & Karakuş, D. C. (2025). How exposure to wartime violence shapes conflict resolution preferences. Conflict Management and Peace Science, 43(2), 134–156. https://doi.org/10.1177/07388942251334956
  17. Meth, E. M. S., Nôga, D. A., Wedzinga, F., Almajni, A., Pacheco, A. P., Rossi, V., Simonsson, P. C., Heel, C., Zetterlund, C., Noory, S. F. M., Danek, M., Xue, P., & Benedict, C. (2025). Estradiol and non-REM sleep attenuate physiological and emotional responses to social-evaluative stress in healthy women. BMC Medicine, 23(1). https://doi.org/10.1186/s12916-025-04508-x
  18. Garcia-Coste, J. J., Villafaña-Rauda, S., Aguayo-Cerón, K. A., Vargas-De-León, C., & Romero-Nava, R. (2025). KLF14 and SREBF-1 Binding Site Associations with Orphan Receptor Promoters in Metabolic Syndrome. International Journal of Molecular Sciences, 26(7), 2849. https://doi.org/10.3390/ijms26072849
  19. Opwonya, J., Kim, K., Lee, K. H., Kim, J. I., & Kim, J. U. (2024). Task‐evoked pupillary responses as potential biomarkers of mild cognitive impairment. Alzheimer's & Dementia: Diagnosis, Assessment & Disease Monitoring, 16(4). https://doi.org/10.1002/dad2.70019
  20. Reilly, J., Zuckerman, B., & Kelly, A. E. (2024). A Primer on Design and Data Analysis for Cognitive Pupillometry. In Modern Pupillometry (pp. 401–430). Springer International Publishing. https://doi.org/10.1007/978-3-031-54896-3_14
  21. Hershman, R., Milshtein, D., & Henik, A. (2024). Processing and Analyzing of Pupillometry Data. In Modern Pupillometry (pp. 431–466). Springer International Publishing. https://doi.org/10.1007/978-3-031-54896-3_15
  22. Hepach, R. (2024). Pupillometry in Developmental Psychology. In Modern Pupillometry (pp. 101–126). Springer International Publishing. https://doi.org/10.1007/978-3-031-54896-3_3
  23. Ali, H., Chatburn, A., & Immink, M. A. (2024). Post-error slowing during motor sequence learning under extrinsic and intrinsic error feedback conditions. Psychological Research, 89(1). https://doi.org/10.1007/s00426-024-02037-5
  24. Dhengre, S., & Rothrock, L. (2024). Investigating mental workload across task modalities: a multimodal analysis using pupillometry. Ergonomics, 68(9), 1458–1471. https://doi.org/10.1080/00140139.2024.2414203
  25. Feige, L., Young, K., Cerapio, J. P., Kozaki, T., Kergoat, L., Libri, V., Ginhoux, F., Hasan, M., Ben Ameur, L., Chin, G., Goode, Z., Bourhy, H., & Saunders, A. (2024). Human brain cell types shape host-rabies virus transcriptional interactions revealing a preexisting pro-viral astrocyte subpopulation. In bioRxiv. openRxiv. https://doi.org/10.1101/2024.12.18.629263

1–25 of 51