💽 Data: https://doi.org/10.17617/3.KJGEZQ
📑 Preprint: https://www.biorxiv.org/content/10.1101/2024.01.31.578172v1
🐺 Demo of the VR experiment: https://osf.io/a7n9b/
Combining ECG with immersive virtual reality, we studied whether the cardiac phase influences the distance perception of threatening and non-threatening animals.
If you want to reproduce the statistics (or the [pre]processing steps) reported in the paper, we suggest that you follow these steps:
Shortcuts
Code relevant for the ECG (pre)processing can be found in /Code/Analyses/VRTask/Cardio/Preprocessing.
Most of the main statistical analysis are performed in /Code/Analyses/VRTask/VRCC_main_analysis.Rmd, further notebooks with exploratory analyses and the preprocessing can be found in /Code/Analyses/VRTask.
All relevant subfolders contain separate README files with concrete explanations.
Most important
If you run into problems, please do not hesitate to contact us (e.g., via email) or open an issue here. Much of the code is acceptably well documented and the notebooks should (theoretically) run from top to bottom.
So if you want to work with the code, we are happy to support you in getting it to work.
How to get started:
- Download the data set from Edmond – The Open Research Data Repository of the Max Planck Society
There are data-readme files on Edmond which explain what the single folders and files contain. - Clone this repository to a clean local directory.
- Replace the
\Data
folder with the actual data which you downloaded in step 1 and unzipped. - Now you should be ready to go. 😊
You can use the
tags
in the repo to identify the according commits.
2024-09
: Code associated with the peer-reviewed publication
[tbc]
2024-01
: Code associated with the preprint: