Abstract
Precisely timed interactions between hippocampal and cortical cells, during quiescent periods dominated by replay of CA1 cell sequences, are thought to support memory consolidation. However, the processes during encoding that lead to coordinated offline replay remain poorly understood. We found entrainment of deep-layer medial entorhinal cortex (dMEC) cells to CA1 cell assemblies dictated their later recruitment and synchronisation with hippocampal replay. These assembly-entrained cells participated preferentially in replay which included their CA1 assembly partner and in forward-projecting replay sequences. Finally, replay coordination of these dMEC cells showed a marked experience-dependent increase; becoming stronger as an animal became fluent with a novel spatial task. Together these findings suggest cell assemblies may support information propagation in hippocampo-cortical circuits and the establishment of long-term memories.
One-Sentence Summary Entrainment of cortical cells to hippocampal cell assemblies dictates their later involvement in hippocampal replay
Main Text
Reactivation of hippocampal cell sequences (‘replay’(1)) during quiescent periods is thought to be the primary mechanism leading to the establishment of long-term memories (i.e ‘memory consolidation’)(2, 3). Indeed, disrupting replay has been found to impair spatial memory(2, 4) and replay periods are associated with heightened hippocampal-cortical synchrony(5, 6) as well as synergistic replay(7, 8). Importantly, disrupting hippocampal-cortical coordination during replay is known to impair memory consolidation(9). Critically, the processes during encoding that lead to coordinated hippocampal-cortical replay - paving the way for future memory consolidation - are poorly understood.
A wealth of research implicates the hippocampal theta rhythm(10) - a 5-12Hz oscillation, dominating the hippocampal local field potential (LFP) during locomotor activity - in plasticity and memory processes(11-13). Specifically, theta is thought to orchestrate the formation of hippocampal cell assemblies(14, 15) - small networks of neurons, with overlapping firing fields, that become active within ultra-short (10-30ms) time windows and whose activity is confined to particular phases of the theta cycle. Prominent theories suggest cell assemblies represent the fundamental neural code supporting multiple core functions of the brain, including memory formation(11, 16). This is due to the transient lifetime of a cell assembly which makes it an ideal candidate for inducing plasticity (i.e. spike-timing-dependent-plasticity(17)). Thus, we hypothesised that perhaps synergistic hippocampal-cortical replay also depends on the formation of hippocampal-cortical cell assemblies during encoding?
To explore this question we co-recorded CA1 place cells and excitatory cells from the deep layers (V/VI) of the MEC (Figure 1B, Fig. S1) – the main cortical output region of the hippocampus - over 2-6 days while animals ran on a Z-shaped track for food reward (RUN), while they rested following the track session (REST) and during a foraging session in the open-field following REST (Figure 1A, as described previously Olafsdottir et al.(7,8)). As the identification of replay trajectories depends on cells displaying spatially confined activity, we limited our analyses to dMEC cells which fell into one of the following functional classes: grid cells(18), head direction cells(19), conjunctive grid and head direction cells(20), border cells (21) and other spatial cells (53.52% of dMEC cells, Fig.1C, see Materials and Methods).
We first sought to identify dMEC cells that were entrained by a CA1 cell assembly. Given the role of theta in orchestrating cell assemblies we searched for dMEC cells that were coupled to CA1 cells in the theta-band. Specifically, we constructed cross-correlograms (+/-1sec) of spikes from pairs of dMEC and CA1 cells (Fig. 2A-C). The cross-correlograms were band-passed filtered in the theta- (5-12Hz) and broad-band (20-125Hz) and the ratio between the amplitude in the two bands was computed (i.e. high theta-to-broad-band ratio indicates theta-band coupling, Fig. 2C, see also Materials and Methods). To estimate significance, the dMEC spike train was shifted by random amounts (−2 to 2sec) 100 times. dMEC cells which showed significant coupling to at least one co-recorded CA1 cell in the theta-band were labelled as dMEC assembly cells (Materials and Methods). Using this method we observed a bimodal distribution in the dMEC population (Fig. S2) with just under half the cells showing such assembly-like coupling (40.4%, N=139, Fig. 2D, Fig. S3). Further, consistent with the suggestion that these cells are entrained by CA1 cell assemblies, they showed stronger phase coherence to hippocampal LFP-theta than other dMEC cells (assembly dMEC = 0.27 +/-0.03 other dMEC = 0.34+/-0.02, p = 0.037, Fig. 2G). Indeed, assembly cells showed similar phase coherence as co-recorded CA1 cells (0.25 +/-0.01, p>0.5), while other dMEC cells showed significantly lower coherence (p<0.0001). Finally, assembly cells also showed a preferred firing phase to hippocampal theta more closely aligned with that of CA1 cells than other dMEC cells (p = 0.01, Fig. 2H). Importantly, we found the different functional classes were equally represented among the two cell types (all p-values > 0.05, see Fig. S4) and the two groups did not differ in the degree of firing field overlap with co-recorded place cells (p = 0.13, Fig. 2E), or theta modulation of the individual spike train (p=0.18 Fig. 2F). Among the assembly cells, moreover, field overlap was similar for CA1 assembly cell partners and other CA1 cells (p = 0.34), suggesting the observed dMEC theta-band coupling to CA1 cells was not a simple by-product of theta co-modulation or firing field overlap but may rather reflect genuine entrainment by a CA1 cell assembly.
As cell assemblies have been implicated in memory-related processes, we asked if assembly dMEC cells were preferentially recruited during hippocampal replay events. To address this question, we firstly analysed dMEC activity in the two subpopulations during candidate hippocampal replay events (see Materials and Methods). First, we observed that both assembly dMEC cells as well as other cells were positively modulated by the occurrence of hippocampal replay (Fig. 3A-B), displaying greater activity during replay than periods outside replay. However, assembly dMEC cells showed significantly stronger modulation than other dMEC cells during replay events (Fig. 3B, p< 0.0001 at all time bins +/- ∼100ms from the middle of a replay event). Moreover, we found assembly dMEC cells were active in on average 8.54% (SD = 7.52) of replay events while other dMEC cells were on average active in 6.51% (SD = 5.42) of replay events, a difference found to be statistically significant (p = 0.0019, Fig. 3C).
Further, to assess if dMEC cells displaying assembly-like coupling to CA1 cells were also more functionally coordinated with hippocampal replay, we identified candidate replay events that expressed linear trajectories and assessed if the activity of the assembly dMEC cells was consistent with the trajectories encoded by CA1 cells (Fig. 3D, see Materials and Methods and Olafsdottir et al.(7),). To determine if the obtained replay coordination exceeded chance levels we randomly permuted the cell ID of dMEC cells 100 times. To note, similar results were obtained when the spatial location of dMEC firing fields were shuffled (see Fig. S5). We found both assembly dMEC as well as other dMEC cells showed significant coordination with hippocampal replay events, expressing more similar locations to CA1 cells during replay than expected by chance (assembly dMEC cells: p < 0.0001, other cells: p = 0.0001 Fig. 3E,F). However, dMEC assembly cells showed significantly greater coordination with hippocampal replay compared to dMEC cells which did not show assembly-like coupling (p < 0.0001, Fig. 3G). Yet, hippocampal replay can either express place cell sequences in the order experienced (‘forward’ replay) or depict backward-projecting sequences (‘reverse’ replay). Importantly, forward replay is thought to be more favourable for memory consolidation(3). Thus, we asked is dMEC assembly cell coordination with replay heightened for forward events? To address this question we analysed the coordination of assembly and other dMEC cells with hippocampal replay separately for forward and reverse events. We found dMEC assembly cells showed significant coordination with both forward and reverse replay (forward: p < 0.0001, reverse: p = 0.0066, Fig. 4A). Yet, they were significantly more coordinated with forward replay compared to reverse replay (p = 0.0002). Moreover, although other dMEC cells also showed weak coordination to both forward (p = 0.0012) and reverse (p = 0.0055) replay (Fig. 4B), they were not more coordinated with one type of replay over the other (p = 0.59). Indeed, the difference in replay coordination between the two dMEC cell groups was driven by the enhanced coordination that dMEC assembly cells showed for forward replay (p < 0.0001, Fig. 4C), whereas the difference in the degree of replay coordination between the two cell types did not differ for reverse replay (p = 0.31, Fig. 4D).
However, if dMEC cell coordination with hippocampal replay reflects entrainment to hippocampal assemblies then one would expect the replay coordination to be accentuated for events that specifically contain both members of a dMEC-CA1 assembly cell pair. To address this, we analysed separately replay events containing such assembly pairs (‘assembly events’) and those that only contained the dMEC assembly cell and other CA1 cells. First, we observed dMEC assembly cells were significantly more likely to be active in assembly events (11.81%, SD = 10.83) compared to non-assembly events (7.8%, SD = 7.35 p = 0.0002, Fig. 4E). However, assembly events showed similar functional coordination with replay compared to non-assembly events (p = 0.075, Fig. 4F). Yet, we observed replay coordination was significantly stronger for forward assembly events compared to forward non-assembly events (p = 0.0042, Fig. 4G). Whereas, for reverse replay events, replay coordination was similar for the two event types (p = 0.81, Fig. 4H).
Finally, if dMEC assembly cells play a privileged role in memory consolidation one might expect their coordination with replay to increase as the animals became more fluent with the task. To address this question, we analysed replay coordination for assembly and other dMEC cells as a function of how familiar the animals were with the Z-track. Specifically, we split the data into early (days1-2), mid (days3-4) and late (days5-6) learning periods. dMEC assembly cells displayed significant replay coordination during all learning periods (early: p = 0.018, mid: p = 0.013, late: p < 0.0001, Fig. 4Ii) and showed significantly greater coordination during late learning periods compared to early learning periods (p = 0.0068). To note, we observed a similar experience-dependent increase when the analysis was limited to assembly events (early vs mid: p = 0.016, early vs late: p = 0.0021, Fig. 4Ii). On the other hand, dMEC cells which did not display assembly-like activity showed no experience-dependent increase in replay coordination (all learning period comparisons p > 0.05, Fig. 4Ii). Moreover, we found the difference in replay coordination between the two cell types increased as the animals became more experienced with the task, reaching statistical significance during late learning periods (early: p = 0.08; mid: p = 0.085; late: p < 0.001, Fig. 4Iii).
Influential theories posit that the formation of long-term episodic and spatial memories relies on sub-second activity synchronisation between hippocampal and cortical units during offline periods(7, 23, 24). Yet it has hitherto remained unclear how slow, behavioural-time scale activity patterns during encoding can lead to millisecond-level cross-regional offline synchrony. We show this offline coordination may be mediated by the entrainment of cortical cells to hippocampal cell assemblies. Specifically, CA1 assembly-entrained dMEC cells were preferentially recruited to CA1 replay and expressed more similar locations during replay compared to other, non-entrained dMEC cells. Further, replay coordination of these dMEC assembly cells was heightened during forward-projecting replay and when the replay included the dMEC cell’s assembly partner. Finally, the assembly cell replay coordination showed a marked experience-dependent increase. We therefore conclude hippocampal-cortical replay coordination – a pre-requisite for memory consolidation – depends on the formation of hippocampal-cortical cell assemblies during encoding.
Cell assemblies have been mooted to perform a central role in synaptic plasticity and information propagation in neural circuits(14, 16). Namely, the ephemeral lifetime of cell assemblies fits the requirements for inducing spike-timing-dependent-plasticity(17) (STDP) and matches the membrane time constant (∼10-30ms) of many principal cells(25). Thus, cell assemblies represent the ideal candidate for inducing plasticity in downstream circuits. Indeed, cell assemblies have been identified repeatedly in the hippocampus(14, 15) and their sequential expression - nested within individual theta cycles - is thought to be required for offline reactivations(26, 27). However, our study is the first to demonstrate hippocampal cell assemblies can entrain cortical neurons and that this entrainment may influence the establishment of hippocampal-cortical reactivation synchrony; a requirement for successful memory consolidation. Further, finding that a sub-population of cells residing in the deep-layers of the MEC may play a privileged role in memory consolidation is consistent with the anatomical position of this subregion – i.e. it is the principal output centre of the hippocampus(28, 29) - and extends emerging theories pointing to the dMEC as a critical sub-region supporting the effective transfer of memories to the cortex (30). Finally our findings highlight the central role of the theta rhythm in the propagation of information and neural synchronisation throughout the hippocampal-entorhinal system.
Funding
This work was supported by a Donders Mohrmann Fellowship to H.F.O. and a Sir Henry Dale fellowship to C.B..
Author contributions
H.F.O and C.B. conceived of the original experiment. H.F.O performed the original experiments and collected the original data. D.S.P. and H.F.O. conceived, designed and performed the analyses. D.S.P. and H.F.O. wrote the manuscript.
Competing interests
Authors declare that they have no competing interests.
Data and materials availability
Data analysis code (Python) used to analyses CA1-dMEC coupling is available on Gitlab(https://gitlab.com/diogo.santos.pata/theta-coordinates-hippocampal-entorhinal-ensembles-during-wake-and-rest), code for analysing replay (Matlab) can be obtained by contacting H.F.O. The raw data can be accessed here: https://doi.org/10.5281/zenodo.5566548
Supplementary Materials
Materials and Methods
Animals and surgery
Six male Lister Hooded rats were used in this study. All procedures were approved by the UK Home Office, subject to the restrictions and provisions contained in the Animals (Scientific Procedures) Act of 1986. All rats (330-400g at implantation) received two microdrives, each carrying eight tetrodes of twisted 17µm HM-L coated platinum iridium wire (90% and 10%, respectively; California Fine Wire), targeted to the right CA1 (ML: 2.2mm, AP: 3.8mm posterior to Bregma) and left medial entorhinal cortex (MEC) (ML = 4.5mm, AP = 0.3-0.7 anterior to the transverse sinus, angled between 8-10°). Wires were platinum plated to reduce impedance to 200-300kΩ at 1 kHz. After rats had recovered from surgery they were maintained at 90% of free-feeding weight with ad libitum access to water, and were housed individually on a 12-hr light/dark cycle.
Recording
Screening was performed post-surgically after a 1-week recovery period. An Axona recording system (Axona Ltd.) was used to acquire the single-units and positional data (for details of the recording system and basic recording protocol see Olafsdottir et al. (2016)). The position and head direction of the animals was inferred using an overhead video camera to record the location of two light-emitting diode (LED) mounted on the animals’ head-stages (50Hz). Tetrodes were gradually advanced in 62.5um steps across days until place cells (CA1) or grid cells (MEC) were found.
Experimental apparatus and protocol
The experiment was run during the animals’ light period to encourage quiet restfulness during the rest session. Animals ran on a Z-shaped track, elevated 75cm off the ground with 10cm wide runways. The two parallel tracks of the Z (190cm each) were connected by a diagonal section (220cm). The entire track was surrounded by plain black curtains with no distal cues. During each track session, animals were required to complete laps on the elevated Z-track, traversing each of the three tracks in order before returning in the other direction. At each end and corner, animals received a sweetened rice grain. Importantly, reward was withheld if the animal made an incorrect turn at the corners. Four animals (R2142, R2192, R2198, and R2217) were trained to run on the track for 3 days before recording commenced. For the other animals (R2242, R2335, R2336, R2337), recordings were made from the first day of exposure to the Z-track task.
Following the track session, rats were placed in the rest enclosure for 90 minutes. The rest enclosure consisted of a cylindrically shaped environment (18cm diameter, 61cm high) with a towel placed at the bottom and was located outside of the curtains which surrounded the Z-track. Animals were not able to see the surrounding room while in the rest enclosure. Prior to the experiment, rats had been familiarised with the rest enclosure for at least 7 days. Animals R2242, R2335, R2336 and R2337, were also placed in the rest enclosure for 90 minutes prior to the first Z-track session on day 1 of the experiment. Recordings from this ‘pre-rest’ session were not analysed as part of this study. Following the rest session, animals completed a 20min foraging session in an open field environment. This session was included to enable functional classification of MEC cells and was not analysed in the current study.
Data inclusion/exclusion
Sessions recorded on days1-6 were submitted for analysis. One session was excluded as result of data loss caused by the headstages becoming disconnected from the microdrives during the rest session (R2336 day4) and one due to absence of an eeg recording (R2142, day4). In total 22 sessions were submitted for further analysis.
Data Analysis
Theta-band activity coupling
In order to assess theta-band activity coupling between dMEC-CA1 cell pairs, the densities of each cell spiking activity (1ms bins) during Z-track periods were extracted and lagged-correlated (−30 to 30 sec). The resulting and convolved (20ms) correlation vector was filtered in both the theta (5-12 Hz) and broad (20-125 Hz) bands (finite impulse response filter, ‘Hamming’ window), and then Hilbert-transformed to obtain their respective amplitude envelope (fig 2-C). Theta-broad band scores were then obtained by the theta and broad-band mean amplitude ratio within the -1 to 1 second window.
Next, we assessed whether each dMEC-CA1 cell pair was significantly coupled in the theta band by comparing the theta-broad band score against a distribution of spike time permutation derived theta-broad band scores (100 permutations). For each permutation, we randomly shifted the spike times of the dMEC cell (−2 to 2 seconds) and calculated the theta-broad band score. To control for multiple comparisons (i.e. the activity of each dMEC cell was compared to that of multiple CA1 cells) cells pairs whose theta-broad band score was above or equal the 99th percentile of the permutation distribution were considered to be coupled in the theta band
Theta coherence
dMEC cells were scored by their locking to ongoing hippocampal theta waves. To do so, we first identified the electrode in the CA1 region with strongest theta (5-12Hz) to delta (2-4 Hz) ratio. We filtered the selected CA1 channel’s signal in the theta band (finite impulse response filter, ‘Hamming’ window), Hilbert-transformed it and extracted its instantaneous phase, allowing to identify the theta phase of each spike.
Only spikes elicited when the animal’s running speed was above 3cm/s were included in this analysis. Theta coherence was computed via the Rayleigh test of uniformity on each cell’s spiking theta phases.
Theta modulation
Theta modulation was computed for each dMEC cell individually. Similarly to theta-band activity coupling, each cell’s spiking activity (1ms bins) density was computed, autocorrelated (−30 to 30 sec) and convolved (20 ms). Next, theta-band modulation score was calculated by comparing the strength of theta-band against the strength of broad-band as described for theta-band activity coupling. However, for theta modulation score, each permutation was performed by randomly scrambling spike times within the sessions time window. dMEC cells whose theta-band score was above or equal the 95 percentile of the permutation distribution were considered to be theta modulated.
Spike synchronization
Lagged spike synchronization between dMEC and CA1 cell pairs was quantified by computing the time difference between dMEC and CA1 spikes within the –200 to 200ms window aligned to dMEC spike times (Fig. 2B). The resulting spike-lag distribution (2ms bins) was normalised and smoothed (flat kernel size=20ms). Finally, we ran the same procedure 100 times but shifting the timings of dMEC spikes (−2 to 2 seconds) and used the 95 percentile of each time bin permutation distribution to assess significance.
Hippocampal replay
Ratemaps for the Z-track were generated after first excluding areas in which the animals regularly performed non-perambulatory behaviours (e.g. eating, grooming); the final 10cm at either end of the track and 5cm around each of the two corners. Similarly, periods when the animals’ running speed was <3cm/s were also excluded. To generate ratemaps, the animals’ paths were linearised, dwell time and spikes binned into 2cm bins and smoothed with a Gaussian kernel (σ = 5bins), firing rates were calculated for each bin by dividing spike number by dwell time. Separate ratemaps were generated for runs in the outbound and inbound directions. To identify place fields, spatial bins whose rate exceeded the mean firing rate of the cell on the track were only considered. Hippocampal cells were classified as place cells if they exhibited firing greater than its mean rate for 20contiguous bins and if the peak firing rate was >1hz. Interneurons, identified by narrow waveforms and high firing rates, were excluded from all analyses
Putative replay events were identified based on the activity of hippocampal place cells using a similar method to Olafsdottir et al(2016). To identify reactivation events, multi-unit (MU) activity from CA1 place cells were binned into 1ms temporal bins and smoothed with a Guassian kernel (σ = 5ms). Periods when the MU activity exceeded the mean rate by 3 standard deviations were identified as candidate reactivation events. The start and end points of each candidate event were determined as the time when the MU activity fell back to the mean. Events less than 40ms long were rejected.
For position decoding of reactivations a Bayesian framework(Olafsdottir et al., 2016) was used to calculate the probability of the animal’s position in each spatial bin given the observed spikes; the posterior probability matrix. Note, two posterior probability matrices were generated for each event, one for inbound runs and one for outbound runs. Spike data was divided up into 10ms temporal bins, and decoding was carried out on each bin separately.
To score the extent to which putative trajectory events represented a constant speed trajectory along the linearised Z-track we applied a line-fitting algorithm(Olafsdottir et al., 2016). Lines were defined with a gradient (V) and intercept (c), equivalent to the velocity and starting location of the trajectory. The goodness of fit of a given line was defined as the proportion of the probability distribution that lay within 30cm of it. Specifically where P is the probability matrix: where t indexes the time bins of width and d is set to 30cm. was maximised using an exhaustive search to test all combinations of V between -50m/s and 50m/s in 0.5m/s increments (excluding slow trajectories with speeds > -2m/s and < 2m/s) and c between -15m and 21m in 0.01m increments.
To assess candidate replay events for significance we carried out a spatial field shuffle of the place cell ratemaps. Specifically, each ratemap was ‘rotated’ by shifting it relative to the track by a random number of bins drawn from a flat distribution between 1 and the length of the track minus 1 bin. The ratemap for each cell was rotated independently and in each case trailing bins were wrapped around to ensure an equal number of bins were used for each shuffle. This process was repeated 100 times for each event and for each shuffle we recalculated a goodness of fit measure (as described above). This enabled us to estimate the probability of obtaining a given event by chance. Replay trajectory events were defined as those with an individual p-value below 0.025 – to control for multiple comparisons for in- and outbound runs.
dMEC-hippocampal replay coordination
To analyse dMEC participation in replay events we carried out two analyses. First, the proportion of events a dMEC cell was active in was estimated for assembly and other dMEC cells. Second, a peri-stimulus-time-histogram (PSTH) centred on the middle of a hippocampal replay event was generated for all candidate replay events. The PSTH was then summed and mean normalised (mean-data). To note, for replay participation analyses all candidate reactivation events were included (not just those expressing linear trajectories).
To investigate replay coordination between dMEC and place cells we applied the same framework as we did in previous work (Olafsdottir et al. (2016)). Namely, a bayesian decoding was done on dMEC cell spikes (to note, this analysis was done separately for assembly and other dMEC cells). Hence, for each replay event we also calculated a posterior probability matrix based solely on the observed dMEC cell spikes. Rather than fitting straight-line trajectories to the dMEC cell posteriors, we compared the best-fit line from the concurrently recorded place cell posterior. Specifically, the dMEC-place cell replay coherence score was calculated using the slope and intercept parameters of the best-fit line of the accompanying place cell event. This value we used to index replay coordination between hippocampal and dMEC cells. To estimate statistical significance of the observed coherence scores we used two different shuffling procedures.
In the first instance a shuffle distribution was generated by randomly permuting the cell IDs of dMEC cells so that cells were allocated a random ratemap (from other dMEC spatial cells recorded in the session). The line fitting procedure to estimate dMEC-place cell replay coherence, described above, was re-run. To assess the statistical significance of the obtained distribution of coherence scores against the shuffle we bootstrapped the data distribution 10,000 times, computing the cumulative distribution and the corresponding area-under-the-curve (AUC, i.e. the sum of the cumulative distribution) for each bootstrap. Difference scores between each of the 10,000 AUC scores obtained from the bootstrapped data and the shuffle distribution were computed and the 95% confidence interval estimated based on these difference scores. A result was deemed statistically significant if the confidence interval did not contain 0.
Second, we applied a spatial field shuffling procedure. This procedure was similar to the shuffling procedure used for place cell events. Specifically, each dMECcell ratemap was shuffled by shifting it relative to the track by a random number between 10 and the length of the track minus 10 bins. The ratemap for each cell was rotated independently and trailing bins were wrapped around to ensure an equal number of bins were used for each shuffle. This process was repeated 100 times for each event. For each shuffle, the dMEC-place cell replay coherence score was calculated using the slope and intercept parameters of the best-fit line of the accompanying place cell event (unshuffled). To assess statistical significance we used an AUC test as described above.
Experience-dependent analysis
To analyse change in dMEC-CA1 replay coordination as a function of experience with the task, the data was divided into three learning periods: early (days1-2), mid(days3-4) and late(days5-6). For each learning period the mean dMEC-CA1 replay coordination was calculated and subtracted from the mean obtained from the shuffle distribution for that learning period.
Functional classification of dMEC cells
dMEC cells were classified as grid cells using a shuffling procedure similar to that applied elsewhere. Specifically, the hexagonal regularity of each cell was assessed using the ‘standard’ gridness measure (Hafting, 2006). The values calculated for each cell were compared with a null distribution of 100 values obtained by calculating the gridness values of data in which the cell’s spike train had been randomly permuted relative to the position of the animal by at least 30s. A cell was considered to be a grid cell and admitted to the main analysis if its standard or modified gridness value exceeded the 95th percentile of the matching null distribution.
Direction modulation was assessed by calculating the Kullback-Leibler (KL) divergence between the cell’s polar rate map and a uniform circular distribution with equal mean:
Where τ1(i) is the value in the ith bin of a polar rate map normalised to have area 1 (as a probability distribution) and τ2(i) is the ith bin of a uniform probability distribution with the same number of bins as τ1. Grid cells with KL divergence greater than 0.10 were considered to be directional.
Border score was computed as previously described (Solstad et al., 2008). In summary, each cell’s firing fields were estimated by identifying groups of continuous spatial bins (bin size = 2cm) where the firing rate was above 30% of the cell’s peak firing rate and smaller than 70% of the arena’s area. Next, a border score (in the -1 to 1 range) was computed for each boundary individually by computing the relation between the firing field’s extent and mean distance to the wall. As in Solstad et al. (2008), cells with a border score above 0.5 were considered border cells.
Spatial modulation was assessed using Skagg’s information (Skaggs et al. 1993). Cells whose Skaggs information (bits/spike) exceed 1 were considered as spatial cells. To note spatial cells were those cells that were not classified as any of the other spatial cell types described above.
dMEC-CA1 field overlap
In order to account for potential confounds derived from similar spatial tunning between dMEC and CA1 cells, we quantified the overlap of each cell pair rate maps during Z-track for each running direction (in- and out-bound). Only spatial bins with positive rates were included. dMEC-CA1 field overlap was scored by computing the correlation coefficient (Pearson-R test) between the two cells rate maps.
Statistics
To compute statistical significance, all data were bootstrapped (resampling with replacement) and the 95% confidence intervals computed. For example, to assess if phase dMEC assembly cells were more likely to be active in replay events than other dMEC cells the distribution of replay participation scores were bootstrapped for assembly and other cells separately, and mean replay participation computed for each bootstrap. Then difference scores were computed by subtracting the bootstrapped replay participation scores of the dMEC assembly cells from the bootstrapped participation scores of other cells and the 95% confidence interval of this difference distribution computed. If the CI did not contain 0, the result was deemed statistically significant. To obtain p-values, the number of difference scores >0 was estimated and divided by the number of bootstraps (N= 10000).
Histology
Rats were anaesthetised (4% isoflurane and 4L/min O2), injected intra-peritoneal with an overdose of Euthatal (sodium pentobarbital) after which they were transcardially perfused with saline followed by a 4% paraformaldehyde solution (PFA). Brains were carefully removed and stored in PFA which was exchanged for a 4% PFA solution in PBS (phosphate buffered saline) with 20% sucrose 2-3 days prior to sectioning. Subsequently, 40-50μm frozen coronal sections were cut using a cryostat, mounted on gelatine-coated glass slides and stained with cresyl violet. Images of the sections were acquired using an Olympus microscope, Xli digital camera (XL Imaging Ltd.). Sections in which clear tracks from tetrode bundles could be seen were used to confirm CA1 recording locations.
Acknowledgments
We thank Daniel Bush and Federico Stella for useful feedback on the manuscript.