Matlab code is the customized GUI for image loading (using memory mapping), ROI drawing and dF/F calculating
R scripts are the ones used to process the ROI readout from MATLAB GUI. These include making dF/F curves, statistic analysis, heat map and so on.