Dataset: The effects of rTMS antidepressant response on cold cognition

Published: 6 April 2021| Version 4 | DOI: 10.17632/hnxt5gzrg8.4
Helene Hopman


This dataset and code were used to obtain the results described in the article: Hopman, Choy, Ho, Lu, Wong & Chan (2021). The effects of repetitive transcranial magnetic stimulation antidepressant response on cold cognition: a single arm prospective longitudinal study


Steps to reproduce

The code for the (generalized) linear mixed models and post hoc ANOVA can be found in the TMS_cognition_code_HH.R. After revision, additional code was added to perform one-sample t-tests with normative data, plot symptom score trajectories, plot Z-score trajectories, perform LMM with Z-scores. This code should be used in combination with the root/data/data.R file and TMS_cognition_Z.xlsx file. Steps are described in the code, including outlier detection, level 1 modeling, level 2 modeling, and plotting the results. Variable descriptions can be found in the root/data/data.xlsx file (sheet: variables).


Chinese University of Hong Kong


Depression, Transcranial Magnetic Stimulation, Neuropsychological Assessment