DOI: 10.5061/dryad.1zcrjdg59
title: Data from: Complementary roles of dorsal and ventral hippocampus in the flexible adaptation of goal-directed behavior

description: The ability to adapt previously learned behaviors is crucial for survival
 in dynamically changing environments. The hippocampus has been implicated
 in associative learning, but how hippocampus activity along its
 septotemporal axis contributes to flexible adaptation is unknown. Using in
 vivo Ca2+ recordings and functional inhibition of dorsal CA1 (dCA1) and
 ventral CA1 (vCA1) neurons in mice during complementary cognitive
 flexibility tasks, we find that dCA1 is engaged and functionally required
 during consolidation of a learned contingency both before and after a rule
 change, whereas vCA1 is uniquely recruited during, and necessary for,
 early adaptation to a new contingency. This vCA1-dependent adaptation
 relies on a perseverative error signal, which is encoded in vCA1 and
 required for behavior updating. These results highlight a novel division
 of labor within the hippocampus, in which vCA1 enables flexible adaptation
 when mismatches in expected and actual outcomes are detected, while dCA1
 stabilizes newly learned information. 
description: --- ## Overview This dataset contains behavioral and neural recordings
 supporting the manuscript:\ **“Complementary roles of dorsal and ventral
 hippocampus in the flexible adaptation of goal-directed behavior.”** Data
 include z-scored ΔF/F (delta F over F) calcium signals and behavioral
 performance measures from mice performing **Y-maze**, **Barnes maze**, and
 **digging tasks**.\ Each Excel file corresponds to one figure in the
 paper, and each worksheet (tab) corresponds to one figure panel.\ All
 figures are fully reproducible using **MATLAB**, **GraphPad Prism**, or
 **Microsoft Excel**. --- ## File Structure ### MATLAB Analysis Scripts |
 File | Description | | -------------------------------------------- |
 -------------------------------------------------------------------------------------------------------------------------------- | | `FiberPhotometry_analysis_averages.m` | Calculates group-level ΔF/F and AUC averages. | | `FiberPhotometry_analysis_individualmouse.m` | Extracts trial-by-trial AUC data for each mouse. | | `mixedeffect_regionwise_analysis.m` | Performs mixed-effects modeling comparing dCA1 and vCA1 activity. | | `Statespacemodel_Ymaze.m` | Fits a state-space model to behavioral accuracy. | | `logisticregression_analysis_Ymaze.m` | fits a logistic regression model to animal performance, assessing how neural and behavioral variables relate to choice accuracy. | --- ## Main Figure Data Files ### **Figure1.xlsx** Contains z-scored ΔF/F fluorescence from **dCA1** and **vCA1** during the **Y-maze task**, focused on the transition zone and strategy-specific activity on **Reversal Day 1**.\ Each sheet corresponds to a figure panel. * Each column = mouse * Each row = day or strategy condition * Headings = recorded region (dCA1, vCA1) **Panel descriptions:** * *panel d:* ΔF/F across all days. * *panels e–h:* Pairwise comparisons for acquisition day 3 (A3), reversal day 1 (R1), reversal day 3 (R3), and reversal day 6 (R6), respectively. * *panels i–l:* ΔF/F during strategy use on reversal learning day 1 for vCA1 and dCA1, respectively. **Variables:** | Variable | Description | | ---------------------------- | ----------------------------------------------------------------------------------- | | **dCA1** | Z-scored ΔF/F fluorescence from dorsal CA1 during the specified epoch or strategy. | | **vCA1** | Z-scored ΔF/F fluorescence from ventral CA1 during the specified epoch or strategy. | | **Strategy (if applicable)** | Behavioral strategy used (Win Stay, Lose Shift, etc.). | | **Trial / Day** | Trial number or day of session. | | **Mouse** | Identifier for each subject. | *Notes:* All signals are normalized (z-scored) per session and mouse. --- ### **Figure2.xlsx** Behavioral performance in the **Y-maze task**, showing the probability of strategy use when **vCA1** or **dCA1** was inhibited during **acquisition** or **reversal** learning.\ Each worksheet (tab) corresponds to one panel in figure 2. **Panel descriptions:** * *panel g:* P(stay | lose) for vCA1 acquisition inhibition. * *panel h:* P(stay | lose) for vCA1 reversal inhibition. * *panel i:* P(shift | win) for vCA1 acquisition inhibition. * *panel j:* P(shift | win) for vCA1 reversal inhibition. * *panel k:* P(stay | lose) for dCA1 acquisition inhibition. * *panel l:* P(stay | lose) for dCA1 reversal inhibition. * *panel m:* P(shift | win) for dCA1 acquisition inhibition. * *panel n:* P(shift | win) for dCA1 reversal inhibition. **Variables:** | Variable | Description | | --------------- | ------------------------------------------------------------------------------------------------- | | **Control** | Conditional probabilities for control mice. | | **DREADD** | Conditional probabilities for hM4Di-expressing (inhibited) mice. | | **Day** | Training day number. | | **Phase** | Task phase (Acquisition or Reversal). | | **P(strategy)** | Conditional probabilities for behavioral strategies (Win Stay, Win Shift, Lose Stay, Lose Shift). | --- ### **Figure3.xlsx** Data from the **Barnes maze** showing behavioral performance of the recorded mice and corresponding neural activity. * Sheet 1: Total errors and perseverative errors. * Sheet 2: Z-scored ΔF/F from vCA1 and dCA1 during the searching epoch. **Variables:** | Variable | Description | | ------------------------ | ---------------------------------------------------------------------------- | | **Mouse** | Subject ID. | | **Total Errors** | Number of incorrect holes visited. | | **Perseverative Errors** | Repeated visits to the previous correct hole (previous escape box location). | | **dCA1 / vCA1** | Z-scored ΔF/F fluorescence during the searching epoch. | | **Session / Day** | Training day number. | --- ### **Figure4.xlsx** Behavioral performance in the **Barnes maze** when **vCA1** or **dCA1** was inhibited during **acquisition** or **reversal** learning.\ Each sheet = one panel. * Columns = mice (Control or DREADD) * Rows = days **Panel descriptions:** * *panels c–d:* Total errors and perseverative errors for vCA1 acquisition inhibition. * *panels e–f:* Total and perseverative errors for vCA1 reversal inhibition. * *panels g–h:* Total and perseverative errors for dCA1 acquisition inhibition. * *panels i–j:* Total and perseverative errors for dCA1 reversal inhibition. * *panels l–m:* Strategy use percentages (global, serial, local, directed) for vCA1 acquisition inhibition. * *panels n–o:* Strategy use for vCA1 reversal inhibition. * *panels p–q:* Strategy use for dCA1 acquisition inhibition. * *panels r–s:* Strategy use for dCA1 reversal inhibition. **Variables:** | Variable | Description | | ------------------------------------ | ---------------------------------------------------- | | **Control** | Data from control mice. | | **DREADD** | Data from inhibited (hM4Di) mice. | | **Day** | Training day. | | **Errors / Perseverative Responses** | Behavioral error counts. | | **Strategy Use (%)** | Percentage of trials using each navigation strategy. | | **Phase** | Acquisition or Reversal. | --- ### **Figure5.xlsx** Z-scored ΔF/F fluorescence of **vCA1** and **dCA1** during the **digging task**.\ Each sheet corresponds to one figure panel. * Columns = mice * Rows = days: Acquisition, Reversal, and Extra Dimensional Set Shifting. **Panel descriptions:** * *panel c:* Average z-scored ΔF/F across days (Acquisition, Reversal, and EDS). * *panels d–f:* Pairwise comparisons for Acquisition, Reversal, and EDS, respectively. * *panel i:* Z-scored ΔF/F during post-dig epoch after correct and incorrect trials for vCA1 and dCA1, respectively. **Variables:** | Variable | Description | | --------------- | ----------------------------------- | | **dCA1 / vCA1** | Z-scored ΔF/F activity per session. | | **Mouse** | Animal identifier. | | **Day / Phase** | Session or testing day. | --- ### **Figure6.xlsx** Behavioral performance (trials-to-criterion; 8 correct trials out of 10 consecutive trials) during the **digging task** for **control** and **inhibited** mice. * Columns = mice * Rows = days or learning phases * Sheets = Inhibition during different learning phases (Acquisition or Reversal). **Panel descriptions:** * *panels c–d:* Trials-to-criterion for vCA1 acquisition inhibition and vCA1 reversal inhibition, respectively. * *panels e–f:* Trials-to-criterion for dCA1 acquisition inhibition and dCA1 reversal inhibition, respectively. **Variables:** | Variable | Description | | ----------- | --------------------------------------- | | **Control** | Trials-to-criterion for control mice. | | **DREADD** | Trials-to-criterion for inhibited mice. | | **Day** | Training day. | | **Phase** | Acquisition, Reversal, or Set-Shifting. | --- ## Supplementary Figure Data Files ### Supplementary_Figure2.xlsx Z-scored ΔF/F from **vCA1** and **dCA1** in **incorrect trials** of the Y-maze transition zone. **Variables:** dCA1, vCA1, Mouse, Day, ΔF/F (z-score) --- ### **Supplementary_Figure3.xlsx** Neural activity during **strategy use** in the Y-maze.\ Each sheet includes vCA1 and dCA1 activity across behavioral strategies.\ **Variables:** dCA1, vCA1, Strategy, Mouse, ΔF/F (z-score) --- ### **Supplementary_Figure4.xlsx** Contains outcome-related neuronal activity analyses from ventral CA1 (vCA1) and dorsal CA1 (dCA1) in the Y-maze task on Reversal Day 1. The first set of tabs compares post-dig ΔF/F activity following correct versus incorrect trials for both vCA1 and dCA1. The subsequent tabs include correlation analyses linking post-decision (post-dig) activity after incorrect trials with the neural activity during the next correct trial in the transition zone. **Variables:**: | Variable | Description | | ------------------------------ | ----------------------------------------------------- | | **dCA1 / vCA1** | Z-scored ΔF/F fluorescence. | | **Trial Type** | Indicates correct or incorrect trials. | | **Post-dig Activity (ΔF/F)** | Mean post-decision fluorescence activity. | | **Next Trial Activity (ΔF/F)** | Activity in the next correct trial’s transition zone. | --- ### **Supplementary_Figure6.xlsx** Behavioral **learning rates** in Y-maze comparing control and inhibited mice during Acquisition and Reversal.\ **Variables:** Control, DREADD, Day, Phase, Performance: Learning Rate --- ### **Supplementary_Figure7.xlsx** **Adaptive strategy use** in Y-maze (related to Figure 2).\ **Variables:** Control, DREADD, Day, Strategy Use (%), Mouse --- ### **Supplementary_Figure8.xlsx** **Latency** and **path length** to locate the escape hole in the **Barnes maze** (related to Figure 4).\ **Variables:** Control, DREADD, Day, Latency (s), Path Length (cm), Phase --- ### **Supplementary_Figure9.xlsx** Z-scored ΔF/F from vCA1 and dCA1 during **investigation periods of wrong-choice trials** in the digging task (related to Figure 5).\ **Variables:** Region (dCA1, vCA1), Mouse, Days: ACQ, RL and EDS ### **Supplementary_Figure11.xlsx** **Perseverative error signals** in vCA1 and dCA1 on **Acquisition** and **Extra-Dimensional Set-Shifting** days (related to Figure 5).\ **Variables:** Region (dCA1, vCA1), post-dig ΔF/F activity following correct trials compare to post-dig ΔF/F activity following the incorrect trials during Learning phase and EDS phase. --- ### **Supplementary_Figure12.xlsx** Results of **ROC analysis** from logistic regression predicting choice behavior from post-dig neural activity (related to Figure 5).\ **Variables:** Region (vCA1/dCA1). AUC (calcium activity of each region in the current trial) of reversal learning day. Outcome of the next trial: 1 means the outcome was correct and 0 means the outcome was incorrect. --- ### Notes on Excel Formatting * **Bold headers** (e.g., Control, DREADD, dCA1, vCA1) identify variable names and experimental groups. * **Thin red divider lines** separate data from different regions (dCA1/vCA1) or manipulations (control/inhibition) within the same sheet for visual clarity only. * No color, shading, or font formatting encodes data values or metadata; these elements are purely cosmetic and do not affect data interpretation or re-analysis. All numeric data can be read directly by standard software (MATLAB, Prism or Excel) without loss of information. ## Reproducibility All datasets and results can be easily reproduced and visualized in **MATLAB**, **GraphPad Prism**, or **Microsoft Excel**. ## Contact **Maryam Hasantash** — [mh4026@cumc.columbia.edu](mailto:mh4026@cumc.columbia.edu) **Christoph Anacker** — [ca2694@cumc.columbia.edu](mailto:ca2694@cumc.columbia.edu)