Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
* __Project title__: Sustaining attention for a prolonged period of time increases temporal variability in cortical responses * __Project ID__: MFBrain (Mental Fatigue in the Brain) * __Authors__: Reteig, L.C., van den Brink, R.L., Prinssen, S., Cohen, M.X., & Slagter, H.A. * __Affiliation__: Department of Psychology, University of Amsterdam * __Year__: 2018 * __Preprint__: [bioRxiv](https://doi.org/10.1101/501544 ) * __Published version__: Reteig, L. C., van den Brink, R. L., Prinssen, S., Cohen, M. X., & Slagter, H. A. (2019). Sustaining attention for a prolonged period of time increases temporal variability in cortical responses. _Cortex_. https://doi.org/10.1016/j.cortex.2019.02.016 # Project layout ## File descriptions * `MFBrain.Rproj`: Config file with options for the R project; also determines that this the top-level folder. ## Folder descriptions See the `README` inside each folder for more information. * `/data`: behavioral and EEG data * `/materials`: code for the experimental task * `/src`: data analysis code ## Directory structure After downloading everything, your directory structure should look like this: ``` MFBrain │ MFBrain.Rproj └───data └───materials └───src ``` # Reproducing the analyses Three different ways to reproduce the analyses: * __To reproduce all the statistical results in the paper__: Open the `src/MFBrain.Rmd` notebook in [RStudio](https://www.rstudio.com/) and run it. Alternatively, open the `src/MFBrain.nb.html` file to see the results without having to run the code. The notebook starts from the raw behavioral data, but not from the raw EEG data: it uses text files in `data/EEG/statistics` that were written out from MATLAB. * __To reproduce the figures in the paper__: Run the `/src/MFBrain_master_reproduce.m` script in MATLAB, which loads the provided group EEG data and statistics text files. * __To recompute the ERP and EEG time-frequency measures__: Run the `/src/MFBrain_master_recompute.m` script in MATLAB, which loads the preprocessed EEG data. Note that unfortunately we cannot provide a way to reproduce the preprocessed data from the raw data as the preprocessing for this project was not fully scripted out.