Work Description

Title: Dataset for Context flexibly modulates cue representations in visual cortex Open Access Deposited

h
Attribute Value
Methodology
  • Two-photon calcium imaging in visual cortex Two-photon calcium imaging was performed using a resonant-scanning two-photon microscope (Neurolabware; 15.63 frames/s; 756 Γ— 512 pixels/frame). All imaging was performed with a 16x 0.8 NA objective (Nikon) at 1.7x zoom (~1200 Γ— 800 ΞΌm2). All imaged fields of view (FOV) were at a depth of 120-150 ΞΌm below the pial surface. Laser power measured below the objective was 25-40 mW using an Insight X3 laser at 920 nm (Newport Corp.). For each mouse, the same field of view was tracked over multiple sessions.

  • Signal extraction and data processing We used Suite2p v0.10.3 for alignment and registration of two-photon images, raw fluorescence signal extraction from regions-of-interest (ROIs). After manual validation, we used custom Matlab code to calculate a 𝚫F/F from the 10th percentile of a 10 second rolling average window.
Description
  • This study uses in vivo two-photon calcium imaging in the visual cortex of mice to demonstrate that encoding of learned environmental visual cues is flexibly represented across different task contexts. This dataset is comprised of in vivo two-photon calcium imaging from visual cortex of mice during learning and performance of a visual discrimination task. data was acquired suing Scanbox and analysis performed in Matlab and Python.
Creator
Depositor
Contact information
Discipline
Funding agency
  • National Institutes of Health (NIH)
Keyword
Date coverage
  • 2018-09-01 to 2025-08-01
Resource type
Last modified
  • 05/29/2025
Published
  • 05/29/2025
DOI
  • https://doi.org/10.7302/0qe4-7r18
License
To Cite this Work:
Faulkner, A. (2025). Dataset for Context flexibly modulates cue representations in visual cortex [Data set], University of Michigan - Deep Blue Data. https://doi.org/10.7302/0qe4-7r18

Relationships

This work is not a member of any user collections.

Files (Count: 2; Size: 6.14 MB)

Data for "Context flexibly modulates cue representations in visual cortex"

This repository contains data used in the paper "Context flexibly modulates cue representations in visual cortex" published in Nature Communications.

Abstract

Learning of cue-outcome associations and enacting appropriate behavioral responses is crucial for survival.
These learned, salient sensory cues ultimately result in enhanced responses in sensory cortices and, in turn, enhanced responses draw attention towards cues in our environment that guide future decision making.
To respond appropriately to these cues, one must recognize the cue but also the context.
How the identity of the sensory cue is encoded in cortex to facilitate detection in different contexts remains unclear.
Here we use chronic in vivo two-photon calcium imaging in visual cortex as mice learn a reward-based visual discrimination task and subsequently experience a change in external context through introduction of a threat stimulus.
We demonstrate that a visual stimulus associated with a reward elicits an enhanced response with learning, and that this enhanced response is due to newly recruited neurons responding preferentially to the rewarded cue in addition to neurons increasing the magnitude of their response.
Introduction of threat results in a largely separate set of neurons encoding the task cues, but the maintenance of the enhanced response to reward.
When the threat is relieved, the cue representations revert to the initial representations.
These data suggest that changes in an animal's external context can result in rapid but flexible shifts in the neural representation of learned cues.

Directory map


data/
β”œβ”€β”€ raw/
β”‚ β”œβ”€β”€ T07/
β”‚ β”‚ β”œβ”€β”€ T07_early_appetitive_001.sbx
β”‚ β”‚ β”œβ”€β”€ T07_early_appetitive_002.sbx
β”‚ β”‚ β”œβ”€β”€ T07_late_appetitive_001.sbx
β”‚ β”‚ └── ...
β”‚ └── ...
└── processed/
β”œβ”€β”€ sessions/
β”‚ β”œβ”€β”€ T07/
β”‚ β”‚ β”œβ”€β”€ T07_early_appetitive.npz
β”‚ β”‚ β”œβ”€β”€ T07_late_appetitive.npz
β”‚ β”‚ └── ...
β”‚ └── ...
β”‚ └── crossday_neuron_indices.npz
β”œβ”€β”€ heatmaps/
β”‚ β”œβ”€β”€ single_day/
β”‚ β”‚ β”œβ”€β”€ heatmap_early_app_activated.mat
β”‚ β”‚ β”œβ”€β”€ heatmap_early_app_suppressed.mat
β”‚ β”‚ └── ...
β”‚ └── crossday/
β”‚ β”œβ”€β”€ heatmap_early_app_late_app_activated.mat
β”‚ β”œβ”€β”€ heatmap_early_app_late_app_suppressed.mat
β”‚ └── ...
└── pca/
β”œβ”€β”€ trial_means.npz
└── trial_means_regressed_out.npz

