Work Description
Title: Dataset for Context flexibly modulates cue representations in visual cortex Open Access Deposited
Attribute | Value |
---|---|
Methodology |
|
Description |
|
Creator | |
Depositor | |
Contact information | |
Discipline | |
Funding agency |
|
Keyword | |
Date coverage |
|
Resource type | |
Last modified |
|
Published |
|
DOI |
|
License |
(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)
Thumbnailthumbnail-column | Title | Original Upload | Last Modified | File Size | Access | Actions |
---|---|---|---|---|---|---|
![]() |
processed.zip | 2025-05-29 | 2025-05-29 | 6.14 MB | Open Access |
|
![]() |
README.md | 2025-05-29 | 2025-05-29 | 6 KB | Open Access |
|
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.