SpikedDetectionLFP there are two analyses for the same data: Spike detection based on the LFP signal and then calculating Pearsons correlation, using R Code. Connectivity analysis and events classifier, using MATLAB.