Raw dataΒ (raw/)

File pattern: {mouse_id}/{mouse_id}_{condition}_{block}.sbx

Each file contains the raw recording for a particular mouse, condition, and block (either 001 or 002).
Each condition corresponds to a particular day, mainly consisting of two blocks (25k frames per block), with the exception of last_appetitive and threat_intro conditions which correspond to a single block.
These files have an .sbx extension, which is the native format for Scanbox, the MATLAB-based software we used for acquisistion of our calcium imaging.

Processed dataΒ (processed/)

Per-session data (processed/sessions/)

Individual sessions

File pattern: {mouse_id}/{mouse_id}_{condition}.npz

Field Shape Description
dff (n_neurons, n_frames) dF/F for each neuron per frame
cue (n_frames,) Cue presented at each frame
cue_map dict Maps integers in cue to human-readable labels
running_velocity (n_frames,) Running velocity
total_running (n_frames,) Cumulative distance run within session
licking (n_frames,) Licking activity
pupil_size (n_frames,) Z-scored pupil size
discriminability scalar Session-wide discriminability (d')
Cross-day matched neurons

File: crossday_neuron_indices.npz

Field Shape Description
{mouse_id} $\rightarrow$ ({cond1}, {cond2}) (2, n_neurons) Indices of cross-day matched neurons (first row $\rightarrow$ cond1, second row $\rightarrow$ cond2)

HeatmapsΒ (processed/heatmaps/)

Single-day heatmaps (processed/heatmaps/single_day/)

File pattern: heatmap_{condition}_{mode}.mat, where mode $\in$ {activated, suppressed}

Field Shape Description
{cue} (n_neurons, 45) Mean trace (15 frames before trial start to 30 frames into trial) for cue $\in$ {reward, neutral, neutral/shock}
{cue}_{mode} (1, n_neurons) Boolean mask of neurons classified as mode (activated or suppressed) for cue
Cross-day heatmaps (processed/heatmaps/crossday/)

File pattern: heatmap_{cond1}_{cond2}_{mode}.mat, where mode $\in$ {activated, suppressed}

Field Shape Description
{cue} (n_neurons, 90) First 45 columns $\rightarrow$ cond1, second 45 columns $\rightarrow$ cond2
{cue}_{mode} (2, n_neurons) Boolean mask of neurons classified as mode for cue (first row $\rightarrow$ cond1, second row $\rightarrow$ cond2)

PCA data (processed/pca/)

Files: trial_means.npz and trial_means_regressed_out.npz

Field Shape Description
trial_means $\rightarrow$ {condition} $\rightarrow$ {cue} (n_neurons, 30) Data for training PCA for condition
crossday_indices $\rightarrow$ ({cond1}, {cond2}) (2, n_neurons) Indices of cross-day matched activated neurons (first row $\rightarrow$ cond1, second row $\rightarrow$ cond2)

Reference

  • Alexa D. Faulkner and Alvin S. Chiu and Armin Sarabi and Swathi Karthik and Yaoxin S. Li and Christian R. Burgess. Context flexibly modulates cue representations in visual cortex. Nature Communications.
  • Corresponding author: Christian R. Burgess.

Download All Files (To download individual files, select them in the β€œFiles” panel above)

Best for data sets < 3 GB. Downloads all files plus metadata into a zip file.

Files are ready   Download Data from Globus
Best for data sets > 3 GB. Globus is the platform Deep Blue Data uses to make large data sets available.   More about Globus

Remediation of Harmful Language

The University of Michigan Library aims to describe its collections in a way that respects the people and communities who create, use, and are represented in them. We encourage you to contact us anonymously if you encounter harmful or problematic language in catalog records or finding aids. More information about our policies and practices is available at Remediation of Harmful Language.