OSCR

REM sleep prefrontal high-frequency oscillation chains mediate distinct cortical - hippocampal reactivation patterns compared to NREM sleep.

Code ↔ Paper

34 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.

24 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 34 matches · 6 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › Detection of population suppression ↔ Figure4/jds_detectPopulationSuppressionREM.m, lines 1 to 62 · score 0.87 · population suppression events, 300–500 ms, circularly shifted, population activity, smoothed, 300 ms · block oscr:b:5DRE8V36VR6P1-P · Report a mismatch
  2. [2] § Methods › Spatial information of assembly fields ↔ Figure6/jds_assemblyFieldMetricsShuffle.m, the whole file · a weak match · score 0.82 · assembly field, assembly activation, activation event, bits, tailed, shuffled · block oscr:b:Y17ARNZWX2EES-D · Report a mismatch
  3. [3] § Methods › Intracranial electromyogram ↔ Figure1/jds_pEMG.m, lines 1 to 21 · score 0.82 · 300–600 Hz, reference tetrode, 275 Hz, 625 Hz, EMG, shoulders · block oscr:b:HKYV7MMR80XZT-L · Report a mismatch
  4. [4] § Methods › Phase slope index ↔ Figure3/jds_phaseSlopeIndexCA1PFC.m, lines 1 to 89 · score 0.82 · FieldTrip, 6–12 Hz, CA1 leads, CA1 PFC, PSI, slope · block oscr:b:HANFF43ZRXG75-N · Report a mismatch
  5. [5] § Results › REM theta-phase shifting CA1 neurons are preferentially engaged during PFC REM HFOs ↔ Figure8/jds_thetaPhaseShiftersREM.m, lines 1 to 63 · score 0.81 · REM phase shifting, Shift magnitude, preferred theta phase, shifting cells, phase locked, REM theta · block oscr:b:6CB8W1EX2N1XN-B · Report a mismatch
  6. [6] § Results › Differential engagement of distinct populations of CA1 neurons by PFC REM HFO chains ↔ Figure7/jds_CA1PFCRippleCoactivityREMDeltaFR.m, lines 1 to 37 · score 0.80 · CA1 firing rates, scored cofiring, NREM bout, Firing rate change, low cofiring, CA1 PFC · block oscr:b:85PZAJT797VHZ-W · Report a mismatch
  7. [7] § Results › Differential engagement of distinct populations of CA1 neurons by PFC REM HFO chains ↔ Figure7/jds_CA1PFCRippleCoactivityREMDeltaFR.m, lines 1 to 37 · score 0.80 · CA1 firing rates, NREM bout, Firing rate change, Low cofiring, CA1 PFC, sleep epoch · block oscr:b:85PZAJT797VHZ-W · Report a mismatch
  8. [8] § Methods › Theta inter-peak intervals during bouts of high and low theta power ↔ Figure3/jds_thetaPowerThetaIEI.m, lines 96 to 155 · score 0.80 · inter peak intervals, zero crossings, high theta power, tonic, phasic, LFPs · block oscr:b:B52GJB8K7YJS2-2 · Report a mismatch
  9. [9] § Methods › Phase locking ↔ Figure8/jds_thetaPhaseShiftersREM.m, lines 1 to 63 · score 0.79 · phase distribution, REM theta phase, Phase locking, preferred phases, theta periods, U2 · block oscr:b:6CB8W1EX2N1XN-B · Report a mismatch
  10. [10] § Results › PFC ensemble activity is sequentially organized by REM HFO chains ↔ Figure6/jds_assemblyFieldMetricsShuffle.m, the whole file · a weak match · score 0.77 · scored spatial information, rate maps, assembly maps, PFC assembly, reactivation strength, tailed · block oscr:b:Y17ARNZWX2EES-D · Report a mismatch
  11. [11] § Methods › Assembly sequence detection surrounding HFOs ↔ Figure6/jds_rippleTriggeredAssemblyStrengthREMxVal.m, lines 1 to 46 · score 0.77 · randomly split, cross validation, assembly reactivation, sequences, halves, Pearson · block oscr:b:WR681YFD14D8Q-8 · Report a mismatch
  12. [12] § Methods › Assembly sequence detection surrounding HFOs ↔ Figure6/jds_rippleTriggeredAssemblyStrengthREMxVal.m, lines 1 to 46 · score 0.76 · assembly strength, chain onset, assembly reactivation, sequence, halves, slope · block oscr:b:WR681YFD14D8Q-8 · Report a mismatch
  13. [13] § Methods › Event type prediction ↔ Figure4/jds_sleepStateRipplePrediction.m, lines 1 to 133 · score 0.71 · fold cross validation, predicted, accuracy, fitclinear, training, matrices · block oscr:b:VSEPA486YZG71-3 · Report a mismatch
  14. [14] § Results › Coupling of theta, gamma, and prefrontal HFOs in REM sleep ↔ Figure3/jds_thetaNestingSurrogate.m, lines 1 to 107 · score 0.70 · theta nested oscillation, phase preference, Preferred theta phases, theta phase bin, surrogate, gamma · block oscr:b:85CDDMN3XGREE-1 · Report a mismatch
  15. [15] § Results › Differential engagement of distinct populations of CA1 neurons by PFC REM HFO chains ↔ Figure7/jds_remRippleCA1CoactivitySpatialCorr.m, the whole file · a weak match · score 0.69 · spatial correlation, cell pairs, Low cofiring, High cofiring, CA1 cells, map · block oscr:b:NTW8RWYS466SE-4 · Report a mismatch
  16. [16] § Results › Coupling of theta, gamma, and prefrontal HFOs in REM sleep ↔ Figure3/jds_phaseSlopeIndexCA1PFC.m, lines 1 to 89 · score 0.69 · Phase slope, 6–12 Hz, theta band, CA1 PFC, PSI, coherence · block oscr:b:HANFF43ZRXG75-N · Report a mismatch
  17. [17] § Results › Coupling of theta, gamma, and prefrontal HFOs in REM sleep ↔ Figure3/jds_thetaPowerThetaIEI.m, lines 1 to 55 · score 0.66 · Inter peak intervals, high theta power, tonic REM, signal, bands, Phasic · block oscr:b:2XN926RTRR3GB-2 · Report a mismatch
  18. [18] § Results › Coupling of theta, gamma, and prefrontal HFOs in REM sleep ↔ Figure3/jds_thetaNestingSurrogate.m, lines 1 to 107 · score 0.65 · theta nesting, preferred theta phase, phasic REM, cycle, oscillations, gamma · block oscr:b:85CDDMN3XGREE-1 · Report a mismatch
  19. [19] § Results › Coupling of theta, gamma, and prefrontal HFOs in REM sleep ↔ Figure3/jds_thetaPowerThetaIEI.m, lines 96 to 155 · score 0.65 · theta inter peak, low theta power, high theta power, IPI, tonic, intervals · block oscr:b:B52GJB8K7YJS2-2 · Report a mismatch
  20. [20] § Methods › Event aligned multi-unit activity ↔ Figure2/jds_normPopulationActivityREM.m, the whole file · a weak match · score 0.65 · power spectral density, population activity, windows, Figure 2, 12 Hz, binned · block oscr:b:2D52K551G9XVZ-I · Report a mismatch
  21. [21] § Results › High-frequency events in PFC during REM sleep ↔ Figure2/jds_normPopulationActivityREM.m, the whole file · a weak match · score 0.64 · power spectral density, multiunit activity, population activity, PSD, MUA, 100 Hz · block oscr:b:2D52K551G9XVZ-I · Report a mismatch
  22. [22] § Results › Differential modulation of PFC neuronal activity during NREM prefrontal ripples and REM prefrontal HFOs ↔ Figure4/jds_sleepStateRipplePrediction.m, lines 1 to 133 · score 0.64 · fold cross validation, linear classifier, NREM ripples, trained, vector, spiking · block oscr:b:VSEPA486YZG71-3 · Report a mismatch
  23. [23] § Methods › Theta coherence ↔ Figure3/jds_thetaCoherenceREM.m, lines 1 to 131 · score 0.63 · Theta coherence, Chronux, CA1 PFC, window, Gaussian, 12 Hz · block oscr:b:V4MJ8SN47GDRB-G · Report a mismatch
  24. [24] § Methods › Phase locking ↔ Figure8/jds_thetaPhaseLockingPFCRipplesShifters.m, lines 123 to 182 · score 0.63 · theta phase shifting, Phase locking, Rayleigh, uniformity, U2, Watson · block oscr:b:G9GD6VQPAC6N8-Z · Report a mismatch
  25. [25] § Results › Differential engagement of distinct populations of CA1 neurons by PFC REM HFO chains ↔ Figure7/jds_compareNREMCA1SuppressionSWRReactivationREMCofiring.m, lines 115 to 190 · score 0.62 · SWR reactivation, CA1 suppression, high cofiring, cofiring CA1, Figure 7, ripples · block oscr:b:7X72AVG07DCG4-1 · Report a mismatch
  26. [26] § Methods › Cross-frequency phase-amplitude coupling ↔ Figure3/jds_phaseAmpCouplingREMShuffle.m, lines 106 to 132 · score 0.60 · Hilbert transform, frequency band, Comodulogram, envelope, amplitude, LFP · block oscr:b:CP5Y9KWS0HQ3T-7 · Report a mismatch
  27. [27] § Methods › Theta nesting ↔ Figure3/jds_thetaNestingSurrogate.m, lines 126 to 183 · score 0.59 · theta nesting, phase bin, high theta, LFP, 150 Hz, gamma · block oscr:b:94XKKRCNJ7AMZ-2 · Report a mismatch
  28. [28] § Results › Differential modulation of PFC neuronal activity during NREM prefrontal ripples and REM prefrontal HFOs ↔ Figure4/jds_detectPopulationSuppressionREM.m, lines 1 to 62 · score 0.59 · population suppression events, population spiking, population activity, peri, histograms, shuffle · block oscr:b:5DRE8V36VR6P1-P · Report a mismatch
  29. [29] § Methods › Sleep state identification ↔ Figure1/jds_sleepStateVelTDComparison.m, lines 1 to 20 · score 0.58 · delta ratio, transition, TD, box, velocity, REM sleep · block oscr:b:08EDCJCBZBFJD-E · Report a mismatch
  30. [30] § Methods › Change in firing rate across sleep ↔ Figure7/jds_CA1PFCRippleCoactivityREMCA1RipAlignedMUA.m, lines 1 to 38 · score 0.58 · scored cofiring, CA1 PFC, PFC ripples, coactive, spike, chains · block oscr:b:7JNWHXSP7C369-Z · Report a mismatch
  31. [31] § Results › Coupling of theta, gamma, and prefrontal HFOs in REM sleep ↔ Figure3/jds_rippleThetaPhaseLockingREM.m, lines 1 to 57 · score 0.56 · phase locking, pairwise phase, theta phase, PPC, isolated, chains · block oscr:b:NCNRDQCV7VQVQ-9 · Report a mismatch
  32. [32] § Methods › Detection of population suppression ↔ Figure4/jds_periSuppressionRippleProbREM.m, the whole file · a weak match · score 0.56 · population suppression events, circularly shifted, probability, shuffled, 500 ms, Figure 4 · block oscr:b:CTM4BQ4QHS96P-1 · Report a mismatch
  33. [33] § Results › REM theta-phase shifting CA1 neurons are preferentially engaged during PFC REM HFOs ↔ Figure8/jds_rippleBurstingREM.m, lines 1 to 80 · score 0.54 · Shift magnitude, phase shifting, theta phase, cortical ripples, bursting, isolated · block oscr:b:7TS7TA5H3NRXP-D · Report a mismatch
  34. [34] § Results › Differential engagement of distinct populations of CA1 neurons by PFC REM HFO chains ↔ Figure7/jds_CA1PFCRippleCoactivityREMDeltaFR.m, lines 108 to 167 · score 0.54 · low cofiring, high cofiring, Firing rates, Bonferroni, Friedman, PFC ripples · block oscr:b:ZTBP9CSFETBGX-2 · 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

