R files for analyzing microelectrode data