REM sleep prefrontal high-frequency oscillation chains mediate distinct cortical - hippocampal reactivation patterns compared to NREM sleep.
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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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
- function jds_CA1PFCRippleCoactivityREMDeltaFR(animalprefixlist)
- %JDS_CA1PFCRIPPLECOACTIVITYREMDELTAFR CA1 firing-rate change vs REM ripple cofiring.
- % jds_CA1PFCRippleCoactivityREMDeltaFR(animalprefixlist) computes each CA1
- % cell's mean z-scored cofiring with PFC cells in REM chain cortical
- % ripples, along with its firing rate in the first NREM bout, REM, and the
- % last NREM bout of each sleep epoch. Compares firing rates across sleep
- % stages (Friedman test) and relates NREM firing-rate change to REM
- % cofiring (rank-sum on high/low cofiring split, robust regression,
- % quartile plot).
- %
- % animalprefixlist - cell array of animal prefix strings
- day = 1;
- ncRippleCo = [];
- cRippleCo = [];
- firingRates = [];
- firingRatesWithRem = [];
- meanFRLow = [];
- meanFRHigh = [];
- upFR = [];
- downFR = [];
- for a = 1:length(animalprefixlist)
- animalprefix = char(animalprefixlist(a));
- dir = sprintf('/Volumes/JUSTIN/SingleDay/%s_direct/',animalprefix);
- %Load reactivation strength file for all assemblies and epochs
- load(sprintf('%s%sCA1_RTimeStrengthSleepNewSpk_20_%02d.mat',dir,animalprefix,day));
- CA1_R = RtimeStrength; clear RtimeStrength
- load(sprintf('%s%sPFC_RTimeStrengthSleepNewSpk_20_%02d.mat',dir,animalprefix,day));
- PFC_R = RtimeStrength; clear RtimeStrength
- load(sprintf('%s%sremeps%02d.mat',dir,animalprefix,day));
- load(sprintf('%s%sswsALL%02d.mat',dir,animalprefix,day));
- rem = load(sprintf('%s%srem%02d.mat',dir,animalprefix,day));
- rem = rem.rem;
- %Load ripples
- indrips = load(sprintf('%s%sctxrippletime_chainREM%02d.mat',dir,animalprefix,day));
- epochs = remeps;
- for e = 1:length(epochs)
- ep = epochs(e);
- if ep == 1
- continue
- end
- firstsws = [sws{day}{ep}.starttime(1) sws{day}{ep}.endtime(1)];
- lastsws = [sws{day}{ep}.starttime(end) sws{day}{ep}.endtime(end)];
- allrem = [rem{day}{ep}.starttime rem{day}{ep}.endtime];
- remdur = rem{day}{ep}.total_duration;
- if ((firstsws(2)-firstsws(1) < 30)) || ((lastsws(2)-lastsws(1) < 30))
- continue
- end
- [ctxidx, hpidx] = jds_getallepcells(dir, animalprefix, day, ep, []);
- CA1assemblytmp = CA1_R{ep}.reactivationStrength;
- CA1num = length(CA1assemblytmp);
- PFCassemblytmp = PFC_R{ep}.reactivationStrength;
- PFCnum = length(PFCassemblytmp);
- ncrips = [indrips.ctxripple{day}{ep}.starttimeC indrips.ctxripple{day}{ep}.endtimeC];
- if isempty(ncrips)
- continue
- end
- if length(ncrips(:,1)) > 10
- load(sprintf('%s%sspikes%02d.mat',dir,animalprefix,day));
- numncrips = length(ncrips(:,1));
- CA1idx = CA1_R{ep}.cellidx;
- PFCidx = PFC_R{ep}.cellidx;
- Chigh = CA1idx;
- Phigh = PFCidx;
- for c = 1:length(Chigh(:,1))
- tmp = [];
- cell1spks = spikes{day}{ep}{Chigh(c,1)}{Chigh(c,2)}.data(:,1);
- firstnremFR = (sum(isExcluded(cell1spks, firstsws)))/(firstsws(2)-firstsws(1));
- lastnremFR = (sum(isExcluded(cell1spks, lastsws)))/(lastsws(2)-lastsws(1));
- remFR = (sum(isExcluded(cell1spks, allrem)))/remdur;
- FRchange = lastnremFR - firstnremFR;
- meanRt = spikes{day}{ep}{Chigh(c,1)}{Chigh(c,2)}.meanrate;
- if FRchange < -5
- continue
- end
- firingRates = [firingRates; [firstnremFR lastnremFR]];
- firingRatesWithRem = [firingRatesWithRem; [firstnremFR remFR lastnremFR]];
- for pp = 1:length(Phigh(:,1))
- if (~isempty(spikes{day}{ep}{Chigh(c,1)}{Chigh(c,2)})) &&...
- (~isempty(spikes{day}{ep}{Phigh(pp,1)}{Phigh(pp,2)}))
- cell1spks = spikes{day}{ep}{Chigh(c,1)}{Chigh(c,2)}.data(:,1);
- cell2spks = spikes{day}{ep}{Phigh(pp,1)}{Phigh(pp,2)}.data(:,1);
- spkbins1_c = periodAssign(cell1spks, ncrips);
- spkbins2_p = periodAssign(cell2spks, ncrips);
- ripnum1_c = unique(spkbins1_c);
- activeinrip1_c = ripnum1_c(find(ripnum1_c ~= 0));
- ripnum2_p = unique(spkbins2_p);
- activeinrip2_p = ripnum2_p(find(ripnum2_p ~= 0));
- common_hprip = length(find(ismember(activeinrip1_c, activeinrip2_p)));
- %calculate zscored ripple coactivity
- nAB_hp = common_hprip;
- nA_hp = length(activeinrip1_c);
- nB_hp = length(activeinrip2_p);
- coact_hprip = (nAB_hp - (nA_hp*nB_hp/numncrips))/...
- sqrt(nA_hp*nB_hp*(numncrips - nA_hp)*(numncrips - nB_hp)/...
- (numncrips^2*(numncrips-1)));
- tmp = [tmp; coact_hprip];
- end
- end
- ncRippleCo = [ncRippleCo; [nanmean(tmp) FRchange meanRt remFR]];
- if FRchange > -0.0447% mean = -0.0363 %median = -0.0447
- upFR = [upFR; nanmean(tmp)];
- elseif FRchange < -0.0447
- downFR = [downFR; nanmean(tmp)];
- end
- end
- end
- end
- end
- p = friedman(firingRatesWithRem,1,'on')
- [p, tbl, stats] = friedman(firingRatesWithRem, 1, 'off');
- [COMPARISON,MEANS,H,GNAMES] = multcompare(stats, 'CType', 'bonferroni');
- meanFrs = mean(firingRatesWithRem);
- semFrs = std(firingRatesWithRem)./sqrt(size(firingRatesWithRem,1));
- figure
- errorbar(1:3,meanFrs,semFrs,'-k')
- xlim([0.5 3.5])
- xticks([1:3])
- xticklabels({'First NREM','REM','Last NREM'})
- set(gcf, 'renderer', 'painters')
- datacombinedEpFrs = [firingRatesWithRem(:,1); firingRatesWithRem(:,2); firingRatesWithRem(:,3)];
- g1 = repmat({'First NREM'},length(firingRatesWithRem(:,1)),1);
- g2 = repmat({['REM p=' num2str(COMPARISON(1,6))]},length(firingRatesWithRem(:,2)),1);
- g3 = repmat({['Last NREM p=' num2str(COMPARISON(2,6))]},length(firingRatesWithRem(:,3)),1);
- g = [g1;g2;g3];
- figure;
- h = boxplot(datacombinedEpFrs,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
- title(['CA1 FR eps-p = ' num2str(COMPARISON(3,6)) ' compare 2-3'])
- ylim([-0.4 1.6])
- yticks([-0.4:0.4:1.6])
- ylabel('Firing Rate (Hz)')
- set(gcf, 'renderer', 'painters')
- meanCo = 0; %split cells into cofiring > 0 vs < 0
- highCo = ncRippleCo(find(ncRippleCo(:,1)>meanCo),:);
- lowCo = ncRippleCo(find(ncRippleCo(:,1)<meanCo),:);
- [p1 h1] = ranksum(highCo(:,2),lowCo(:,2))
- datacombinedFRchange = [highCo(:,2); lowCo(:,2)];
- g1 = repmat({'HighCofiring'},length(highCo(:,2)),1);
- g2 = repmat({'LowCofiring'},length(lowCo(:,2)),1);
- g = [g1;g2];
- figure;
- h = boxplot(datacombinedFRchange,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
- title(['CA1 FR change-p = ' num2str(p1)])
- set(gcf, 'renderer', 'painters')
- [pFR hFR] = ranksum(highCo(:,3),lowCo(:,3))
- datacombinedFR = [highCo(:,3); lowCo(:,3)];
- g1 = repmat({'HighCofiring'},length(highCo(:,3)),1);
- g2 = repmat({'LowCofiring'},length(lowCo(:,3)),1);
- g = [g1;g2];
- figure;
- h = boxplot(datacombinedFR,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
- ylim([-1 1])
- title(['CA1 mean FR-p = ' num2str(pFR)])
- set(gcf, 'renderer', 'painters')
- figure;
- bar([mean(highCo(:,2)) mean(lowCo(:,2))],'k');
- hold on
- errorbar([1 2], [mean(highCo(:,2)) mean(lowCo(:,2))],...
- [std(highCo(:,2))./sqrt(length(highCo(:,2))) std(lowCo(:,2))./sqrt(length(lowCo(:,2)))],...
- 'LineStyle','none')
- xticklabels({'High cofiring','Low'})
- title(['CA1 FR change-p = ' num2str(p1)])
- ylabel('FR change first-last NREM')
- set(gcf, 'renderer', 'painters')
- first = firingRates(:,1);
- last = firingRates(:,2);
- [p2 h2] = signrank(firingRates(:,1),firingRates(:,2))
- datacombinedFRchange = [first; last];
- g1 = repmat({'first'},length(first),1);
- g2 = repmat({'last'},length(last),1);
- g = [g1;g2];
- figure; hold on
- h = boxplot(datacombinedFRchange,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
- xlim([0.5 2.5])
- set(gca, 'YScale', 'log')
- title(['CA1 FR -p = ' num2str(p2)])
- set(gcf, 'renderer', 'painters')
- [p3 h3] = ranksum(highCo(:,4),lowCo(:,4))
- datacombinedREMFR = [highCo(:,4); lowCo(:,4)];
- g1 = repmat({'HighCofiring'},length(highCo(:,4)),1);
- g2 = repmat({'LowCofiring'},length(lowCo(:,4)),1);
- g = [g1;g2];
- figure;
- h = boxplot(datacombinedREMFR,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
- ylim([-0.25 2.5])
- title(['CA1 REM FR -p = ' num2str(p3)])
- set(gcf, 'renderer', 'painters')
- [p4 h4] = ranksum(downFR,upFR)
- datacombinedFRchangeCofiring = [downFR; upFR];
- g1 = repmat({'FR change lower than mean'},length(downFR),1);
- g2 = repmat({'FR change higher than mean'},length(upFR),1);
- g = [g1;g2];
- figure;
- h = boxplot(datacombinedFRchangeCofiring,g,'OutlierSize',7,'Symbol','k+'); set(h(7,:),'Visible','off');
- ylabel('Cofiring with PFC')
- title(['CA1 Cofiring -p = ' num2str(p4)])
- set(gcf, 'renderer', 'painters')
- set(gca, 'YScale', 'log')
- xlim([0.5 2.5])
- for c = 1:length(first)
- x = [1 2];
- tmp = firingRates(c,:);
- if tmp(2) > tmp(1)
- plot(x,tmp,'-r')
- elseif tmp(2) < tmp(1)
- plot(x,tmp,'-k')
- elseif tmp(2) == tmp(1)
- plot(x,tmp,'-m')
- end
- end
- ylim([0.003 10])
- meanFr = mean(firingRates);
- semFr = std(firingRates)./sqrt(size(firingRates,1))
- figure
- errorbar([1:2], meanFr, semFr)
- xlim([0.5 2.5])
- ylim([0.46 0.6])
- title(['CA1 FR -p = ' num2str(p2)])
- figure
- scatter(ncRippleCo(:,1),ncRippleCo(:,2))
- mdlr = fitlm(ncRippleCo(:,1),ncRippleCo(:,2),'RobustOpts','on')
- pVal = mdlr.Coefficients.pValue(2);
- r = sqrt(mdlr.Rsquared.Ordinary);
- hold on
- lsline
- title(['CA1 FR change vs cofiring - p=' num2str(pVal) ' r=' num2str(r) ' Robust LR'])
- set(gcf, 'renderer', 'painters')
- figure
- idx = find(~isnan(ncRippleCo(:,1)));
- tt = ncRippleCo(idx,:);
- quartile_sep = floor(length(tt(:,1))/4);
- spklatquar = sortrows(tt,1);
- vals = [];
- cnt = 1;
- for s = 1:4
- if s < 4
- tmp = spklatquar(cnt:quartile_sep*s,1:2);
- tmp(:,3) = s;
- else
- tmp = spklatquar(cnt:end,1:2);
- tmp(:,3) = s;
- end
- vals{s} = tmp;
- cnt = cnt + quartile_sep;
- clear tmp
- end
- v = cellfun(@mean,vals,'UniformOutput',false);
- v2 = cellfun((@(x) std(x)./sqrt(length(x(:,1)))),vals,'UniformOutput',false);
- data_sems = vertcat(v2{:});
- data_means = vertcat(v{:});
- X = [1:4];
- errorbar(X, data_means(:,2), data_sems(:,2),'b','LineWidth',3);
- hold on
- xlim([0.5 4.5])
- ylabel('Firing Rate change')
- xlabel('Cofiring Quartile')
- title(['CA1 FR change vs cofiring - p=' num2str(pVal) ' r=' num2str(r) ' Robust LR'])
- set(gcf, 'renderer', 'painters')
jds_CA1PFCRippleCoactivityREMDeltaFR.m at commit 3b4245a, under MIT · at the source
Overview
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
3b4245accfa27af9ca9be6bf2538791fd948ab96, 7 September 2026Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
41 files
- Figure1/
jds_pEMG.m , MATLAB, 207 lines, 1 match - Figure1/
jds_rippleIEI.m , MATLAB, 69 lines - Figure1/
jds_rippleRateSleepState , MATLAB, 58 lines.m - Figure1/
jds_rippleTriggeredWavel , MATLAB, 153 linesetREM.m - Figure1/
jds_sleepStateVelTDCompa , MATLAB, 206 lines, 1 matchrison.m - Figure1/
jds_xCorrREM.m , MATLAB, 103 lines - Figure2/
jds_normPopulationActivi , MATLAB, 114 lines, 2 matchestyREM.m - Figure3/
jds_extractHighThetaPhas , MATLAB, 131 linesicREM.m - Figure3/
jds_phaseAmpCouplingREMS , MATLAB, 285 lines, 1 matchhuffle.m - Figure3/
jds_phaseSlopeIndexCA1PF , MATLAB, 244 lines, 2 matchesC.m - Figure3/
jds_phasicTonicRippleRat , MATLAB, 62 linese.m - Figure3/
jds_rippleThetaPhaseLock , MATLAB, 202 lines, 1 matchingREM.m - Figure3/
jds_rippleTriggeredWavel , MATLAB, 182 linesetPowerCompareREM.m - Figure3/
jds_thetaCoherenceREM.m , MATLAB, 206 lines, 1 match - Figure3/
jds_thetaNestingSurrogat , MATLAB, 363 lines, 3 matchese.m - Figure3/
jds_thetaPowerThetaIEI.m , MATLAB, 156 lines, 3 matches - Figure4/
jds_chainIsolatedRipples , MATLAB, 205 linesAmpFreqDurREM.m - Figure4/
jds_detectPopulationSupp , MATLAB, 204 lines, 2 matchesressionREM.m - Figure4/
jds_periSuppressionRippl , MATLAB, 84 lines, 1 matcheProbREM.m - Figure4/
jds_sleepStateCofiring.m , MATLAB, 151 lines - Figure4/
jds_sleepStateRipplePred , MATLAB, 244 lines, 2 matchesiction.m - Figure5/
jds_rankOrderCorrChainRE , MATLAB, 173 linesMExcludeIEI.m - Figure6/
jds_assemblyFieldMetrics , MATLAB, 107 lines, 2 matchesShuffle.m - Figure6/
jds_chainIsolatedAssembl , MATLAB, 87 linesyStrengthREM.m - Figure6/
jds_rippleTriggeredAssem , MATLAB, 236 linesblyStrengthREM.m - Figure6/
jds_rippleTriggeredAssem , MATLAB, 204 lines, 2 matchesblyStrengthREMxVal.m - Figure7/
jds_CA1PFCRippleCoactivi , MATLAB, 163 linestyAllPairsREM.m - Figure7/
jds_CA1PFCRippleCoactivi , MATLAB, 181 lines, 1 matchtyREMCA1RipAlignedMUA.m - Figure7/
jds_CA1PFCRippleCoactivi , MATLAB, 312 lines, 3 matchestyREMDeltaFR.m - Figure7/
jds_chainIsolatedCofirin , MATLAB, 149 linesg.m - Figure7/
jds_compareNREMCA1Suppre , MATLAB, 201 linesssionREMCofiring.m - Figure7/
jds_compareNREMCA1Suppre , MATLAB, 192 lines, 1 matchssionSWRReactivationREMC ofiring.m - Figure7/
jds_compareRippleModulat , MATLAB, 110 linesionShifters.m - Figure7/
jds_remRippleCA1Coactivi , MATLAB, 119 lines, 1 matchtySpatialCorr.m - Figure8/
jds_CA1PFCRippleCoactivi , MATLAB, 153 linestyREMShifters.m - Figure8/
jds_compareNREMCA1Suppre , MATLAB, 246 linesssionREMCofiringShifters .m - Figure8/
jds_rippleBurstingREM.m , MATLAB, 301 lines, 1 match - Figure8/
jds_thetaPhaseLockingPFC , MATLAB, 254 lines, 1 matchRipplesShifters.m - Figure8/
jds_thetaPhaseShiftersRE , MATLAB, 259 lines, 2 matchesM.m - LICENSE, License, 21 lines
- README.md, Text, 9 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:
- 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://
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://
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/
url = {https://
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/
VL - 15
SP - RP110795
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.7554/
"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":
"volume": "15",
"page": "RP110795",
"DOI": "10.7554/
"PMID": "42704658",
"PMCID": "PMC13549623",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://
"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: eNeuroIn 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 biologyIn 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: eLifeIn 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 communicationsIn 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 communicationsIn 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 AmericaIn 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 communicationsIn 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 reportsIn 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 AmericaIn 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: iScienceIn 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.
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: 1 repository of the authors' code, each at its verified commit and with its license, 39 scripts, and 34 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:e87dc27ad5069509…
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.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:endHTML
<!-- 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.
