This data accompanies the publication De Franceschi and Barkat (2021) "Task-induced modulations of neuronal activity along the auditory pathway" The DATA folder includes files used by the code for creating the figures in the manuscript. Prefixes used across datasets: - P1: first passive phase - A: active phase - P2: second passive phase - hit: hit trials - miss: miss trials - ts: timestamp - tb: timebase - mean: average - std: standard deviation - sem: standard error of the mean - lat: latency - amp: amplitude - sua: single-unit activity - mua: multi-unit activity - chProbe: channel in the recording probe - chShank: shank in the recording probe - layer: cortical layer (superficial, input, deep) - wave: action potential waveform - pv: fast-spiking neurons, putative parvalbumin-expressing interneurons - spk: spike, as in action potential - psth: peri-stimulus time histogram - stim: auditory stimulus - freqs: auditory stimulus frequencies - rxts: reaction time stamps - resp: neural response - evokresp: neural response with spontaneuse rate subtracted - pred: predicted (from a model) - blank/spont: relative to spontaneous rate - transient/trans:relative to first 100 ms of stimulus duration - peakResp: peak neural response in first 100 ms of stimulus duration - sustained: relative to last 900 ms of stimulus duration - prefIdx: preferred index - fsi: frequency selectivity index - bf: best frequency - oct: octaves - varExp: variance explained - optParams: optimal parameters (for a model) - tHalf: half-time ofresponse decay (from model) - vid: video, for pupil - z: z-scored - norm: normalized The following text describes the contents of the DATA folder. For furhter deails, please contact the authors. • DATA FOLDER • behaviorAlignedPsths.mat Output of CODE --> create_behaviorAlignedPsths.m Content: • outC [1 x cells] - structure containing, for each cell ('name'), its lick aligned data in first passive (P1), active (A) or second passive (P2) phases, in hit trials (_Hit), licking bouts without stimulus (all - _OutStim) and pupil size increases (_OutStimPupIncrease) and licking bouts without stimulus no pupil change (_OutStim_PupNochange). The timebases are stored in outS --> tb_lickLocked_X. There are either all single trials or their mean and std. • outS [1 x session] - structure containing, for each session ('name'), information about first passive (P1), active (A) or second passive (P2) phases, in hit trials (_Hit), licking bouts without stimulus (all - _OutStim) and pupil size increases (_OutStimPupIncrease) and licking bouts without stimulus no pupil change (_OutStim_PupNochange). • differentFromShuffledIdx.mat Optional output from CODE --> paperFigures.m Content: differentFromShuffled_any [cells x 1] - indices of units with task-induced modulation different from shuffling in any time period differentFromShuffled_blank [cells x 1] - indices of units with task-induced modulation different from shuffling in spontaneous rate differentFromShuffled_trans [cells x 1] - indices of units with task-induced modulation different from shuffling in onset response differentFromShuffled_sust [cells x 1] - indices of units with task-induced modulation different from shuffling in sustained response • featuresPCA.mat Output from CODE --> create_finalDataset.m Contains all information, cell by cell, used for most of the paper figures. It contains a lot of fields, please refer to prefix list and create_finalDataset.m script for details. Content: alldat [cells x field] • sessionPsths.mat Output from CODE --> create_finalDataset.m Contains all information, session by session, used for most of the paper figures. It contains a lot of fields, please refer to prefix list and create_finalDataset.m script for details. • shuffled_P1Ahit.mat Output from CODE --> create_shuffledP1_Ahit_Dataset.m Lists the results of 10'000 shuffles of P1 and Ahit trials, and the relative calculated modulations (diffAhitP) Content: sh_alldat [cells x field] • signifModulat_P1Ahit.mat Output from CODE --> create_signifModul_Ahit_Dataset.m Contains results of statistical tests between neural responses in A and P1 trials to probe significant differences for each cell. Content: signifModulat_alldat [1 x cells] • DECODER FOLDER • Output from CODE --> create_decoderDataset_norm.m and CODE --> create_decoderDataset_OnlyDifferentFromShuffled.m, input for scripts in CODE --> Decoder_From_Colab • decoderDataset_All_blank.mat • decoderDataset_All_onset.mat • decoderDataset_All_sust.mat • decoderDataset_blankDiffFromShuff_blank.mat • decoderDataset_blankNotDiffFromShuff_blank.mat • ecoderDataset_transDiffFromShuff_onset.mat • decoderDataset_onsetNotDiffFromShuff_onset.mat • decoderDataset_sustDiffFromShuff_sust.mat • decoderDataset_sustNotDiffFromShuff_sust.mat Content: choicesAll [1 x sessions][trials] - indication of hit (1) and miss (0) trials during 74 behaviour sessions recorded in the same animal and in the same area. info [1 x sessions][area] - recording area per session info [1 x sessions][animalSession]- recording animal and session date ID spikesAll [1 x sessions][cells x trials] - spike rates (spont/onset/sustained) recorded within 74 sessions, for all the cells and all trials • Dataset ouputs by scripts in CODE --> Decoder_From_Colab, input for decoderAccuraciesFigure_ver3.m • decoderDataset_All_blank_results.mat • decoderDataset_All_onset_results.mat • decoderDataset_All_sust_results.mat • decoderDataset_blankDiffFromShuff_blank_results • decoderDataset_blankNotDiffFromShuff_blank_results.mat • decoderDataset_transDiffFromShuff_onset_results.mat • decoderDataset_onsetNotDiffFromShuff_onset_results.mat • decoderDataset_sustDiffFromShuff_sust_results.mat • decoderDataset_sustNotDiffFromShuff_sust_results.mat Content: accuracies_original [1 x sessions][repetition] - decoder accuracies per session, per repetition of the training, original data accuracies_shuffled [1 x sessions][repetition] - decoder accuracies per session, per repetition of the training, shuffled data weights_original [1 x sessions][1 x cell] - weight assigned to each cell in each session by the decoder, original data weights_shuffled [1 x sessions][1 x cell] - weight assigned to each cell in each session by the decoder, shuffled data • KMEANS_CLUSTERINGS FOLDER Dataset ouputs by scripts in CODE: createKmeansClustering.m, createKmeansClustering_15Clusters.m, createKmeansClustering_GoodPerfSessions.m, createKmeansClustering_OnlyOnset.m, createKmeansClustering_Variations.m,createKmeansClustering_onlyDifferentFromShuffledUnits.m, createKmeansClustering_onlyDifferentFromShuffledUnits_Onset.m, createKmeansClustering_onlyModulatedUnits.m • kmeansClusters_Modulation_OnlyA1.mat • kmeansClusters_Modulation_OnlyAAF.mat • kmeansClusters_Modulation_OnlyGoodPerfoSessions.mat • kmeansClusters_Modulation_OnlyIC.mat • kmeansClusters_Modulation_OnlyMGB.mat • kmeansClusters_Modulation_OnlyOnset.mat • kmeansClusters_Modulation_OnlySUA.mat • kmeansClusters_Modulation_OnlySustained.mat • kmeansClusters_Modulation_Reiterated_correlation_11clust.mat • kmeansClusters_Modulation_Reiterated_correlation_15clust.mat • kmeansClusters_Modulation_onlyDifferentFromShuffledUnits.mat • kmeansClusters_Modulation_onlyDifferentFromShuffledUnits_Onset.mat • kmeansClusters_onlyModulatedUnits.mat Content:clusGroupIdx [1 x repetition][1 x cluster][cellIdx] - index of neurons assigned to each cluster in each repetition of k-means clustering nClus_Sil - number of clusters requested to the k-means lustering function uniqueClus [1 x repetition][1x cluster] - unique number of clusters in each repetition of the k-means clustering clusIdxReiterated [cells x repetition] - cluster to which each cell was assigned in each repetition of the k-means clustering proportionCoclustering [cells x cells] - percentage of k-means clustering repetitions over which each cell was assigned to the same cluster as another cell.