Analysis code for the paper "Protosequences in brain organoids model intrinsic brain states"
Use Main_analyses_matlab/preprocess_ks.m to inspect and preprocess the kilosort2 spike times into spike matrices. These spike matrices are subsequently used in Main_analyses_matlab/process_data_backbone.m and HMM_analysis_python for further processing the data. The remainder of the scripts plot the processed results.
For questions about the scripts and data, reach out to [email protected]