Cerebellar degeneration increases visual influence on dynamic estimates of verticality
Description
This file contains the data to replicate all of the figures, numbers and statistics presented in the manuscript Cerebellar degeneration increases visual influence on dynamic estimates of verticality.
Files
Steps to reproduce
1. Convert the code in contained in the supplementary information of the publication into a .m file (Matlab) or into an R file (it is currently set up for a R markdown file). The matlab code requires the functions: "shadedErrorBar", "keep", "vline" and "hline". These should be downloaded or commented out before trying to run the code. 2. Set the path to enable the code to find the data (may require downloading it). The R code will require one path to the "All Data.xls" file (which is created in the matlab code) and the matlab file will require two: one for the matlab folder files in the "Raw Data" folder and one for the labview folder files in the "Raw Data" folder. Data for each participant is a unique folder marked "P12" for example. Young controls are subjects 1 to 15, Aged controls are subjects 16-30 and SCA patients are subjects 31-45. 3. Run either code cell by cell. Be warned the confidence intervals for figure 4 in the R code could take some time and the maximum likelihood fitting procedure in the matlab code could take a long time. We have provided the data (Published_CI_Data.mat) for the maximum likelihood fit used in the manuscript to allow you to bypass the fitting procedure and directly recreate figure 5 from the manuscript. 4. A key for each of the columns in the matlab data is located at the top of the matlab code in the supplementary file and each of the columns in the "All Data.xls" have headers.