MATLAB · 312 lines · 10 KB · MIT · 3 matches

  1. function jds_CA1PFCRippleCoactivityREMDeltaFR(animalprefixlist)
  2. %JDS_CA1PFCRIPPLECOACTIVITYREMDELTAFR CA1 firing-rate change vs REM ripple cofiring.
  3. % jds_CA1PFCRippleCoactivityREMDeltaFR(animalprefixlist) computes each CA1
  4. % cell's mean z-scored cofiring with PFC cells in REM chain cortical
  5. % ripples, along with its firing rate in the first NREM bout, REM, and the
  6. % last NREM bout of each sleep epoch. Compares firing rates across sleep
  7. % stages (Friedman test) and relates NREM firing-rate change to REM
  8. % cofiring (rank-sum on high/low cofiring split, robust regression,
  9. % quartile plot).
  10. %
  11. % animalprefixlist - cell array of animal prefix strings
  12. day = 1;
  13. ncRippleCo = [];
  14. cRippleCo = [];
  15. firingRates = [];
  16. firingRatesWithRem = [];
  17. meanFRLow = [];
  18. meanFRHigh = [];
  19. upFR = [];
  20. downFR = [];
  21. for a = 1:length(animalprefixlist)
  22. animalprefix = char(animalprefixlist(a));
  23. dir = sprintf('/Volumes/JUSTIN/SingleDay/%s_direct/',animalprefix);
  24. %Load reactivation strength file for all assemblies and epochs
  25. load(sprintf('%s%sCA1_RTimeStrengthSleepNewSpk_20_%02d.mat',dir,animalprefix,day));
  26. CA1_R = RtimeStrength; clear RtimeStrength
  27. load(sprintf('%s%sPFC_RTimeStrengthSleepNewSpk_20_%02d.mat',dir,animalprefix,day));
  28. PFC_R = RtimeStrength; clear RtimeStrength
  29. load(sprintf('%s%sremeps%02d.mat',dir,animalprefix,day));
  30. load(sprintf('%s%sswsALL%02d.mat',dir,animalprefix,day));
  31. rem = load(sprintf('%s%srem%02d.mat',dir,animalprefix,day));
  32. rem = rem.rem;
  33. %Load ripples
  34. indrips = load(sprintf('%s%sctxrippletime_chainREM%02d.mat',dir,animalprefix,day));
  35. epochs = remeps;
  36. for e = 1:length(epochs)
  37. ep = epochs(e);
  38. if ep == 1
  39. continue
  40. end
  41. firstsws = [sws{day}{ep}.starttime(1) sws{day}{ep}.endtime(1)];
  42. lastsws = [sws{day}{ep}.starttime(end) sws{day}{ep}.endtime(end)];
  43. allrem = [rem{day}{ep}.starttime rem{day}{ep}.endtime];
  44. remdur = rem{day}{ep}.total_duration;
  45. if ((firstsws(2)-firstsws(1) < 30)) || ((lastsws(2)-lastsws(1) < 30))
  46. continue
  47. end
  48. [ctxidx, hpidx] = jds_getallepcells(dir, animalprefix, day, ep, []);
  49. CA1assemblytmp = CA1_R{ep}.reactivationStrength;
  50. CA1num = length(CA1assemblytmp);
  51. PFCassemblytmp = PFC_R{ep}.reactivationStrength;
  52. PFCnum = length(PFCassemblytmp);
  53. ncrips = [indrips.ctxripple{day}{ep}.starttimeC indrips.ctxripple{day}{ep}.endtimeC];
  54. if isempty(ncrips)
  55. continue
  56. end
  57. if length(ncrips(:,1)) > 10
  58. load(sprintf('%s%sspikes%02d.mat',dir,animalprefix,day));
  59. numncrips = length(ncrips(:,1));
  60. CA1idx = CA1_R{ep}.cellidx;
  61. PFCidx = PFC_R{ep}.cellidx;
  62. Chigh = CA1idx;
  63. Phigh = PFCidx;
  64. for c = 1:length(Chigh(:,1))
  65. tmp = [];
  66. cell1spks = spikes{day}{ep}{Chigh(c,1)}{Chigh(c,2)}.data(:,1);
  67. firstnremFR = (sum(isExcluded(cell1spks, firstsws)))/(firstsws(2)-firstsws(1));
  68. lastnremFR = (sum(isExcluded(cell1spks, lastsws)))/(lastsws(2)-lastsws(1));
  69. remFR = (sum(isExcluded(cell1spks, allrem)))/remdur;
  70. FRchange = lastnremFR - firstnremFR;
  71. meanRt = spikes{day}{ep}{Chigh(c,1)}{Chigh(c,2)}.meanrate;
  72. if FRchange < -5
  73. continue
  74. end
  75. firingRates = [firingRates; [firstnremFR lastnremFR]];
  76. firingRatesWithRem = [firingRatesWithRem; [firstnremFR remFR lastnremFR]];
  77. for pp = 1:length(Phigh(:,1))
  78. if (~isempty(spikes{day}{ep}{Chigh(c,1)}{Chigh(c,2)})) &&...
  79. (~isempty(spikes{day}{ep}{Phigh(pp,1)}{Phigh(pp,2)}))
  80. cell1spks = spikes{day}{ep}{Chigh(c,1)}{Chigh(c,2)}.data(:,1);
  81. cell2spks = spikes{day}{ep}{Phigh(pp,1)}{Phigh(pp,2)}.data(:,1);
  82. spkbins1_c = periodAssign(cell1spks, ncrips);
  83. spkbins2_p = periodAssign(cell2spks, ncrips);
  84. ripnum1_c = unique(spkbins1_c);
  85. activeinrip1_c = ripnum1_c(find(ripnum1_c ~= 0));
  86. ripnum2_p = unique(spkbins2_p);
  87. activeinrip2_p = ripnum2_p(find(ripnum2_p ~= 0));
  88. common_hprip = length(find(ismember(activeinrip1_c, activeinrip2_p)));
  89. %calculate zscored ripple coactivity
  90. nAB_hp = common_hprip;
  91. nA_hp = length(activeinrip1_c);
  92. nB_hp = length(activeinrip2_p);
  93. coact_hprip = (nAB_hp - (nA_hp*nB_hp/numncrips))/...
  94. sqrt(nA_hp*nB_hp*(numncrips - nA_hp)*(numncrips - nB_hp)/...
  95. (numncrips^2*(numncrips-1)));
  96. tmp = [tmp; coact_hprip];
  97. end
  98. end
  99. ncRippleCo = [ncRippleCo; [nanmean(tmp) FRchange meanRt remFR]];
  100. if FRchange > -0.0447% mean = -0.0363 %median = -0.0447
  101. upFR = [upFR; nanmean(tmp)];
  102. elseif FRchange < -0.0447
  103. downFR = [downFR; nanmean(tmp)];
  104. end
  105. end
  106. end
  107. end
  108. end
  109. p = friedman(firingRatesWithRem,1,'on')
  110. [p, tbl, stats] = friedman(firingRatesWithRem, 1, 'off');
  111. [COMPARISON,MEANS,H,GNAMES] = multcompare(stats, 'CType', 'bonferroni');
  112. meanFrs = mean(firingRatesWithRem);
  113. semFrs = std(firingRatesWithRem)./sqrt(size(firingRatesWithRem,1));
  114. figure
  115. errorbar(1:3,meanFrs,semFrs,'-k')
  116. xlim([0.5 3.5])
  117. xticks([1:3])
  118. xticklabels({'First NREM','REM','Last NREM'})
  119. set(gcf, 'renderer', 'painters')
  120. datacombinedEpFrs = [firingRatesWithRem(:,1); firingRatesWithRem(:,2); firingRatesWithRem(:,3)];
  121. g1 = repmat({'First NREM'},length(firingRatesWithRem(:,1)),1);
  122. g2 = repmat({['REM p=' num2str(COMPARISON(1,6))]},length(firingRatesWithRem(:,2)),1);
  123. g3 = repmat({['Last NREM p=' num2str(COMPARISON(2,6))]},length(firingRatesWithRem(:,3)),1);
  124. g = [g1;g2;g3];
  125. figure;
  126. h = boxplot(datacombinedEpFrs,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
  127. title(['CA1 FR eps-p = ' num2str(COMPARISON(3,6)) ' compare 2-3'])
  128. ylim([-0.4 1.6])
  129. yticks([-0.4:0.4:1.6])
  130. ylabel('Firing Rate (Hz)')
  131. set(gcf, 'renderer', 'painters')
  132. meanCo = 0; %split cells into cofiring > 0 vs < 0
  133. highCo = ncRippleCo(find(ncRippleCo(:,1)>meanCo),:);
  134. lowCo = ncRippleCo(find(ncRippleCo(:,1)<meanCo),:);
  135. [p1 h1] = ranksum(highCo(:,2),lowCo(:,2))
  136. datacombinedFRchange = [highCo(:,2); lowCo(:,2)];
  137. g1 = repmat({'HighCofiring'},length(highCo(:,2)),1);
  138. g2 = repmat({'LowCofiring'},length(lowCo(:,2)),1);
  139. g = [g1;g2];
  140. figure;
  141. h = boxplot(datacombinedFRchange,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
  142. title(['CA1 FR change-p = ' num2str(p1)])
  143. set(gcf, 'renderer', 'painters')
  144. [pFR hFR] = ranksum(highCo(:,3),lowCo(:,3))
  145. datacombinedFR = [highCo(:,3); lowCo(:,3)];
  146. g1 = repmat({'HighCofiring'},length(highCo(:,3)),1);
  147. g2 = repmat({'LowCofiring'},length(lowCo(:,3)),1);
  148. g = [g1;g2];
  149. figure;
  150. h = boxplot(datacombinedFR,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
  151. ylim([-1 1])
  152. title(['CA1 mean FR-p = ' num2str(pFR)])
  153. set(gcf, 'renderer', 'painters')
  154. figure;
  155. bar([mean(highCo(:,2)) mean(lowCo(:,2))],'k');
  156. hold on
  157. errorbar([1 2], [mean(highCo(:,2)) mean(lowCo(:,2))],...
  158. [std(highCo(:,2))./sqrt(length(highCo(:,2))) std(lowCo(:,2))./sqrt(length(lowCo(:,2)))],...
  159. 'LineStyle','none')
  160. xticklabels({'High cofiring','Low'})
  161. title(['CA1 FR change-p = ' num2str(p1)])
  162. ylabel('FR change first-last NREM')
  163. set(gcf, 'renderer', 'painters')
  164. first = firingRates(:,1);
  165. last = firingRates(:,2);
  166. [p2 h2] = signrank(firingRates(:,1),firingRates(:,2))
  167. datacombinedFRchange = [first; last];
  168. g1 = repmat({'first'},length(first),1);
  169. g2 = repmat({'last'},length(last),1);
  170. g = [g1;g2];
  171. figure; hold on
  172. h = boxplot(datacombinedFRchange,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
  173. xlim([0.5 2.5])
  174. set(gca, 'YScale', 'log')
  175. title(['CA1 FR -p = ' num2str(p2)])
  176. set(gcf, 'renderer', 'painters')
  177. [p3 h3] = ranksum(highCo(:,4),lowCo(:,4))
  178. datacombinedREMFR = [highCo(:,4); lowCo(:,4)];
  179. g1 = repmat({'HighCofiring'},length(highCo(:,4)),1);
  180. g2 = repmat({'LowCofiring'},length(lowCo(:,4)),1);
  181. g = [g1;g2];
  182. figure;
  183. h = boxplot(datacombinedREMFR,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
  184. ylim([-0.25 2.5])
  185. title(['CA1 REM FR -p = ' num2str(p3)])
  186. set(gcf, 'renderer', 'painters')
  187. [p4 h4] = ranksum(downFR,upFR)
  188. datacombinedFRchangeCofiring = [downFR; upFR];
  189. g1 = repmat({'FR change lower than mean'},length(downFR),1);
  190. g2 = repmat({'FR change higher than mean'},length(upFR),1);
  191. g = [g1;g2];
  192. figure;
  193. h = boxplot(datacombinedFRchangeCofiring,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
  194. ylabel('Cofiring with PFC')
  195. title(['CA1 Cofiring -p = ' num2str(p4)])
  196. set(gcf, 'renderer', 'painters')
  197. set(gca, 'YScale', 'log')
  198. xlim([0.5 2.5])
  199. for c = 1:length(first)
  200. x = [1 2];
  201. tmp = firingRates(c,:);
  202. if tmp(2) > tmp(1)
  203. plot(x,tmp,'-r')
  204. elseif tmp(2) < tmp(1)
  205. plot(x,tmp,'-k')
  206. elseif tmp(2) == tmp(1)
  207. plot(x,tmp,'-m')
  208. end
  209. end
  210. ylim([0.003 10])
  211. meanFr = mean(firingRates);
  212. semFr = std(firingRates)./sqrt(size(firingRates,1))
  213. figure
  214. errorbar([1:2], meanFr, semFr)
  215. xlim([0.5 2.5])
  216. ylim([0.46 0.6])
  217. title(['CA1 FR -p = ' num2str(p2)])
  218. figure
  219. scatter(ncRippleCo(:,1),ncRippleCo(:,2))
  220. mdlr = fitlm(ncRippleCo(:,1),ncRippleCo(:,2),'RobustOpts','on')
  221. pVal = mdlr.Coefficients.pValue(2);
  222. r = sqrt(mdlr.Rsquared.Ordinary);
  223. hold on
  224. lsline
  225. title(['CA1 FR change vs cofiring - p=' num2str(pVal) ' r=' num2str(r) ' Robust LR'])
  226. set(gcf, 'renderer', 'painters')
  227. figure
  228. idx = find(~isnan(ncRippleCo(:,1)));
  229. tt = ncRippleCo(idx,:);
  230. quartile_sep = floor(length(tt(:,1))/4);
  231. spklatquar = sortrows(tt,1);
  232. vals = [];
  233. cnt = 1;
  234. for s = 1:4
  235. if s < 4
  236. tmp = spklatquar(cnt:quartile_sep*s,1:2);
  237. tmp(:,3) = s;
  238. else
  239. tmp = spklatquar(cnt:end,1:2);
  240. tmp(:,3) = s;
  241. end
  242. vals{s} = tmp;
  243. cnt = cnt + quartile_sep;
  244. clear tmp
  245. end
  246. v = cellfun(@mean,vals,'UniformOutput',false);
  247. v2 = cellfun((@(x) std(x)./sqrt(length(x(:,1)))),vals,'UniformOutput',false);
  248. data_sems = vertcat(v2{:});
  249. data_means = vertcat(v{:});
  250. X = [1:4];
  251. errorbar(X, data_means(:,2), data_sems(:,2),'b','LineWidth',3);
  252. hold on
  253. xlim([0.5 4.5])
  254. ylabel('Firing Rate change')
  255. xlabel('Cofiring Quartile')
  256. title(['CA1 FR change vs cofiring - p=' num2str(pVal) ' r=' num2str(r) ' Robust LR'])
  257. set(gcf, 'renderer', 'painters')

jds_CA1PFCRippleCoactivityREMDeltaFR.m at commit 3b4245a, under MIT · at the source

Overview

  1. Neuroscience Program, Department of Psychology, and Volen National Center for Complex Systems, Brandeis University, Waltham, United States
Institutions: Brandeis University (United States)
Journal: eLife, volume 15, article RP110795
Dates: published online 7 September 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.7554/elife.110795 · PMID 42704658 · PMCID PMC13549623 · OpenAlex W7154120262
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: rat (organism)
Methods: Spectral & time-frequency, Statistics, Smoothing, state filtering, decompositions, Machine learning, Connectivity, Preprocessing, Evoked potentials, Single-unit activity, calcium imaging, Physiology & signal measures
Keywords: Rat
MeSH: CA1 Region, Hippocampal*, Hippocampus*, Prefrontal Cortex*, Sleep, REM*, Sleep, Slow-Wave*, Animals, Male, Memory Consolidation, Rats, Theta Rhythm (* major topic)
Topic: Sleep and Wakefulness Research (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: NIMH NIH HHS (R01 MH112661, R01MH112661)
Citations: not cited yet (Europe PMC); 121 references in the paper
Research resources: Rat RRID:RGD_2308852, MATLAB 2022a RRID:SCR_001622, Chronux RRID:SCR_005547, RRID:SCR_021623

Abstract

REM (rapid eye movement) and non-REM (NREM) sleep stages contribute to systems memory consolidation in hippocampal–cortical circuits. However, the physiological mechanisms underlying REM memory processes remain relatively unclear compared to NREM memory reactivation. Here we report, in rodents, the existence of prefrontal cortical (PFC) high-frequency oscillation (HFO) chains in REM sleep during the consolidation of recently acquired spatial memory. High-density tetrode recordings in hippocampal area CA1 and PFC reveal that REM cortical HFOs occur in characteristic chains that are phase-modulated by theta oscillations, corresponding to increased CA1-PFC theta coherence and delineating periods of enhanced hippocampal–cortical communication. REM HFO chains sequentially organize sparse PFC ensemble reactivation of behavioral activity during periods of local suppression, distinct from widespread reactivation bursts during NREM ripple oscillations. REM HFO chains also preferentially engage CA1 neuronal populations that demonstrate a shift in their preferred theta-phase from behavior to REM sleep. CA1 neuronal activation during REM HFO chains was correlated with CA1 activity suppression during NREM PFC ripples, and linked to differential changes in CA1 firing rates in sleep, suggesting REM-driven regulation of hippocampal excitability. A cortical network model incorporating the effects of acetylcholine can reproduce the distinct REM and NREM activity patterns, providing a mechanistic basis for widespread coactivity during NREM cortical ripples, compared to sparse, temporally extended reactivation on a background of local suppression during REM HFO chains. Overall, these findings establish a role for PFC HFOs in regulating distinct dual sleep stage reactivation patterns.

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 34 matches between paragraphs and lines of code.

JadhavLab/REMHFOs

License: MIT
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: 3b4245accfa27af9ca9be6bf2538791fd948ab96, 7 September 2026
Languages: MATLAB (39)
Size: 41 files, 39 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Statistics and Machine Learning Toolbox (35 files), boundedline (13 files), Signal Processing Toolbox (4 files), CircStat (3 files), shadedErrorBar (3 files), Image Processing Toolbox (2 files), Chronux (1 file), EEGLAB (1 file), FieldTrip (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
41 files

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:

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

Data underlying these results are available in the NWB (Neurodata Without Borders) format on DANDI Archive (ID#000978). Code to replicate these results are available on our lab GitHub (https://github.com/JadhavLab/REMHFOs; copy archived at Shin, 2026).

The following previously published dataset was used:

Shin J, Jadhav S. 2024. Single Day W-Track Learning. DANDI Archive.

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, pages, dates, 4 authors, 1 keyword, 10 MeSH terms, 1 funder, 120 references, 4 RRIDs.

Cite

This paper

Shin, J. D., Satchell, M., Miller, P., & Jadhav, S. P. (2026). REM sleep prefrontal high-frequency oscillation chains mediate distinct cortical - hippocampal reactivation patterns compared to NREM sleep. eLife, 15, RP110795. https://doi.org/10.7554/elife.110795

BibTeX

@article{shin2026rem,
author = {Shin, Justin D and Satchell, Michael and Miller, Paul and Jadhav, Shantanu P},
title = {{REM sleep prefrontal high-frequency oscillation chains mediate distinct cortical - hippocampal reactivation patterns compared to NREM sleep}},
journal = {eLife},
year = {2026},
month = sep,
volume = {15},
pages = {RP110795},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/elife.110795},
url = {https://doi.org/10.7554/elife.110795},
pmid = {42704658},
pmcid = {PMC13549623}
}

RIS

TY - JOUR
AU - Shin, Justin D
AU - Satchell, Michael
AU - Miller, Paul
AU - Jadhav, Shantanu P
TI - REM sleep prefrontal high-frequency oscillation chains mediate distinct cortical - hippocampal reactivation patterns compared to NREM sleep
T2 - eLife
J2 - eLife
PY - 2026
DA - 2026/09/07
VL - 15
SP - RP110795
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/elife.110795
UR - https://doi.org/10.7554/elife.110795
LA - en
ER -

CSL-JSON

{
"id": "10.7554/elife.110795",
"type": "article-journal",
"title": "REM sleep prefrontal high-frequency oscillation chains mediate distinct cortical - hippocampal reactivation patterns compared to NREM sleep",
"container-title": "eLife",
"author": [
{
"family": "Shin",
"given": "Justin D"
},
{
"family": "Satchell",
"given": "Michael"
},
{
"family": "Miller",
"given": "Paul"
},
{
"family": "Jadhav",
"given": "Shantanu P"
}
],
"container-title-short": "eLife",
"volume": "15",
"page": "RP110795",
"DOI": "10.7554/elife.110795",
"PMID": "42704658",
"PMCID": "PMC13549623",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://doi.org/10.7554/elife.110795",
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
7
]
]
}
}

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.1523/eneuro.0575-24.2025 [code]
Firing Activities of REM- and NREM-Preferring Neurons Are Differently Modulated by Fast Network Oscillations and Behavior in the Hippocampus, Prelimbic Cortex, and Amygdala.
Journal: eNeuro
In common: Chronux, boundedline, CircStat, 5 other tools, rat, 19 references
[2] doi:10.1371/journal.pcbi.1013097
Cholinergic modulation of neural networks supports sequential and complementary roles for NREM and REM states in memory consolidation.
Journal: PLoS computational biology
In common: 18 references, author Michael Satchell
[3] doi:10.7554/elife.79545 [code]
Rhythmic coordination and ensemble dynamics in the hippocampal-prefrontal network during odor-place associative memory and decision making.
Journal: eLife
In common: Chronux, CircStat, shadedErrorBar, 4 other tools, rat, 8 references, 2 authors
[4] doi:10.1038/s41467-022-33536-x [code]
A consensus statement on detection of hippocampal sharp wave ripples and differentiation from other fast oscillations.
Journal: Nature communications
In common: Chronux, boundedline, CircStat, 5 other tools, 14 references
[5] doi:10.1038/s41467-025-66562-6 [code]
Spatiotemporal patterns differentiate hippocampal sharp-wave ripples from interictal epileptiform discharges in mice and humans.
Journal: Nature communications
In common: Chronux, boundedline, CircStat, 5 other tools, 12 references
[6] doi:10.1073/pnas.2302676120 [code]
Interictal epileptiform discharges affect memory in an Alzheimer's disease mouse model.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: Chronux, boundedline, CircStat, 5 other tools, 11 references
[7] doi:10.1038/s41467-024-49226-9 [code]
Months-long tracking of neuronal ensembles spanning multiple brain areas with Ultra-Flexible Tentacle Electrodes.
Journal: Nature communications
In common: Chronux, boundedline, CircStat, 5 other tools, rat, 9 references
[8] doi:10.1016/j.celrep.2024.114519 [code]
Circuit dynamics of superficial and deep CA1 pyramidal cells and inhibitory cells in freely moving macaques.
Journal: Cell reports
In common: Chronux, boundedline, CircStat, 5 other tools, 9 references
[9] doi:10.1073/pnas.2213438120 [code]
The temporal structure of REM sleep shows minute-scale fluctuations across brain and body in mice and humans.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: Chronux, boundedline, CircStat, 3 other tools, 10 references
[10] doi:10.1016/j.isci.2023.108327 [code]
CBD lengthens sleep but shortens ripples and leads to intact simple but worse cumulative memory.
Journal: iScience
In common: Chronux, boundedline, CircStat, 4 other tools, 10 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.7554/elife.110795.svg)](https://openscicode.org/badge/doi/10.7554/elife.110795)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.7554/elife.110795.svg
   :target: https://openscicode.org/badge/doi/10.7554/elife.110795
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.110795"><img src="https://openscicode.org/badge/doi/10.7554/elife.110795.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.