OSCR

Place and behavioral modulation of hippocampal neurons during immobility.

Code ↔ Paper

23 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 23 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § Methods › Data analysis › LFP analysis ↔ helper_functions/common_vars.m, the whole file · a weak match · score 0.86 · 70–90 Hz, 0.5–4 Hz, gamma range, delta range, theta range, 6–10 Hz
  2. [2] § Results › Hippocampal place coding during awake immobility ↔ figures/fig2/fig2.m, lines 87–155 · score 0.78 · triggered spectrogram, ripple rate, brain state, theta delta, whisker pad motion, active immobility
  3. [3] § Methods › Data analysis › Analysis of place cell firing during awake immobility ↔ figures/fig2/fig2.m, lines 253–286 · score 0.75 · Population tuning curves, signed distance, quiet immobility, place field, belt, peak
  4. [4] § Results › Hippocampal place coding during awake immobility ↔ figures/fig2/fig2.m, lines 25–85 · score 0.66 · Sharp wave ripples, state transitions, whisker pad motion, behavioral states, active immobility, gamma
  5. [5] § Results › Theta oscillations during active immobility ↔ figures/fig4/fig4.m, lines 17–75 · score 0.65 · Histogram distributions, delta ratio, active immobility, 5–10 Hz, scatter, epochs
  6. [6] § Results › CA1 place cell recordings and behavioral analysis during running and immobility ↔ figures/fig1/fig1.m, lines 113–153 · score 0.64 · power spectra, pupil area, Bonferroni corrected, whisker pad motion, spectrogram, LFP
  7. [7] § Methods › Data analysis › Analysis of place cell firing during awake immobility ↔ figures/fig5/fig5.m, lines 151–209 · score 0.63 · Population tuning curves, signed distance, belt, quiet, modulated, active
  8. [8] § Methods › Data analysis › LFP analysis ↔ figures/fig2/fig2.m, lines 8–23 · score 0.63 · gamma range, delta range, theta range, band
  9. [9] § Methods › Data analysis › Theta oscillations segmentation and analysis ↔ figures/fig_S4/fig_S4.m, lines 131–193 · score 0.59 · oscillatory bands, power changes, Whisker pad, quantiles, duration, theta
  10. [10] § Results › Theta oscillations during active immobility ↔ figures/fig4/fig4.m, lines 199–253 · score 0.58 · theta oscillations, delta ratio, whisker pad motion, quantiles, duration, power
  11. [11] § Methods › Data analysis › Bayesian decoding analysis ↔ figures/fig_S3/fig_S3.m, lines 20–30 · score 0.58 · confusion matrix, Bayesian decoding, reactivations, position, location
  12. [12] § Results › Heterogeneous behavioral modulation of place cells during immobility ↔ figures/fig5/fig5.m, lines 90–138 · score 0.57 · behaviorally modulated cells, immobility location, log10, transformed, fit, Figure 5
  13. [13] § Methods › Data analysis › Statistical analysis ↔ figures/fig2/fig2.m, lines 315–359 · score 0.57 · Wilcoxon signed rank, Bonferroni correction, alpha, tailed, error
  14. [14] § Methods › Data analysis › Statistical analysis ↔ figures/fig_S2/fig_S2.m, lines 18–56 · score 0.57 · Wilcoxon signed rank, Bonferroni correction, alpha, tailed, error
  15. [15] § Results › Hippocampal place coding during awake immobility ↔ figures/fig_S2/fig_S2.m, lines 18–56 · score 0.56 · Wilcoxon signed rank, Bonferroni corrected, behavioral state, tailed, trained, errors
  16. [16] § Results › Hippocampal place coding during awake immobility ↔ figures/fig2/fig2.m, lines 315–359 · score 0.56 · Wilcoxon signed rank, Bonferroni corrected, behavioral state, tailed, trained, errors
  17. [17] § Methods › Juxtacellular recordings and stimulation ↔ figures/fig2/fig2.m, lines 87–155 · score 0.56 · 1.5–2 %, whisker pad motion, active immobility, transition, onset
  18. [18] § Results › Heterogeneous behavioral modulation of place cells during immobility ↔ figures/fig_S2/fig_S2.m, lines 58–85 · score 0.55 · neuron dropping procedure, Bayesian decoding, quiet immobility, error, active
  19. [19] § Results › Heterogeneous behavioral modulation of place cells during immobility ↔ figures/fig_S6/fig_S6.m, lines 125–157 · score 0.54 · deep superficial, electrophysiological properties, spike, field, immobility, cells
  20. [20] § Methods › Data analysis › Theta oscillations segmentation and analysis ↔ figures/fig4/fig4.m, lines 345–370 · score 0.53 · theta epochs, Whisker pad motion, quantiles, linear, duration, peak
  21. [21] § Methods › Data analysis › Bayesian decoding analysis ↔ figures/fig_S2/fig_S2.m, lines 58–85 · score 0.52 · neuron dropping procedure, quiet immobility, decoding, error, Bayesian, active
  22. [22] § Methods › Data analysis › Sharp-wave ripple detection and analysis ↔ figures/fig2/fig2.m, lines 25–85 · score 0.52 · Sharp wave ripples, active immobility, SPW, traces
  23. [23] § Methods › Data analysis › Theta oscillations segmentation and analysis ↔ figures/fig4/fig4.m, lines 199–253 · score 0.51 · theta oscillations, delta ratio, epochs, duration, power

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 359 lines · 14 KB · no license · 8 matches

  1. %% Fig 2 - analysis script to reproduce key findings
  2. % Place and behavioral modulation of hippocampal neurons during immobility
  3. % Nicola Sartorato, Ioannis S. Zouridis, Ulzii-Utas Narantsatsralt, Eduardo Blanco-Hernández, and Andrea Burgalossi
  4. % note: the script is meant to be run per sections in the order here provided.
  5. % MATLAB version:2022a
  6. %% loading data for figure 2
  7. clear;
  8. % load parameter variables
  9. common_vars;
  10. % load data
  11. f2 = load("fig2.mat");
  12. load("bayesian_decoding.mat");
  13. load("cells.mat");
  14. % definition of delta, theta and gamma bands
  15. f_delta = delta_range(1) <= f2.f_spectr & f2.f_spectr <= delta_range(2);
  16. f_theta = theta_range(1) <= f2.f_spectr & f2.f_spectr <= theta_range(2);
  17. f_gamma = gamma_range(1) <= f2.f_spectr & f2.f_spectr <= gamma_range(2);
  18. %% Preprocessing: Behavioral state transitions to active immobility
  19. norm_window = [-2 0]; % in s, normalization window
  20. S_to_active_log = 10*log10(f2.S_to_active); % get spectrograms in log
  21. S_avg_to_active = mean(S_to_active_log,3); % get avg session spectrograms
  22. n_sessions = size(S_to_active_log,3); % get n of sessions
  23. t_norm = norm_window(1) <= f2.x_spectr & f2.x_spectr <= norm_window(2); % definition of norm. window for spectrogram
  24. t_norm_whisk = norm_window(1) <= f2.x_whisk & f2.x_whisk <= norm_window(2); % definition of norm. window for whisk trace
  25. % Theta delta normalization
  26. m = mean(f2.thede_to_active(t_norm,:),1); % session avg
  27. s = std(f2.thede_to_active(t_norm,:),[],1); % session std
  28. thede_to_active_norm = (f2.thede_to_active - m) ./ s; % normalization
  29. m_thede_norm = mean(thede_to_active_norm,2); % avg trace
  30. s_thede_norm = std(thede_to_active_norm,[],2) ./ sqrt(n_sessions); % sem trace
  31. % Theta normalization
  32. avg_theta = mean(S_to_active_log(:,f_theta,:),2);
  33. theta_tcourse = reshape(avg_theta,size(avg_theta,1),n_sessions); % extract theta time course
  34. m = mean(theta_tcourse(t_norm,:),1); % session avg
  35. s = std(theta_tcourse(t_norm,:),0,1); % session std
  36. theta_tc_norm = (theta_tcourse - m) ./ s; % normalization
  37. m_theta = mean(theta_tc_norm,2); % avg trace
  38. s_theta = std(theta_tc_norm,[],2) ./ sqrt(n_sessions); % sem trace
  39. % Gamma normalization
  40. avg_gamma = mean(S_to_active_log(:,f_gamma,:),2);
  41. gamma_tcourse = reshape(avg_gamma,size(S_to_active_log,1),n_sessions); % extract gamma time course
  42. m = mean(gamma_tcourse(t_norm,:),1); % session avg
  43. s = std(gamma_tcourse(t_norm,:),0,1); % session std
  44. gamma_tc_norm = (gamma_tcourse - m) ./ s; % normalization
  45. m_gamma = mean(gamma_tc_norm,2); % avg trace
  46. s_gamma = std(gamma_tc_norm,[],2) ./ sqrt(n_sessions); % sem trace
  47. % Delta normalization
  48. avg_delta = mean(S_to_active_log(:,f_delta,:),2);
  49. delta_tcourse = reshape(avg_delta,size(avg_delta,1),n_sessions); % extract delta time course
  50. m = mean(delta_tcourse(t_norm,:),1); % session avg
  51. s = std(delta_tcourse(t_norm,:),0,1); % session std
  52. delta_tc_norm = (delta_tcourse - m) ./ s; % normalization
  53. m_delta = mean(delta_tc_norm,2); % avg trace
  54. s_delta = std(delta_tc_norm,[],2) ./ sqrt(n_sessions); % sem trace
  55. % Sharp-wave ripple normalization
  56. pre_whisk_rr = -1.5 < f2.rr_x & f2.rr_x < 0;
  57. mean_rr_pre = mean(f2.rr_sessions(:,pre_whisk_rr),2); % avg SPW-R pre whisk
  58. std_rr_pre = std(f2.rr_sessions(:,pre_whisk_rr),0,2); % std SPW-R pre whisk
  59. post_whisk_rr = 0 < f2.rr_x & f2.rr_x < 1.5; % avg SPW-R post whisk
  60. mean_rr_post = mean(f2.rr_sessions(:,post_whisk_rr),2); % avg SPW-R post whisk
  61. rr_norm = (f2.rr_sessions - mean_rr_pre) ./ std_rr_pre; % normalization trace to baseline
  62. rr_incr = (mean_rr_post - mean_rr_pre) ./ std_rr_pre; % normalization for increase
  63. % Whisker-pad motion normalization
  64. m = mean(f2.whisk_to_active(:,t_norm_whisk),2); % session avg
  65. s = std(f2.whisk_to_active(:,t_norm_whisk),[],2); % session std
  66. whisk_to_active_norm = (f2.whisk_to_active - m) ./ s; % normalization
  67. m_whisk = mean(whisk_to_active_norm,1); % avg trace
  68. s_whisk = std(whisk_to_active_norm,[],1) ./ sqrt(n_sessions); % sem trace
  69. %% Fig. 2b. Brain state upon upon transitions to active immobility
  70. figure;
  71. tiledlayout(6,1)
  72. % Triggered spectrogram on whisker-pad motion
  73. a2 = nexttile(1,[2 1]);
  74. imagesc(f2.x_spectr,f2.f_spectr,S_avg_to_active')
  75. set(gca, 'YDir','normal')
  76. xline(0,'Color','white')
  77. clim([-14.5 1])
  78. ylim([1 30])
  79. colormap("turbo")
  80. ylabel("Frequency (Hz)");
  81. % Theta-delta
  82. a3 = nexttile(3);
  83. yline(0,'Color','black')
  84. hold on;
  85. plot(f2.x_spectr,m_thede_norm)
  86. plot(f2.x_spectr,m_thede_norm + s_thede_norm,'Color','black','LineStyle','--')
  87. plot(f2.x_spectr,m_thede_norm - s_thede_norm,'Color','black','LineStyle','--')
  88. ylabel("Theta/delta (zscore)");
  89. % Delta theta gamma
  90. a4 = nexttile(4);
  91. yline(0,'Color','black')
  92. hold on;
  93. plot(f2.x_spectr,m_theta,'LineWidth',2)
  94. plot(f2.x_spectr,m_gamma,'LineWidth',2)
  95. plot(f2.x_spectr,m_theta + s_theta,'Color','black','LineStyle','--')
  96. plot(f2.x_spectr,m_theta - s_theta,'Color','black','LineStyle','--')
  97. plot(f2.x_spectr,m_gamma + s_gamma,'Color','black','LineStyle','--')
  98. plot(f2.x_spectr,m_gamma - s_gamma,'Color','black','LineStyle','--')
  99. ylabel("Theta, gamma (zscore)")
  100. ylim([-2.8 2.8])
  101. yyaxis right;
  102. hold on;
  103. plot(f2.x_spectr,m_delta,'LineWidth',2)
  104. plot(f2.x_spectr,m_delta + s_delta,'Color','black','LineStyle','--')
  105. plot(f2.x_spectr,m_delta - s_delta,'Color','black','LineStyle','--')
  106. ylabel("Delta (zscore)")
  107. ylim([-8 8])
  108. % SPW-R rate
  109. a5 = nexttile(5);
  110. plot(f2.rr_x,mean(rr_norm),'LineWidth',2)
  111. hold on
  112. yline(0,'Color','black')
  113. plot(f2.rr_x,mean(rr_norm) + std(rr_norm) / sqrt(n_sessions),"Color",'black','LineStyle','--')
  114. plot(f2.rr_x,mean(rr_norm) - std(rr_norm) / sqrt(n_sessions),"Color",'black','LineStyle','--')
  115. xlabel("time from whisking onset (s)")
  116. ylabel("ripple rate (norm)")
  117. % Whisker-pad motion
  118. a6 = nexttile(6);
  119. yline(0,'Color','black')
  120. hold on;
  121. plot(f2.x_whisk,m_whisk)
  122. plot(f2.x_whisk,m_whisk + s_whisk,'Color','black','LineStyle','--')
  123. plot(f2.x_whisk,m_whisk - s_whisk,'Color','black','LineStyle','--')
  124. ylabel("Whisker-pad motion (zscore)");
  125. xlabel("Time from whisker-pad motion event (s)")
  126. linkaxes([a2 a3 a4 a5 a6],'x')
  127. xlim([-1.5 2])
  128. %% Fig. 2c. Quantification of brain state upon transitions to active immobility
  129. pre_whisk = f2.x_spectr < 0;
  130. post_whisk = f2.x_spectr >= 0;
  131. the_de_incr = [];
  132. delta_incr = [];
  133. theta_incr = [];
  134. gamma_incr = [];
  135. % calculating increases in each band for each session
  136. for iS=1: n_sessions
  137. % theta delta
  138. m_pre = mean(f2.thede_to_active(pre_whisk,iS),1);
  139. s_pre = std(f2.thede_to_active(pre_whisk,iS),0,1);
  140. m_post = mean(f2.thede_to_active(post_whisk,iS),1);
  141. the_de_incr = [the_de_incr; (m_post - m_pre)/s_pre];
  142. % delta
  143. ts = mean(S_to_active_log(:,f_delta,iS),2);
  144. m_pre = mean(ts(pre_whisk),1);
  145. s_pre = std(ts(pre_whisk),0,1);
  146. m_post = mean(ts(post_whisk),1);
  147. delta_incr = [delta_incr; (m_post - m_pre)/s_pre];
  148. % theta
  149. ts = mean(S_to_active_log(:,f_theta,iS),2);
  150. m_pre = mean(ts(pre_whisk),1);
  151. s_pre = std(ts(pre_whisk),0,1);
  152. m_post = mean(ts(post_whisk),1);
  153. theta_incr = [theta_incr; (m_post - m_pre)/s_pre];
  154. % gamma
  155. ts = mean(S_to_active_log(:,f_gamma,iS),2);
  156. m_pre = mean(ts(pre_whisk),1);
  157. s_pre = std(ts(pre_whisk),0,1);
  158. m_post = mean(ts(post_whisk),1);
  159. gamma_incr = [gamma_incr; (m_post - m_pre)/s_pre];
  160. end
  161. % boxplot zscore
  162. figure;
  163. y = [the_de_incr; delta_incr; theta_incr; gamma_incr; rr_incr];
  164. x = [repmat("theta-delta",n_sessions,1); repmat("delta",n_sessions,1); repmat("theta",n_sessions,1); repmat("gamma",n_sessions,1); repmat("SPW-R",size(rr_incr,1),1)];
  165. violinplot(y,x,'GroupOrder',{'theta-delta','delta','theta','gamma','SPW-R'})
  166. yline(0,'Color','black')
  167. ylabel("increase (std)");
  168. % Two-tailed Wilcoxon signed rank tests
  169. % delta
  170. p_theta_delta = signrank(the_de_incr,0)
  171. % delta
  172. p_delta = signrank(delta_incr,0)
  173. % theta
  174. p_theta = signrank(theta_incr,0)
  175. % gamma
  176. p_gamma = signrank(gamma_incr,0)
  177. % SPW-R
  178. p_SPWR = signrank(rr_incr,0)
  179. %% Fig. 2d. Firing of place cell inside and outside place field
  180. % define variables
  181. pc_infield=f2.fr_after_whisker_onset.pc_in_field;
  182. pc_outfield=f2.fr_after_whisker_onset.pc_out_field;
  183. time=f2.fr_after_whisker_onset.time_after_whisker;
  184. figure
  185. subplot(1,2,1);
  186. plot(time,mean(pc_infield),'r','LineWidth',2)
  187. hold on
  188. plot(time,mean(pc_infield)+std(pc_infield)./sqrt(size(pc_infield,1)),':k')
  189. plot(time,mean(pc_infield)-std(pc_infield)./sqrt(size(pc_infield,1)),':k')
  190. ylim([0,10])
  191. xlim([-4,4])
  192. xlabel 'time after whisker onset'
  193. ylabel 'firing rate'
  194. title 'place cells in field'
  195. subplot(1,2,2);
  196. plot(time,mean(pc_outfield),'r','LineWidth',2)
  197. hold on
  198. plot(time,mean(pc_outfield)+std(pc_outfield)./sqrt(size(pc_outfield,1)),':k')
  199. plot(time,mean(pc_outfield)-std(pc_outfield)./sqrt(size(pc_outfield,1)),':k')
  200. ylim([0,10])
  201. xlim([-4,4])
  202. xlabel 'time after whisker onset'
  203. ylabel 'firing rate'
  204. title 'place cells out field'
  205. %% Fig. 2e. Population tuning curves for active and quiet immobility
  206. % get tuning curves
  207. x = imm_per_tc.sign_dist .* length_belt;
  208. y_active = imm_per_tc.fr_active ./ imm_per_tc.fr_in_field;
  209. y_quiet = imm_per_tc.fr_quiet ./ imm_per_tc.fr_in_field;
  210. [x_tc_active,y_tc_active,y_sem_tc_active] = population_tuning_curve(x,y_active);
  211. [x_tc_quiet,y_tc_quiet,y_sem_tc_quiet] = population_tuning_curve(x,y_quiet);
  212. % get avg place field
  213. figure;
  214. tiledlayout(5,1);
  215. nexttile;
  216. i_peak_pf = size(f2.place_fields,2)/2;
  217. place_field_norm = f2.place_fields ./ f2.place_fields(:,i_peak_pf);
  218. plot(f2.x_pf,mean(place_field_norm),'Color','black','LineWidth',2);
  219. ylim([0.2 1.1])
  220. xlim([-90 90])
  221. % plot population tuning curves
  222. nexttile(2,[4 1]);
  223. plot(x_tc_active,y_tc_active,'Color','red','LineWidth',2);
  224. hold on;
  225. plot(x_tc_quiet,y_tc_quiet,'Color','blue','LineWidth',2);
  226. plot(x_tc_active,y_tc_active+y_sem_tc_active,'Color','red');
  227. plot(x_tc_active,y_tc_active-y_sem_tc_active,'Color','red');
  228. plot(x_tc_quiet,y_tc_quiet+y_sem_tc_quiet,'Color','red');
  229. plot(x_tc_quiet,y_tc_quiet-y_sem_tc_quiet,'Color','red');
  230. xline(0,'Color','red','LineWidth',2);
  231. legend(["active imm.","quiet imm."]);
  232. %% Fig. 2f. Firing rate in function of position and behavioral state
  233. % preparation
  234. active_imm_in_field = f2.fr_in_field_t.fr_active_imm ./ f2.fr_in_field_t.fr_in_field_run; % in field - active imm
  235. quiet_imm_in_field = f2.fr_in_field_t.fr_quiet_imm ./ f2.fr_in_field_t.fr_in_field_run; % in field - quiet imm
  236. active_imm_out_field = f2.fr_out_field_t.fr_active_imm ./ f2.fr_out_field_t.fr_in_field_run; % out of field - active imm
  237. quiet_imm_out_field = f2.fr_out_field_t.fr_quiet_imm ./ f2.fr_out_field_t.fr_in_field_run; % out of field - quiet imm
  238. categoryLabels = {'Active imm., in field','Quiet imm., in field','Active imm., out of field','Quiet imm., out of field'};
  239. y = [active_imm_in_field; quiet_imm_in_field; active_imm_out_field; quiet_imm_out_field];
  240. x = [repmat(convertCharsToStrings(categoryLabels{1}),size(active_imm_in_field));
  241. repmat(convertCharsToStrings(categoryLabels{2}),size(quiet_imm_in_field));
  242. repmat(convertCharsToStrings(categoryLabels{3}),size(active_imm_out_field));
  243. repmat(convertCharsToStrings(categoryLabels{4}),size(quiet_imm_out_field))];
  244. % violin plot
  245. figure;
  246. violinplot(y,x,'GroupOrder',categoryLabels,'ShowData',false);
  247. title(strcat("Firing during imm. (stops in PF = ",num2str(length(active_imm_in_field)),"; stops out PF = ",num2str(length(active_imm_out_field)),")"));
  248. ylabel("FR imm. (norm.)");
  249. % Kruskal Wallis test
  250. [pval,tbl,stats] = kruskalwallis(y,x,'off');
  251. c = multcompare(stats,"Display","off");
  252. tblSign = array2table(c,"VariableNames", ["Group A","Group B","Lower Limit","A-B","Upper Limit","P-value"])
  253. %% Fig. 2g. Bayesian decoding during immobility
  254. labels = {'run -> run','run -> active imm.','run -> quiet imm.','active imm. -> run','quiet imm. -> run'}; % Labels name, "training -> testing"
  255. labels_s = convertCharsToStrings(labels); % convert to string
  256. % Pooling all imm. periods, renaming
  257. err_train_run_test_run = cell2mat(bayesian_dec.errors_t.z_stops_train_run_test_run')'; % run -> run
  258. err_train_run_test_stop_active = cell2mat(bayesian_dec.errors_t.z_stops_train_run_test_stop_active')'; % run -> active imm
  259. err_train_run_test_stop_quiet = cell2mat(bayesian_dec.errors_t.z_stops_train_run_test_stop_quiet')'; % run -> quiet imm
  260. err_train_stop_active_test_run = cell2mat(bayesian_dec.errors_t.z_stops_train_stop_active_test_run')'; % active imm -> run
  261. err_train_stop_quiet_test_run = cell2mat(bayesian_dec.errors_t.z_stops_train_stop_quiet_test_run')'; % quiet imm -> run
  262. % Preprocessing for boxplots
  263. n_stops = length(err_train_run_test_run);
  264. y = [err_train_run_test_run; err_train_run_test_stop_active; err_train_run_test_stop_quiet; err_train_stop_active_test_run; err_train_stop_quiet_test_run];
  265. x = [];
  266. for iL=1: length(labels)
  267. x = [x; repmat(convertCharsToStrings(labels_s{iL}),n_stops,1)];
  268. end
  269. % Decoding boxplot errors - imm. periods
  270. figure;
  271. violinplot(y,x,'GroupOrder',labels,'ShowData',false)
  272. yline(0,'LineStyle','--')
  273. ylabel("error (zscore)")
  274. title("imm. periods, N=88")
  275. % Wilcoxon sign rank tests, one for each group, H1: median error < 0
  276. [p_run_run,~,s_run_run] = signrank(err_train_run_test_run,0,'tail','left');
  277. [p_run_active_imm,~,s_run_active_imm] = signrank(err_train_run_test_stop_active,0,'tail','left');
  278. [p_run_quiet_imm,~,s_run_quiet_imm] = signrank(err_train_run_test_stop_quiet,0,'tail','left');
  279. [p_active_imm_run,~,s_active_imm_run] = signrank(err_train_stop_active_test_run,0,'tail','left');
  280. [p_quiet_imm_run,~,s_quiet_imm_run] = signrank(err_train_stop_quiet_test_run,0,'tail','left');
  281. % visualize p values
  282. string(labels)
  283. pvals_stops = [p_run_run p_run_active_imm p_run_quiet_imm p_active_imm_run p_quiet_imm_run];
  284. string(pvals_stops)
  285. % Bonferroni correction for multiple comparisons (5 tests)
  286. string(labels)
  287. bonf_stops = pvals_stops < (alpha_sign / length(pvals_stops)) % all groups significant except err_train_run_test_stop_quiet
  288. % Wilcoxon sign rank pairwise test, behavioral state difference only when training on imm.
  289. [p_imm_beh_state,~,s_imm_beh_state] = signrank(err_train_stop_active_test_run,err_train_stop_quiet_test_run,'tail','left');

fig2.m at commit 5745200, no license · at the source

Overview

Authors: Nicola Sartorato1,2,3, Ioannis S. Zouridis1,2,3,4, Ulzii-Utas Narantsatsralt1,2,3,5, Eduardo Blanco-Hernández1,2, Andrea Burgalossi1,2
  1. Institute for Neurobiology, Eberhard Karls University of Tübingen,Tübingen, Germany
  2. Werner Reichardt Centre for Integrative Neuroscience,Tübingen, Germany
  3. Graduate Training Centre of Neuroscience, International Max Planck Research School (IMPRS),Tübingen, Germany
  4. Max Planck Institute for Biological Cybernetics,Tübingen, Germany
  5. Institute of Experimental Epileptology and Cognition Research, University Hospital Bonn,Bonn, Germany
Journal: Nature communications, volume 17, issue 1, article 7261
Dates: received 11 December 2024; accepted 1 July 2026; published online 24 July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41467-026-75492-w · PMID 42498723 · PMCID PMC13400744 · OpenAlex W7170394472
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: extracellular electrophysiology (units, LFP) (modality), mouse (organism), systems (subfield)
Methods: Spectral & time-frequency, Connectivity, Statistics, Machine learning, Preprocessing, fMRI & imaging, Single-unit activity, calcium imaging, Smoothing, state filtering, decompositions, Physiology & signal measures
Keywords: Hippocampus, Neural circuits
MeSH: Behavior, Animal*, CA1 Region, Hippocampal*, Hippocampus*, Neurons*, Place Cells*, Animals, Local Field Potential Measurement, Male, Memory, Episodic, Mice, Mice, Inbred C57BL, Theta Rhythm, Wakefulness (* major topic)
Topic: Memory and Neural Mechanisms (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 143 references in the paper
Research resources: Eight wild-type C57BL/6J mice RRID:IMSR_JAX:000664

Abstract

Behavioral state fluctuations profoundly impact episodic memory processing. To explore the underlying mechanisms, we recorded CA1 place cells in head-fixed male mice and focused on awake immobility to capture spontaneous behavioral state fluctuations by facial motion, pupillometry, and local field potential (LFP) analysis. We found that during awake immobility, the duration of spontaneous whisker-pad motion events correlated with ongoing levels of arousal and modulated both the frequency and the power of theta oscillations. CA1 place cells continued to encode location during immobility, with the spatial code being primarily driven by a subset of behaviorally-modulated place cells which increased their firing upon behavioral state transitions. Single-cell stimulation during immobility was sufficient for the induction of place fields, indicating that plasticity mechanisms can be engaged even in the absence of locomotion. Altogether, these data indicate that behavioral state fluctuations might contribute to episodic memory processing by modulating theta oscillatory dynamics and hippocampal gain via the engagement of a discrete place-cell ensemble.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 23 matches between paragraphs and lines of code.

BurgalossiPublic/HP-BehModulation

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 5745200519905b3711245e92bc2b19edadd87f35, 3 July 2026
Languages: MATLAB (18)
Size: 35 files, 18 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
19 files

Code availability

Custom code associated with this study is available at: https://github.com/BurgalossiPublic/HP-BehModulation.

Reproduced under the paper's license (CC BY), from the paper cited above.

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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 18 scripts, each with its path and the digest of its content;
  • 23 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 availability

Preprocessed raw data are available at: https://github.com/BurgalossiPublic/HP-BehModulation. Source data are provided with this paper.

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 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 2 keywords, 13 MeSH terms, 3 funders, 142 references, 1 RRID.

Cite

This paper

Sartorato, N., Zouridis, I. S., Narantsatsralt, U.-U., Blanco-Hernández, E., & Burgalossi, A. (2026). Place and behavioral modulation of hippocampal neurons during immobility. Nature communications, 17(1), 7261. https://doi.org/10.1038/s41467-026-75492-w

BibTeX

@article{sartorato2026place,
author = {Sartorato, Nicola and Zouridis, Ioannis S. and Narantsatsralt, Ulzii-Utas and Blanco-Hernández, Eduardo and Burgalossi, Andrea},
title = {{Place and behavioral modulation of hippocampal neurons during immobility}},
journal = {Nature communications},
year = {2026},
month = jul,
volume = {17},
number = {1},
pages = {7261},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-75492-w},
url = {https://doi.org/10.1038/s41467-026-75492-w},
pmid = {42498723},
pmcid = {PMC13400744}
}

RIS

TY - JOUR
AU - Sartorato, Nicola
AU - Zouridis, Ioannis S.
AU - Narantsatsralt, Ulzii-Utas
AU - Blanco-Hernández, Eduardo
AU - Burgalossi, Andrea
TI - Place and behavioral modulation of hippocampal neurons during immobility
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/07/24
VL - 17
IS - 1
SP - 7261
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-75492-w
UR - https://doi.org/10.1038/s41467-026-75492-w
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-75492-w",
"type": "article-journal",
"title": "Place and behavioral modulation of hippocampal neurons during immobility",
"container-title": "Nature communications",
"author": [
{
"family": "Sartorato",
"given": "Nicola"
},
{
"family": "Zouridis",
"given": "Ioannis S."
},
{
"family": "Narantsatsralt",
"given": "Ulzii-Utas"
},
{
"family": "Blanco-Hernández",
"given": "Eduardo"
},
{
"family": "Burgalossi",
"given": "Andrea"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "7261",
"DOI": "10.1038/s41467-026-75492-w",
"PMID": "42498723",
"PMCID": "PMC13400744",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-75492-w",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
24
]
]
}
}

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.1016/j.celrep.2026.117646 [code]
Medial entorhinal-hippocampal desynchronization parallels the emergence of memory impairment in a mouse model of Alzheimer's disease pathology.
Journal: Cell reports
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, systems, mouse, 8 references
[2] doi:10.1038/s41586-026-10537-0 [code]
Sparse-to-dense coding transformation between hippocampal areas CA3 and CA1.
Journal: Nature
In common: systems, 8 references
[3] doi:10.1038/s41467-026-71503-y [code]
Rapid formation of non-spatial hippocampal representations consistent with behavioral timescale synaptic plasticity is modulated by entorhinal input.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, mouse, 8 references
[4] doi:10.1126/sciadv.adv5652 [code]
The anterior cingulate cortex modulates pupil-linked arousal.
Journal: Science advances
In common: systems, 8 references
[5] doi:10.7554/elife.100642 [code]
Disrupted hippocampal theta-gamma coupling and spike-field coherence following experimental traumatic brain injury.
Journal: eLife
In common: Signal Processing Toolbox, systems, 7 references
[6] doi:10.1038/s41467-026-71667-7
Behavioural states control binocular vision through input-specific mechanisms.
Journal: Nature communications
In common: mouse, 8 references
[7] doi:10.1523/jneurosci.2001-25.2026 [code]
Dynamics of Dentate Gyrus Place Cells and Dentate Spikes during Spatial and Nonspatial Changes in Environments.
Journal: The Journal of neuroscience : the official journal of the Society for Neuroscience
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, extracellular electrophysiology (units, LFP), systems, 5 references
[8] doi:10.1126/sciadv.adz6495
Pupil-linked arousal heterogeneously modulates cell-type-specific sensory processing.
Journal: Science advances
In common: systems, mouse, 7 references
[9] doi:10.1038/s41467-026-77240-6
Prefrontal-thalamic goal states organize spatially aligned hippocampal maps.
Journal: Nature communications
In common: systems, 7 references
[10] doi:10.1038/s41467-026-71914-x [code]
Developmental emergence of sparse and structured synaptic connectivity in the hippocampal CA3 memory circuit.
Journal: Nature communications
In common: mouse, 6 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.

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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.