Content: Data and analysis files for the paper "Mixed selectivity coding of sensory and motor social signals in the thalamus of a weakly electric fish", by Avner Wallach, Alexandre Melanson, Andre Longtin and Leonard Maler, published in Current Biology. Description of the main files: unit_lists.xlsx excel file with subsets of single units recorded with each protocol (chirps/beats). databases.mat database files, containing: dbs: array of two cells, each with a database structure with fields: neuron (one per unit reocrded), session (one per experiment). dbs{1} - 1st 31 experiments dbs{2} - last 8 experiments cstruct: structure of analyzed chirp responses bstruct: structure of analyzed beat responses fig_all_chirps.m analysis file to produce the chirp figures (Fig 2, Fig S2, Table S1). if called with no arguments, it will re-analyze units and return in cstruct fig_all_beats_envs.m analysis file to produce the beat figures (Fig 4, 5, Fig S4). if called with no arguments, it will re-analyze units and return in bstruct fig_chirps_envs.m analysis file to produce beat/chirp figure (Fig 6). plot_chirps_new.m file to plot chirp responses (called by fig_all_chirps) plot_envscan_carrier.m file to plot beat/envelope responses to beat-scan protocol (called by fig_all_beats_envs) analyze_chirpscan_carrier.m file to plot beat+envelope+chirp responses to chirp-scan protocol (called by fig_chirps_envs) venn.m file to plot Venn diagram edge2bin.m convert bin edges to bin centers lighter.m increase color brightness inrange.m return all indices where vector is within a range More information/raw data will be provided upon request, please contact: aw3057@columbia.edu Avner Wallach Corresponding Author