Region-specific weighting of sensory intensity and reward prediction error by dopamine signals.
7 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 8 matches
- [1] § STAR★Methods › Quantification and statistical analysis ↔ Figure_S4B.py, lines 1 to 42 · score 0.81 · fold cross validation, Cross validated R2, training folds, S4B, stratified, held · block
oscr:b:MRZJ0QDWE7ED3-V· Report a mismatch - [2] § STAR★Methods › Method details › Multi-site fiber photometry ↔ Figure_1B.py, lines 131 to 171 · score 0.76 · high pass filtered, tone onset, isosbestic, smoothed, fluorescence, subtracted · block
oscr:b:RK09Y2EKY602S-I· Report a mismatch - [3] § STAR★Methods › Quantification and statistical analysis ↔ Figure_S5EFG.py, lines 1 to 35 · score 0.65 · Model fit, R2 score, sensory preference, OT, TS · block
oscr:b:9829WTB3PN42J-7· Report a mismatch - [4] § STAR★Methods › Quantification and statistical analysis ↔ Figure_3IJ.py, lines 1 to 33 · score 0.59 · cross correlation, resolved regression, lag, reinforcement, fitting, model · block
oscr:b:JDY5W46GT70DR-S· Report a mismatch - [5] § STAR★Methods › Quantification and statistical analysis › Statistics and reproducibility ↔ Figure_S3.py, lines 100 to 181 · score 0.55 · post hoc, Holm corrected, S3, ANOVA, models · block
oscr:b:NKHRCFN1FM9Z5-M· Report a mismatch - [6] § STAR★Methods › Quantification and statistical analysis › Statistics and reproducibility ↔ Figure_1FGH_2BCDE.py, lines 100 to 181 · score 0.53 · post hoc, Holm corrected, ANOVA, models · block
oscr:b:G8WB6VW9430D6-R· Report a mismatch - [7] § Results › Dopamine displays high noise correlations within striatal and cortico-amygdalar circuits ↔ Figure_5_S6.py, lines 1 to 29 · score 0.52 · noise correlation, S6A, S6B, uncued reward, shuffled, baseline · block
oscr:b:WV2D8BGEXKCEB-J· Report a mismatch - [8] § Results › Dopamine signals across brain regions reflect distinct sensory and reward prediction error components ↔ Figure_S5EFG.py, lines 1 to 35 · score 0.50 · Sensory preference, S5G, S5E, S5F, OT, mPFC · block
oscr:b:9829WTB3PN42J-7· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 466 lines · 17 KB · MIT · 2 matches
- #!/usr/bin/env python3
- # -*- coding: utf-8 -*-
- """
- Created on Wed Nov 26 16:21:46 2025
- @author: vbp
- Model fit for the additional target regions (TS, NAc_c, OT), for Figure
- S5E, S5F, S5G.
- IMPORTANT: unlike the main-region regression scripts, this one does NOT
- fit alpha/delta per session — it uses fixed values (alpha=0.83, delta=0.82)
- for every session and region. These values are the population mean from best_value_fixed2.csv data.
- Fig S5E - R2 score across all 7 regions (OT, NAc_c, NAc_lat, DS, BLA, TS, mPFC)
- Fig S5F - R2 score, full model vs. shuffled-regressor controls, for
- OT, NAc_c, TS only
- Fig S5G - sensory preference index across all 7 regions (+ ANOVA)
- Data can be downloaded here: https://doi.org/10.17605/OSF.IO/DV724
- """
- from itertools import combinations
- import numpy as np
- import pandas as pd
- import seaborn as sns
- import matplotlib
- import matplotlib.pyplot as plt
- from scipy import stats
- import statsmodels.api as sm
- import statsmodels.formula.api as smf
- from statsmodels.stats.anova import anova_lm
- from statsmodels.stats.multicomp import pairwise_tukeyhsd
- from sklearn.linear_model import Ridge
- # %% Figure formatting
- def set_up_figure_format():
- """Set consistent style/rcParams for all figures in this script."""
- sns.set_theme(
- font="Helvetica", font_scale=0.75, style='ticks',
- rc={"axes.spines.right": False, "axes.spines.top": False},
- palette=["#ff595e", "#ff924c", "#52a675", "#4267ac"],
- )
- matplotlib.rcParams['pdf.fonttype'] = 42
- matplotlib.rcParams['ps.fonttype'] = 42
- matplotlib.rcParams['axes.spines.right'] = False
- matplotlib.rcParams['axes.spines.top'] = False
- matplotlib.rcParams['axes.linewidth'] = 0.5
- matplotlib.rcParams['ytick.major.width'] = 0.5
- matplotlib.rcParams['xtick.major.width'] = 0.5
- matplotlib.rcParams['xtick.minor.width'] = 0.5
- matplotlib.rcParams['ytick.minor.width'] = 0.5
- matplotlib.rcParams['xtick.major.size'] = 3
- matplotlib.rcParams['ytick.major.size'] = 3
- matplotlib.rcParams['xtick.minor.size'] = 1.5
- matplotlib.rcParams['ytick.minor.size'] = 1.5
- matplotlib.rcParams['image.cmap'] = 'mako'
- matplotlib.rcParams['lines.linewidth'] = 0.75
- plt.close('all')
- # %% Model encodings
- def encode_motivational(trmtx, alpha, negative_scale=1, punish_value=-1.0):
- """Encode each trial's motivational (reward-value) regressor R."""
- raw = trmtx[['ToneID', 'Reward?']].to_numpy()
- out = []
- for v in raw:
- if v[0] == 3 and v[1] == 5: # Uncued reward
- out.append(1)
- elif v[0] == 2 and v[1] == 5: # Cued reward
- out.append(1 - alpha)
- elif v[0] == 2 and v[1] == 0: # Reward omission
- out.append((-alpha) * negative_scale)
- elif v[0] == 3 and v[1] < 0: # Uncued air puff
- out.append(punish_value * negative_scale)
- elif v[0] == 2 and v[1] < 0: # Omission + air puff
- out.append((-alpha + punish_value) * negative_scale)
- elif v[0] == 3 and v[1] == 0: # Nothing
- out.append(0)
- else:
- raise ValueError(f"Unexpected motivational level (Tone='{v[0]}', Outcome='{v[1]}')")
- out = np.array(out)
- return out / np.std(out)
- def encode_sensory(trmtx, delta):
- """Encode each trial's sensory-intensity regressor S."""
- raw = trmtx[['ToneID', 'Reward?']].to_numpy()
- out = []
- for v in raw:
- if v[0] == 3 and v[1] == 5: # Uncued reward
- out.append(1 - delta)
- elif v[0] == 2 and v[1] == 5: # Cued reward
- out.append(1 - delta)
- elif v[0] == 2 and v[1] == 0: # Reward omission
- out.append(0)
- elif v[0] == 3 and v[1] < 0: # Uncued air puff
- out.append(1)
- elif v[0] == 2 and v[1] < 0: # Omission + air puff
- out.append(1)
- elif v[0] == 3 and v[1] == 0: # Nothing
- out.append(0)
- else:
- raise ValueError(f"Unexpected motivational level (Tone='{v[0]}', Outcome='{v[1]}')")
- out = np.array(out)
- return out / np.std(out)
- # %% Stats: one-way ANOVA with Tukey HSD post-hocs
- def oneway_anova_with_posthocs(df: pd.DataFrame, dv: str = "val", condition: str = "condition",
- *, alpha: float = 0.05, typ: int = 2):
- """
- One-way ANOVA on dv across levels of 'condition', with Tukey HSD post-hoc
- tests (OLS model: dv ~ C(condition); ANOVA table is Type II by default).
- Returns a dict with anova_table, partial_eta_sq, model, tukey_condition
- (long/tidy Tukey results), p_adj_matrix / reject_matrix (square matrices
- for heatmaps), assumption checks (Shapiro/Jarque-Bera, Levene), and
- group_sizes.
- """
- needed = {dv, condition}
- missing = needed - set(df.columns)
- if missing:
- raise ValueError(f"DataFrame is missing required columns: {missing}")
- data = df[[dv, condition]].dropna().copy()
- if data.empty:
- raise ValueError("No data left after dropping NA rows.")
- if not pd.api.types.is_categorical_dtype(data[condition]):
- data[condition] = data[condition].astype("category")
- if data[condition].nunique() < 2:
- raise ValueError("Need at least two levels in 'condition' to run one-way ANOVA.")
- formula = f"{dv} ~ C({condition})"
- model = smf.ols(formula, data=data).fit()
- aov = anova_lm(model, typ=typ)
- cond_row = f"C({condition})"
- if cond_row not in aov.index:
- raise RuntimeError(f"Could not find factor '{cond_row}' in ANOVA table.")
- ss_effect = aov.loc[cond_row, "sum_sq"]
- ss_error = aov.loc["Residual", "sum_sq"]
- partial_eta_sq = float(ss_effect / (ss_effect + ss_error)) if (ss_effect + ss_error) > 0 else np.nan
- try:
- shapiro_W, shapiro_p = stats.shapiro(model.resid)
- except Exception:
- jb_stat, jb_p, _, _ = sm.stats.jarque_bera(model.resid)
- shapiro_W, shapiro_p = np.nan, jb_p
- groups = [data.loc[data[condition] == lvl, dv].values for lvl in data[condition].cat.categories]
- levene_stat, levene_p = stats.levene(*groups, center="median")
- tukey = pairwise_tukeyhsd(endog=data[dv].values, groups=data[condition].values, alpha=alpha)
- tukey_df = pd.DataFrame(tukey._results_table.data[1:], columns=tukey._results_table.data[0])
- for col in ["meandiff", "lower", "upper", "p-adj"]:
- tukey_df[col] = pd.to_numeric(tukey_df[col], errors="coerce")
- tukey_df["reject"] = tukey_df["reject"].astype(bool)
- levels = list(data[condition].cat.categories)
- p_mat = pd.DataFrame(np.nan, index=levels, columns=levels, dtype=float)
- r_mat = pd.DataFrame(False, index=levels, columns=levels, dtype=bool)
- np.fill_diagonal(p_mat.values, 0.0)
- np.fill_diagonal(r_mat.values, False)
- for _, row in tukey_df.iterrows():
- g1 = str(row["group1"])
- g2 = str(row["group2"])
- p = float(row["p-adj"])
- rej = bool(row["reject"])
- if g1 in p_mat.index and g2 in p_mat.columns:
- p_mat.loc[g1, g2] = p
- p_mat.loc[g2, g1] = p
- r_mat.loc[g1, g2] = rej
- r_mat.loc[g2, g1] = rej
- return {
- "anova_table": aov,
- "partial_eta_sq": partial_eta_sq,
- "model": model,
- "tukey_condition": tukey_df,
- "p_adj_matrix": p_mat,
- "reject_matrix": r_mat,
- "assumptions": {
- "shapiro_resid": (shapiro_W, shapiro_p),
- "levene_across_conditions": (levene_stat, levene_p),
- },
- "group_sizes": data.groupby(condition, observed=True)[dv].size(),
- }
- # %% Load data and select sessions
- #
- # Two-stage selection, additive (OR'd into the same mask, not reset in
- # between): stage 1 keeps multi-site sessions across the 4 main regions;
- # stage 2 adds sessions recorded from the 3 additional-target regions.
- set_up_figure_format()
- DATA_PATH = 'Data/av_and_probcond_raster.npy'
- data = np.load(DATA_PATH, allow_pickle=True).item()
- trmtx = data['trmtx']
- raster_all_data = data['raster']
- t_raster = data['t_raster']
- ls_sess = trmtx['sessid'].unique()
- idx_select = np.zeros((len(trmtx)), dtype=bool)
- ls_loc_multisite_filter = ['DS', 'NAc_lat', 'BLA', 'mPFC', 'NAc_c']
- for sess in ls_sess:
- sub_loc = trmtx['loc'][trmtx['sessid'] == sess].unique()
- exp = trmtx['experiment'][trmtx['sessid'] == sess].unique()
- if len(sub_loc) > 2:
- if set(sub_loc).issubset(ls_loc_multisite_filter):
- if set(['Av']).issubset(exp):
- idx_select = idx_select | ((trmtx['sessid'] == sess).to_numpy() & (trmtx['experiment'] == 'Av').to_numpy())
- ls_loc_target_filter = ['TS', 'NAc_c', 'OT']
- for sess in ls_sess:
- sub_loc = trmtx['loc'][trmtx['sessid'] == sess].unique()
- exp = trmtx['experiment'][trmtx['sessid'] == sess].unique()
- if len(sub_loc) > 0:
- if set(sub_loc).issubset(ls_loc_target_filter):
- if set(['Av']).issubset(exp):
- idx_select = idx_select | ((trmtx['sessid'] == sess).to_numpy() & (trmtx['experiment'] == 'Av').to_numpy())
- trmtx_sub = trmtx.iloc[idx_select, :].copy()
- raster_sub = raster_all_data[idx_select, :]
- t_raster += 0.125
- crop_win = [-0.5, 3.5]
- raster_sub = raster_sub[:, (t_raster > crop_win[0]) & (t_raster < crop_win[1])]
- t_raster = t_raster[(t_raster > crop_win[0]) & (t_raster < crop_win[1])]
- ls_loc_all = ['DS', 'TS', 'NAc_lat', 'NAc_c', 'OT', 'BLA', 'mPFC']
- ls_sess = trmtx_sub['sessid'].unique()
- # %% Model parameters
- ls_trial = [
- [3, 5], # Uncued reward
- [2, 5], # Cued reward
- [2, 0], # Reward omission
- [3, -1], # Uncued air puff
- [2, -1], # Reward omission & air puff
- ]
- ls_trial_type = ['uncued rew', 'cued rew', 'omission', 'uncued pun', 'omission pun']
- fit_win = [1.5, 2.5] # window used to fit the model (relative to cue)
- negative_scale = 0.5
- mean_post_reinf = np.mean(raster_sub[:, (t_raster > fit_win[0]) & (t_raster < fit_win[1])], axis=1)
- bl = np.mean(raster_sub[:, (t_raster > fit_win[0] - 0.25) & (t_raster < fit_win[0])], axis=1)
- mean_post_reinf -= bl
- # %% Fit with fixed alpha/delta (see note at top of file) for every region
- # TODO: confirm 0.83 / 0.82 are the intended values (e.g. population mean
- # alpha/delta from the main-region model) and document their provenance.
- FIXED_ALPHA = 0.83
- FIXED_DELTA = 0.82
- results_fixed_all = []
- for sess in ls_sess:
- sensory = encode_sensory(trmtx_sub, FIXED_DELTA)
- motivational = encode_motivational(trmtx_sub, FIXED_ALPHA, negative_scale=negative_scale)
- for loc in ls_loc_all:
- idx_trial_select = (trmtx_sub['sessid'] == sess) & (trmtx_sub['loc'] == loc)
- if idx_trial_select.sum() == 0:
- continue
- idx_trial_select = idx_trial_select.to_numpy()
- y = mean_post_reinf[idx_trial_select]
- X = np.array([motivational[idx_trial_select], sensory[idx_trial_select]]).T
- clf = Ridge(alpha=0)
- clf.fit(X, y)
- results_fixed_all.append({
- 'an': trmtx_sub.loc[idx_trial_select]['anid'].unique()[0],
- 'sess': sess,
- 'loc': loc,
- 'alpha_learning': FIXED_ALPHA,
- 'delta_punish': FIXED_DELTA,
- 'b0': clf.intercept_,
- 'b_motiv': clf.coef_[0],
- 'b_senso': clf.coef_[1],
- 'r2_score': clf.score(X, y),
- })
- results_fixed_all = pd.DataFrame(results_fixed_all)
- best_value_fixed = results_fixed_all.loc[results_fixed_all.groupby(['sess', 'loc'])['r2_score'].idxmax()].reset_index(drop=True)
- ls_loc_ordered = ['OT', 'NAc_c', 'NAc_lat', 'DS', 'BLA', 'TS', 'mPFC']
- best_value_fixed['loc'] = pd.Categorical(best_value_fixed['loc'], categories=ls_loc_ordered, ordered=True)
- results_fixed_all['loc'] = pd.Categorical(results_fixed_all['loc'], categories=ls_loc_ordered, ordered=True)
- best_value_fixed['senso_bias'] = (
- (best_value_fixed['b_senso'].abs() - best_value_fixed['b_motiv'].abs())
- / (best_value_fixed['b_motiv'].abs() + best_value_fixed['b_senso'].abs())
- )
- # %% Fig S5G: sensory preference index across all 7 regions
- fig, ax = plt.subplots(1, 3, figsize=(6, 3))
- var = 'b_senso'
- a = ax[0]
- sns.lineplot(best_value_fixed, x='loc', y=var, estimator=None, units='sess',
- ax=a, color='crimson', alpha=0.3, marker='.', size=3, markeredgewidth=0.25)
- sns.lineplot(best_value_fixed, x='loc', y=var,
- errorbar='se', err_style='bars', ax=a, color='crimson', marker='o', markeredgewidth=0.25)
- a.legend().remove()
- a.set_xlabel('')
- plt.setp(a.get_xticklabels(), rotation=90, ha='right')
- a.set_ylim(0, 4)
- var = 'b_motiv'
- a = ax[1]
- sns.lineplot(best_value_fixed, x='loc', y=var, estimator=None, units='sess',
- ax=a, color='k', alpha=0.3, marker='.', size=3, markeredgewidth=0.25)
- sns.lineplot(best_value_fixed, x='loc', y=var,
- errorbar='se', err_style='bars', ax=a, color='k', marker='o', markeredgewidth=0.25)
- a.legend().remove()
- a.set_xlabel('')
- plt.setp(a.get_xticklabels(), rotation=90, ha='right')
- a.set_ylim(0, 4)
- var = 'senso_bias'
- a = ax[2]
- sns.stripplot(best_value_fixed, x='loc', y=var, ax=a, color='k', alpha=0.3, marker='.', size=5)
- sns.lineplot(best_value_fixed, x='loc', y=var, lw=0,
- errorbar='se', err_style='bars', ax=a, color='k', marker='o', markeredgewidth=0.25)
- a.axhline(0, ls='--', color='k')
- a.set_ylim(-1.05, 1.05)
- a.set_xlabel('')
- plt.setp(a.get_xticklabels(), rotation=90, ha='right')
- a.legend().remove()
- fig.tight_layout()
- res = oneway_anova_with_posthocs(best_value_fixed, 'senso_bias', 'loc')
- print()
- print('Senso_bias:')
- print(res['anova_table'])
- print(res['tukey_condition'])
- # %% Fig S5E, S5F: R2 score, plain (all 7 regions) and vs. shuffled-regressor
- # controls (OT, NAc_c, TS only)
- rng = np.random.default_rng(25)
- n_shuffle = 100
- results_scrambled = []
- for sess in ls_sess:
- for loc in ls_loc_all:
- idx_trial_select = (trmtx_sub['sessid'] == sess) & (trmtx_sub['loc'] == loc)
- if idx_trial_select.sum() == 0:
- continue
- alpha, delta, r2_full = best_value_fixed[['alpha_learning', 'delta_punish', 'r2_score']][
- (best_value_fixed['sess'] == sess) & (best_value_fixed['loc'] == loc)
- ].to_numpy()[0]
- idx_trial_select = idx_trial_select.to_numpy()
- trmtx_sub_loc = trmtx_sub.iloc[idx_trial_select]
- sensory = encode_sensory(trmtx_sub_loc, delta)
- motivational = encode_motivational(trmtx_sub_loc, alpha, negative_scale=negative_scale)
- y = mean_post_reinf[idx_trial_select]
- X = np.array([motivational, sensory]).T
- r2_Msh = []
- for _ in range(n_shuffle):
- idx = np.arange(X.shape[0])
- rng.shuffle(idx)
- X_sh = X.copy()
- X_sh[:, 0] = X_sh[idx, 0]
- clf = Ridge(alpha=0)
- clf.fit(X_sh, y)
- r2_Msh.append(clf.score(X, y))
- r2_Ssh = []
- for _ in range(n_shuffle):
- idx = np.arange(X.shape[0])
- rng.shuffle(idx)
- X_sh = X.copy()
- X_sh[:, 1] = X_sh[idx, 1]
- clf = Ridge(alpha=0)
- clf.fit(X_sh, y)
- r2_Ssh.append(clf.score(X, y))
- results_scrambled.append({
- 'an': trmtx_sub.loc[idx_trial_select]['anid'].unique()[0],
- 'sess': sess,
- 'loc': loc,
- 'alpha_learning': alpha,
- 'delta_punish': delta,
- 'r2_full': r2_full,
- 'r2_M_shuffled': np.mean(r2_Msh),
- 'r2_S_shuffled': np.mean(r2_Ssh),
- })
- results_scrambled = pd.DataFrame(results_scrambled)
- results_scrambled['loc'] = pd.Categorical(results_scrambled['loc'], categories=ls_loc_ordered, ordered=True)
- fig, ax = plt.subplots(1, 2, figsize=(5, 3))
- # Fig S5E: R2 score, all 7 regions
- a = ax[0]
- sns.stripplot(results_scrambled, x='loc', y='r2_full', ax=a, color='k', alpha=0.3, marker='.', size=6)
- sns.lineplot(results_scrambled, x='loc', y='r2_full', lw=0,
- errorbar='se', err_style='bars', ax=a, color='k', marker='o', markeredgewidth=0.25)
- a.legend().remove()
- a.set_xlabel('')
- plt.setp(a.get_xticklabels(), rotation=90, ha='right')
- a.set_ylim(-0.05, 1.05)
- res = oneway_anova_with_posthocs(results_scrambled, 'r2_full', 'loc')
- print('R2 Full:')
- print(res['anova_table'])
- print(res['tukey_condition'])
- # Fig S5F: full model vs. shuffled-regressor controls, OT/NAc_c/TS only
- mtx = results_scrambled[['r2_full', 'r2_M_shuffled', 'r2_S_shuffled']].to_numpy()
- ls_marker_color = ['k', 'crimson', 'grey']
- ls_loc_targets3 = ['OT', 'NAc_c', 'TS']
- for i, loc in enumerate(ls_loc_targets3):
- mtx_sub = mtx[(results_scrambled['loc'] == loc).to_numpy()]
- a = ax[1]
- a.plot(np.array([0, 1, 2]) + 3.5 * i, mtx_sub.T, color='k', lw=0.25, alpha=0.5)
- a.set_xticks([1, 4.5, 8])
- a.set_xticklabels(ls_loc_targets3)
- m = np.mean(mtx_sub, axis=0)
- sem = stats.sem(mtx_sub, axis=0)
- a.plot(np.array([0, 1, 2]) + 3.5 * i, m, color='k', lw=0.75)
- for j in [0, 1, 2]:
- a.errorbar(j + 3.5 * i, m[j], sem[j], marker='o', lw=0.75,
- color=ls_marker_color[j], markeredgecolor='w', markeredgewidth=0.25)
- a.set_ylim(-0.05, 1.05)
- p1 = stats.ttest_rel(mtx_sub[:, 0], mtx_sub[:, 1])[1] * 2
- p2 = stats.ttest_rel(mtx_sub[:, 0], mtx_sub[:, 2])[1] * 2
- print(f'\n{loc}:\np(M){p1:0.1e}\np(S){p2:0.1e}')
- ax[0].set_ylabel('R2 score')
- ax[1].set_ylabel('R2 score')
- fig.tight_layout()
Figure_S5EFG.py at commit df97100, under MIT · at the source
Overview
- CERVO Brain Research Centre, Québec City, QC G1J 2G3, Canada
- Department of Psychiatry and Neuroscience, Université Laval, Québec City, QC G1V 0A6, Canada
Abstract
Growing evidence shows that dopamine signaling is diverse, with dopaminergic neurons responding to rewarding and aversive stimuli. Here, we hypothesized that this heterogeneity arises from a distributed balance between two components of dopamine signaling: sensory intensity of a stimulus, and reward prediction error. To test this, we simultaneously recorded dopamine release across striatal and cortico-amygdalar circuits using multi-site fiber photometry and a fluorescent dopamine sensor during a classical conditioning paradigm. Using a regression model, we found that striatal areas such as the dorsal striatum and nucleus accumbens emphasized reward prediction error, whereas the medial prefrontal cortex and basolateral amygdala favored sensory intensity. Noise correlation analyses further supported these findings by revealing two modules of coordinated dopamine activity: one linking striatal regions and another linking cortical-amygdalar circuits. Together, our results suggest that dopamine balances sensory and reward information, a mechanism that may support attentional processes alongside its role in associative learning.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 8 matches between paragraphs and lines of code.
OSF dv724
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
Zenodo 21498194
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
17 files
- Figure_1B.py, Python, 197 lines
- Figure_1FGH_2BCDE.py, Python, 454 lines
- Figure_2A_S2D.py, Python, 266 lines
- Figure_3B-H_S4ACDEFH.py, Python, 735 lines
- Figure_3IJ.py, Python, 308 lines
- Figure_4.py, Python, 423 lines
- Figure_5_S6.py, Python, 400 lines
- Figure_S2B.py, Python, 90 lines
- Figure_S2C_S5CD.py, Python, 269 lines
- Figure_S2EF.py, Python, 264 lines
- Figure_S2G.py, Python, 155 lines
- Figure_S3.py, Python, 473 lines
- Figure_S4B.py, Python, 517 lines
- Figure_S4I.py, Python, 365 lines
- Figure_S5EFG.py, Python, 466 lines
- LICENSE, License, 21 lines
- README.md, Text, 84 lines
laboratory-of-vincent-breton-provencher/bouchardetal_2026
df971002da47859d93ed7d7b1262b47f628252b7, 22 July 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
17 files
- Figure_1B.py, Python, 197 lines, 1 match
- Figure_1FGH_2BCDE.py, Python, 454 lines, 1 match
- Figure_2A_S2D.py, Python, 266 lines
- Figure_3B-H_S4ACDEFH.py, Python, 735 lines
- Figure_3IJ.py, Python, 308 lines, 1 match
- Figure_4.py, Python, 423 lines
- Figure_5_S6.py, Python, 400 lines, 1 match
- Figure_S2B.py, Python, 90 lines
- Figure_S2C_S5CD.py, Python, 269 lines
- Figure_S2EF.py, Python, 264 lines
- Figure_S2G.py, Python, 155 lines
- Figure_S3.py, Python, 473 lines, 1 match
- Figure_S4B.py, Python, 517 lines, 1 match
- Figure_S4I.py, Python, 365 lines
- Figure_S5EFG.py, Python, 466 lines, 2 matches
- LICENSE, License, 21 lines
- README.md, Text, 86 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 30 scripts, each with its path and the digest of its content;
- 8 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data and code availability
• Trial-aligned fiber photometry data have been deposited at The Open Science Framework (OSF) and are publicly available as of the date of publication at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Authors: added Vincent Breton-Provencher (0000-0002-1701-325X); removed Vincent Breton-Provencher
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 9 keywords, 5 funders, 71 references, 2 RRIDs.
Cite
This paper
Bouchard, S.-J., Boutin, J., Lévesque, M., & Breton-Provencher, V. (2026). Region-specific weighting of sensory intensity and reward prediction error by dopamine signals. iScience, 29(9), 117130. https://
BibTeX
@article{bouchard2026reg
author = {Bouchard, Sarah-Julie and Boutin, Joël and Lévesque, Martin and Breton-Provencher, Vincent},
title = {{Region-specific weighting of sensory intensity and reward prediction error by dopamine signals}},
journal = {iScience},
year = {2026},
month = aug,
volume = {29},
number = {9},
pages = {117130},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/
url = {https://
pmid = {42643232},
pmcid = {PMC13503106}
}
RIS
TY - JOUR
AU - Bouchard, Sarah-Julie
AU - Boutin, Joël
AU - Lévesque, Martin
AU - Breton-Provencher, Vincent
TI - Region-specific weighting of sensory intensity and reward prediction error by dopamine signals
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/
VL - 29
IS - 9
SP - 117130
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Region-specific weighting of sensory intensity and reward prediction error by dopamine signals",
"container-title": "iScience",
"author": [
{
"family": "Bouchard",
"given": "Sarah-Julie"
},
{
"family": "Boutin",
"given": "Joël"
},
{
"family": "Lévesque",
"given": "Martin"
},
{
"family": "Breton-Provencher",
"given": "Vincent"
}
],
"container-title-short":
"volume": "29",
"issue": "9",
"page": "117130",
"DOI": "10.1016/
"PMID": "42643232",
"PMCID": "PMC13503106",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
14
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41467-026-73994-1 [code]
- Prediction error correlates in the striosome-dopamine circuit emerge from information gain.Journal: Nature communicationsIn common: statsmodels, seaborn, pandas, 3 other tools, cognitive, 15 references
- [2] doi:10.1016/j.cub.2024.09.045 [code]
- Pre-existing visual responses in a projection-defined dopamine population explain individual learning trajectories.Journal: Current biology : CBIn common: statsmodels, seaborn, scikit-learn, 4 other tools, cognitive, 13 references
- [3] doi:10.1016/j.celrep.2024.114080
- Distributional coding of associative learning in discrete populations of midbrain dopamine neurons.Journal: Cell reportsIn common: cognitive, 17 references
- [4] doi:10.7554/elife.91136 [code]
- Functional diversity of dopamine axons in prefrontal cortex during classical conditioning.Journal: eLifeIn common: 15 references
- [5] doi:10.1038/s41593-023-01401-9 [code]
- Unique functional responses differentially map onto genetic subtypes of dopamine neurons.Journal: Nature neuroscienceIn common: 14 references
- [6] doi:10.7554/elife.101035 [code]
- Molecular and spatial transcriptomic classification of midbrain dopamine neurons and their alterations in a LRRK2&
lt;sup& gt;G2019S& lt;/ sup& gt; model of Parkinson's disease. Journal: eLifeIn common: pandas, Matplotlib, NumPy, 12 references - [7] doi:10.1038/s41467-025-58382-5
- Dopamine prediction error signaling in a unique nigrostriatal circuit is critical for associative fear learning.Journal: Nature communicationsIn common: 13 references
- [8] doi:10.1016/j.celrep.2022.110756 [code]
- Choice-selective sequences dominate in cortical relative to thalamic inputs to NAc to support reinforcement learning.Journal: Cell reportsIn common: statsmodels, seaborn, scikit-learn, 4 other tools, 9 references
- [9] doi:10.1038/s41538-025-00558-w [code]
- Flexible value coding in the mesolimbic dopamine system depending on internal water and sodium balance.Journal: NPJ science of foodIn common: scikit-learn, pandas, SciPy, 2 other tools, cognitive, 9 references
- [10] doi:10.1038/s41593-026-02227-x [code]
- Acetylcholine demixes heterogeneous dopamine signals for learning and moving.Journal: Nature neuroscienceIn common: cognitive, 11 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 3 repositories of the authors' code, each at its verified commit and with its license, 30 scripts, and 8 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:f38cf6768d090165…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1016/j.isci.2026.117130)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.117130.svg
:target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.117130
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.117130"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.117130.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
