<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.3 20210610//EN"  "JATS-archivearticle1-3-mathml3.dtd"><article xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.3"><front><journal-meta><journal-id journal-id-type="nlm-ta">elife</journal-id><journal-id journal-id-type="publisher-id">eLife</journal-id><journal-title-group><journal-title>eLife</journal-title></journal-title-group><issn publication-format="electronic" pub-type="epub">2050-084X</issn><publisher><publisher-name>eLife Sciences Publications, Ltd</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">82952</article-id><article-id pub-id-type="doi">10.7554/eLife.82952</article-id><article-categories><subj-group subj-group-type="display-channel"><subject>Research Article</subject></subj-group><subj-group subj-group-type="heading"><subject>Neuroscience</subject></subj-group></article-categories><title-group><article-title>Coordinated head direction representations in mouse anterodorsal thalamic nucleus and retrosplenial cortex</article-title></title-group><contrib-group><contrib contrib-type="author" id="author-346014"><name><surname>van der Goes</surname><given-names>Marie-Sophie H</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0001-5251-6664</contrib-id><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="other" rid="fund5"/><xref ref-type="fn" rid="con1"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" id="author-346314"><name><surname>Voigts</surname><given-names>Jakob</given-names></name><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="other" rid="fund4"/><xref ref-type="fn" rid="con2"/><xref ref-type="fn" rid="conf2"/></contrib><contrib contrib-type="author" id="author-29683"><name><surname>Newman</surname><given-names>Jonathan P</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-5425-3340</contrib-id><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="aff" rid="aff4">4</xref><xref ref-type="fn" rid="con3"/><xref ref-type="fn" rid="conf3"/></contrib><contrib contrib-type="author" id="author-124201"><name><surname>Toloza</surname><given-names>Enrique HS</given-names></name><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff5">5</xref><xref ref-type="aff" rid="aff6">6</xref><xref ref-type="fn" rid="con4"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" id="author-346016"><name><surname>Brown</surname><given-names>Norma J</given-names></name><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="fn" rid="con5"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" id="author-346315"><name><surname>Murugan</surname><given-names>Pranav</given-names></name><xref ref-type="aff" rid="aff7">7</xref><xref ref-type="fn" rid="con6"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" corresp="yes" id="author-98896"><name><surname>Harnett</surname><given-names>Mark T</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-5301-1139</contrib-id><email>harnett@mit.edu</email><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="other" rid="fund1"/><xref ref-type="other" rid="fund2"/><xref ref-type="other" rid="fund3"/><xref ref-type="fn" rid="con7"/><xref ref-type="fn" rid="conf1"/></contrib><aff id="aff1"><label>1</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/05ymca674</institution-id><institution>Department of Brain &amp; Cognitive Sciences, McGovern Institute for Brain Research, Massachusetts Institute of Technology</institution></institution-wrap><addr-line><named-content content-type="city">Cambridge</named-content></addr-line><country>United States</country></aff><aff id="aff2"><label>2</label><institution>Open-Ephys Inc</institution><addr-line><named-content content-type="city">Atlanta</named-content></addr-line><country>United States</country></aff><aff id="aff3"><label>3</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/013sk6x84</institution-id><institution>HHMI Janelia Research Campus</institution></institution-wrap><addr-line><named-content content-type="city">Ashburn</named-content></addr-line><country>United States</country></aff><aff id="aff4"><label>4</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/042nb2s44</institution-id><institution>Department of Brain &amp; Cognitive Sciences, Picower Institute for Learning and Memory, Massachusetts Institute of Technology</institution></institution-wrap><addr-line><named-content content-type="city">Cambridge</named-content></addr-line><country>United States</country></aff><aff id="aff5"><label>5</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/042nb2s44</institution-id><institution>Department of Physics, Massachusetts Institute of Technology</institution></institution-wrap><addr-line><named-content content-type="city">Cambridge</named-content></addr-line><country>United States</country></aff><aff id="aff6"><label>6</label><institution>Harvard Medical School</institution><addr-line><named-content content-type="city">Boston</named-content></addr-line><country>United States</country></aff><aff id="aff7"><label>7</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/042nb2s44</institution-id><institution>Department of Electrical Engineering and Computer Science, Massachusetts Institute of Technology</institution></institution-wrap><addr-line><named-content content-type="city">Cambridge</named-content></addr-line><country>United States</country></aff></contrib-group><contrib-group content-type="section"><contrib contrib-type="editor"><name><surname>Peyrache</surname><given-names>Adrien</given-names></name><role>Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/01pxwe438</institution-id><institution>McGill University</institution></institution-wrap><country>Canada</country></aff></contrib><contrib contrib-type="senior_editor"><name><surname>Colgin</surname><given-names>Laura L</given-names></name><role>Senior Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00hj54h04</institution-id><institution>University of Texas at Austin</institution></institution-wrap><country>United States</country></aff></contrib></contrib-group><pub-date publication-format="electronic" date-type="publication"><day>12</day><month>03</month><year>2024</year></pub-date><volume>13</volume><elocation-id>e82952</elocation-id><history><date date-type="received" iso-8601-date="2022-08-24"><day>24</day><month>08</month><year>2022</year></date><date date-type="accepted" iso-8601-date="2024-02-23"><day>23</day><month>02</month><year>2024</year></date></history><pub-history><event><event-desc>This manuscript was published as a preprint at bioRxiv.</event-desc><date date-type="preprint" iso-8601-date="2022-08-22"><day>22</day><month>08</month><year>2022</year></date><self-uri content-type="preprint" xlink:href="https://doi.org/10.1101/2022.08.20.504604"/></event></pub-history><permissions><copyright-statement>© 2024, van der Goes et al</copyright-statement><copyright-year>2024</copyright-year><copyright-holder>van der Goes et al</copyright-holder><ali:free_to_read/><license xlink:href="http://creativecommons.org/licenses/by/4.0/"><ali:license_ref>http://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>This article is distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License</ext-link>, which permits unrestricted use and redistribution provided that the original author and source are credited.</license-p></license></permissions><self-uri content-type="pdf" xlink:href="elife-82952-v1.pdf"/><self-uri content-type="figures-pdf" xlink:href="elife-82952-figures-v1.pdf"/><abstract><p>The sense of direction is critical for survival in changing environments and relies on flexibly integrating self-motion signals with external sensory cues. While the anatomical substrates involved in head direction (HD) coding are well known, the mechanisms by which visual information updates HD representations remain poorly understood. Retrosplenial cortex (RSC) plays a key role in forming coherent representations of space in mammals and it encodes a variety of navigational variables, including HD. Here, we use simultaneous two-area tetrode recording to show that RSC HD representation is nearly synchronous with that of the anterodorsal nucleus of thalamus (ADn), the obligatory thalamic relay of HD to cortex, during rotation of a prominent visual cue. Moreover, coordination of HD representations in the two regions is maintained during darkness. We further show that anatomical and functional connectivity are consistent with a strong feedforward drive of HD information from ADn to RSC, with anatomically restricted corticothalamic feedback. Together, our results indicate a concerted global HD reference update across cortex and thalamus.</p></abstract><kwd-group kwd-group-type="author-keywords"><kwd>head direction</kwd><kwd>retrosplenial cortex</kwd><kwd>anterodorsal thalamus</kwd></kwd-group><kwd-group kwd-group-type="research-organism"><title>Research organism</title><kwd>Mouse</kwd></kwd-group><funding-group><award-group id="fund1"><funding-source><institution-wrap><institution-id institution-id-type="FundRef">http://dx.doi.org/10.13039/100000002</institution-id><institution>National Institutes of Health</institution></institution-wrap></funding-source><award-id>RO1NS106031</award-id><principal-award-recipient><name><surname>Harnett</surname><given-names>Mark T</given-names></name></principal-award-recipient></award-group><award-group id="fund2"><funding-source><institution-wrap><institution-id institution-id-type="FundRef">http://dx.doi.org/10.13039/100006919</institution-id><institution>Massachusetts Institute of Technology</institution></institution-wrap></funding-source><award-id>James W. and Patricia T. Poitras Fund</award-id><principal-award-recipient><name><surname>Harnett</surname><given-names>Mark T</given-names></name></principal-award-recipient></award-group><award-group id="fund3"><funding-source><institution-wrap><institution-id institution-id-type="FundRef">http://dx.doi.org/10.13039/100005634</institution-id><institution>Esther A. and Joseph Klingenstein Fund</institution></institution-wrap></funding-source><award-id>Simons Fellowship Program</award-id><principal-award-recipient><name><surname>Harnett</surname><given-names>Mark T</given-names></name></principal-award-recipient></award-group><award-group id="fund4"><funding-source><institution-wrap><institution-id institution-id-type="FundRef">http://dx.doi.org/10.13039/100000002</institution-id><institution>National Institutes of Health</institution></institution-wrap></funding-source><award-id>K99 6943778</award-id><principal-award-recipient><name><surname>Voigts</surname><given-names>Jakob</given-names></name></principal-award-recipient></award-group><award-group id="fund5"><funding-source><institution-wrap><institution-id institution-id-type="FundRef">http://dx.doi.org/10.13039/100006919</institution-id><institution>Massachusetts Institute of Technology</institution></institution-wrap></funding-source><award-id>MathWorks Science Fellowship</award-id><principal-award-recipient><name><surname>van der Goes</surname><given-names>Marie-Sophie H</given-names></name></principal-award-recipient></award-group><funding-statement>The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.</funding-statement></funding-group><custom-meta-group><custom-meta specific-use="meta-only"><meta-name>Author impact statement</meta-name><meta-value>Dual site recordings of mouse anterodorsal thalamic nucleus and retrosplenial cortex reveal near 0-ms lag between the head direction representations of the two regions after cue rotations and correlated drift in darkness.</meta-value></custom-meta></custom-meta-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>In order to enable efficient navigation, internal representations of self-location and orientation must be updated as sensory experience and behavioral demands fluctuate. Changes in environmental information are known to trigger remapping of place (<xref ref-type="bibr" rid="bib55">Muller and Kubie, 1987</xref>), grid (<xref ref-type="bibr" rid="bib25">Fyhn et al., 2007</xref>) and realignment of HD receptive fields (<xref ref-type="bibr" rid="bib81">Taube, 1990</xref>; <xref ref-type="bibr" rid="bib28">Goodridge et al., 1998</xref>; <xref ref-type="bibr" rid="bib42">Knierim et al., 1998</xref>). Visual cues influence the HD signal by providing an external anchoring reference (<xref ref-type="bibr" rid="bib81">Taube, 1990</xref>; <xref ref-type="bibr" rid="bib82">Taube and Burton, 1995</xref>), counteracting the drift from stochastic error in angular velocity integration observed in darkness (<xref ref-type="bibr" rid="bib54">Mizumori and Williams, 1993</xref>; <xref ref-type="bibr" rid="bib76">Stackman and Taube, 1997</xref>; <xref ref-type="bibr" rid="bib83">Valerio and Taube, 2012</xref>). In the insect and mammalian HD systems, realignment has been observed in the form of rotations of preferred firing directions (PFD) of HD cells in response to rotations of a prominent visual cue - often a color-contrast card (<xref ref-type="bibr" rid="bib81">Taube, 1990</xref>; <xref ref-type="bibr" rid="bib28">Goodridge et al., 1998</xref>), a narrow band (<xref ref-type="bibr" rid="bib65">Seelig and Jayaraman, 2015</xref>) or scene (<xref ref-type="bibr" rid="bib40">Kim et al., 2019</xref>) on an LED screen. Hebbian synaptic plasticity mechanisms, acting in specific circuit arrangements, have been proposed to explain these phenomena in the fly ellipsoid body (<xref ref-type="bibr" rid="bib20">Fisher et al., 2019</xref>; <xref ref-type="bibr" rid="bib40">Kim et al., 2019</xref>). Network models with similar architecture have been applied to the rodent HD system (<xref ref-type="bibr" rid="bib30">Hahnloser, 2003</xref>; <xref ref-type="bibr" rid="bib44">Knight et al., 2014</xref>; <xref ref-type="bibr" rid="bib58">Page et al., 2014</xref>; <xref ref-type="bibr" rid="bib75">Skaggs et al., 1995</xref>). However, unlike the fly brain (<xref ref-type="bibr" rid="bib22">Franconville et al., 2018</xref>; <xref ref-type="bibr" rid="bib31">Hanesch et al., 1989</xref>), the circuitry that drives HD realignment in the rodent brain is not yet resolved. Several studies have indicated that cortical regions play a role in the stability and the visual anchoring of HD cells (<xref ref-type="bibr" rid="bib15">Clark et al., 2010</xref>; <xref ref-type="bibr" rid="bib26">Golob and Taube, 1999</xref>; <xref ref-type="bibr" rid="bib27">Goodridge and Taube, 1997</xref>), but whether the HD representation is first aligned to the sensory cues in cortex and then updated in downstream regions is still unknown. Understanding the dynamics and the connectivity of visual-HD integration is the first necessary first step to uncover the mechanisms that lead to realignment in the mammalian HD system.</p><p>Previous studies in the rat indicate that the HD code in the anterodorsal thalamic nucleus (ADn), the necessary thalamic relay of HD to the hippocampal formation and cortex (<xref ref-type="bibr" rid="bib10">Calton et al., 2003</xref>; <xref ref-type="bibr" rid="bib23">Frost et al., 2021</xref>; <xref ref-type="bibr" rid="bib27">Goodridge and Taube, 1997</xref>; <xref ref-type="bibr" rid="bib37">Jenkins et al., 2004</xref>; <xref ref-type="bibr" rid="bib96">Winter et al., 2015</xref>), becomes unstable and is less likely to remap to reflect cue rotations after lesions to the retrosplenial cortex (RSC; <xref ref-type="bibr" rid="bib15">Clark et al., 2010</xref>) or the post-subiculum (POS; <xref ref-type="bibr" rid="bib27">Goodridge and Taube, 1997</xref>). Both of these regions are strongly interconnected with visual areas (<xref ref-type="bibr" rid="bib80">Sugar et al., 2011</xref>; <xref ref-type="bibr" rid="bib87">Van Groen and Wyss, 2003</xref>), with each other (<xref ref-type="bibr" rid="bib45">Kononenko and Witter, 2012</xref>; <xref ref-type="bibr" rid="bib97">Wyss and Van Groen, 1992</xref>), and with ADn (<xref ref-type="bibr" rid="bib36">Jankowski et al., 2013</xref>). While HD dominates the spatial code in POS (<xref ref-type="bibr" rid="bib81">Taube, 1990</xref>; <xref ref-type="bibr" rid="bib61">Peyrache et al., 2017</xref>; <xref ref-type="bibr" rid="bib47">Laurens et al., 2019</xref>), RSC exhibits diverse visuo-spatial activity (<xref ref-type="bibr" rid="bib13">Cho and Sharp, 2001</xref>; <xref ref-type="bibr" rid="bib19">Fischer et al., 2020</xref>; <xref ref-type="bibr" rid="bib50">Mao et al., 2017</xref>; <xref ref-type="bibr" rid="bib63">Powell et al., 2020</xref>; <xref ref-type="bibr" rid="bib92">Voigts and Harnett, 2020</xref>), with complex receptive fields shaped by multiple spatial correlates (<xref ref-type="bibr" rid="bib4">Alexander et al., 2020</xref>; <xref ref-type="bibr" rid="bib3">Alexander and Nitz, 2017</xref>; <xref ref-type="bibr" rid="bib35">Jacob et al., 2017</xref>). Unlike POS, which presents mostly homogeneous, cue-guided rotations of HD fields in response to rotations of a prominent visual cue (<xref ref-type="bibr" rid="bib81">Taube, 1990</xref>), diverse responses of RSC HD cells to cue manipulations or specific environmental configurations have been reported (<xref ref-type="bibr" rid="bib11">Chen et al., 1994a</xref>; <xref ref-type="bibr" rid="bib35">Jacob et al., 2017</xref>; <xref ref-type="bibr" rid="bib73">Sit and Goard, 2023</xref>), suggesting differential influence of idiothetic and allothetic cues and complex encoding schemes.</p><p>As a cortical association area, RSC plays a critical role in spatial cognition (<xref ref-type="bibr" rid="bib43">Knight and Hayman, 2014</xref>; <xref ref-type="bibr" rid="bib53">Mitchell et al., 2018</xref>; <xref ref-type="bibr" rid="bib89">Vann et al., 2009</xref>) and spatial memory (<xref ref-type="bibr" rid="bib52">Miller et al., 2019</xref>; <xref ref-type="bibr" rid="bib51">Miller et al., 2014</xref>): rats and humans with RSC lesions show impairments in route planning as well as identification and flexible use of navigational landmarks (<xref ref-type="bibr" rid="bib34">Hindley et al., 2014</xref>; <xref ref-type="bibr" rid="bib49">Maguire, 2001</xref>; <xref ref-type="bibr" rid="bib62">Pothuizen et al., 2008</xref>; <xref ref-type="bibr" rid="bib88">Vann and Aggleton, 2004</xref>). Specifically, in the intact RSC, associations between egocentric and allocentric reference frames become evident with spatial tasks (<xref ref-type="bibr" rid="bib4">Alexander et al., 2020</xref>; <xref ref-type="bibr" rid="bib2">Alexander and Nitz, 2015</xref>; <xref ref-type="bibr" rid="bib69">Shine and Wolbers, 2021</xref>; <xref ref-type="bibr" rid="bib91">van Wijngaarden et al., 2020</xref>). These kinds of computations might underlie the emergence of navigational landmarks (<xref ref-type="bibr" rid="bib5">Auger et al., 2012</xref>; <xref ref-type="bibr" rid="bib19">Fischer et al., 2020</xref>; <xref ref-type="bibr" rid="bib35">Jacob et al., 2017</xref>; <xref ref-type="bibr" rid="bib59">Page and Jeffery, 2018</xref>), as sensory stimuli that appear in the egocentric view and, having been deemed reliable, are ultimately mapped to an abstract representation of space (<xref ref-type="bibr" rid="bib6">Barry and Burgess, 2014</xref>; <xref ref-type="bibr" rid="bib9">Bicanski and Burgess, 2016</xref>; <xref ref-type="bibr" rid="bib99">Yan et al., 2021</xref>). Altogether, this evidence strongly implicates RSC in the integration of visual orienting cues and HD. Moreover, RSC is also necessary for path integration-based navigation in darkness (<xref ref-type="bibr" rid="bib17">Elduayen and Save, 2014</xref>), likely by integrating motor (<xref ref-type="bibr" rid="bib98">Yamawaki et al., 2016</xref>) and angular velocity signals (<xref ref-type="bibr" rid="bib33">Hennestad et al., 2021</xref>; <xref ref-type="bibr" rid="bib38">Keshavarzi et al., 2022</xref>) together with the incoming HD from thalamic nuclei and POS, to form a representation of orientation. However, while the coordination between POS and ADn HD representations has been already elucidated across wake and sleep states (<xref ref-type="bibr" rid="bib60">Peyrache et al., 2015</xref>), it is unknown how visually-guided changes in HD representation are coordinated between RSC and ADn. We sought to answer this question by performing simultaneous single unit recording in RSC and ADn in freely moving mice while a visual cue was either rotated around the arena or turned off.</p></sec><sec id="s2" sec-type="results"><title>Results</title><sec id="s2-1"><title>Differential HD encoding in RSC and ADn</title><p>To monitor single unit activity in RSC and ADn, we implanted independently movable tetrodes assembled in a lightweight microdrive (<xref ref-type="bibr" rid="bib93">Voigts et al., 2020</xref>) targeting the two regions simultaneously in nine mice. We additionally recorded from RSC alone in two mice, and used carbon fiber electrodes to record from ADn in one more mouse (see <xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1A</xref> for electrolytic lesions in ADn and RSC for each mouse). During the recordings, mice could freely roam in a dark circular arena of 50 cm diameter, inside a large sealed box. The only visual cue was provided by an illuminated subset of LEDs spanning an angle of 20° which formed a wider circle outside and above the arena. Fifty-four percent of the units we recorded under these conditions in ADn met our criterion for HD cells, whereas 12% in RSC did so (<xref ref-type="fig" rid="fig1">Figure 1B&amp;C</xref> and <xref ref-type="fig" rid="fig1s2">Figure 1—figure supplement 2A-C</xref> for more examples of HD units). Our HD cell selection method relied on the amount of directional information, the magnitude of the resultant and the concentration parameter from the tuning curve or the von Mises fit (<xref ref-type="bibr" rid="bib46">LaChance et al., 2022</xref>) to the largest peak for multi-peak units against those obtained from shuffling the spikes (<xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3A</xref>) and finally on the replication of these in two different segments of a session while the cue is stable (ADn: 11 HD units with 2 peaks, 139 with 1; RSC: 2 HD units with 2 peaks, 71 with 1). RSC displayed a modest HD code, in agreement with previous findings in rats and humans (<xref ref-type="bibr" rid="bib12">Chen et al., 1994b</xref>; <xref ref-type="bibr" rid="bib13">Cho and Sharp, 2001</xref>; <xref ref-type="bibr" rid="bib68">Shine et al., 2016</xref>; <xref ref-type="bibr" rid="bib69">Shine and Wolbers, 2021</xref>): directional information in RSC was lower than in ADn (bits/spike, median: ADn HD = 0.084, n=150; RSC HD = 0.015, n=73; ADn non-HD=0.011, n=122; RSC non-HD=0.006, n=584; Kruskal-Wallis test p&lt;0.0001, p&lt;0.0001 for multiple comparisons, except for ADn nonHD versus RSC HD p&gt;0.05, <xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3B</xref>), as well as the median resultant length (median: ADn HD = 0.21, n=150; RSC HD = 0.084, n=73; ADn non-HD=0.047, n=122; RSC non-HD=0.041, n=584; Kruskal-Wallis test p&lt;0.0001, p&lt;0.0001 for multiple comparisons, except for ADn versus RSC HD, p=0.0031, and nonHD, p=0.028, <xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3C</xref>). The differences between these two regions were consistent with a the higher degree of multi-modal selectivity in RSC (<xref ref-type="bibr" rid="bib4">Alexander et al., 2020</xref>; <xref ref-type="bibr" rid="bib2">Alexander and Nitz, 2015</xref>; <xref ref-type="bibr" rid="bib13">Cho and Sharp, 2001</xref>; <xref ref-type="bibr" rid="bib47">Laurens et al., 2019</xref>), where multiple spatial correlates, contexts and states are mixed with and influence HD coding.</p><fig-group><fig id="fig1" position="float"><label>Figure 1.</label><caption><title>Congruent HD response to visual cue rotation in ADn and RSC.</title><p>(<bold>A</bold>) Schematic of simultaneous ADn (blue) and RSC (red) tetrode recording. (<bold>B</bold>) Tuning curves of examples of HD (left) and non-HD (right) cells in ADn and RSC. Grey lines are the tuning curves obtained from 500 shuffles of the cells firing rates. Insets show the tuning curves in polar coordinates. (<bold>C</bold>) Pie charts showing that 54% of cells in mouse ADn meet the HD selection criterion, but only 12% in RSC do (right) (n=12 mice, 9 with simultaneous ADn and RSC, 2 ADn only and 2 RSC only). (<bold>D</bold>) Schematic of the arena with the only prominent LED cue before (left) and after 90° rotation (right). (<bold>E</bold>) Simultaneous ADn-RSC recording from a session where the cue (top, left) was rotated first by 90° (first segment) and then 45° (second segment). Top right, same cue angular position representation but in polar coordinates. Left, tuning curves (2 min bins) over time of HD cells in the two regions shift the preferred firing direction (yellow bins, maximal firing rate) in response to the cue rotation. Right, same tuning curves in polar coordinates drawn for the different cue angles. (<bold>F</bold>) Right, scatter plot of preferred firing directions (PFD) differences from unique ADn HD cell pairs (n=603) before versus after rotation (ADn correlation: 0.91, 10 mice). Left, the correlation from the data in left is above the 99th percentile of randomly drawn angle differences. (<bold>G</bold>) Same as in F for RSC HD cell pairs (n=269, correlation = 0.28, 9 mice). (<bold>H</bold>) Left, ADn HD ensembles mean rotations (dots with horizontal lines, standard mean error) versus mean rotations of simultaneously recorded HD ensembles in RSC (vertical lines, standard mean error). Right, correlation value (correlation = 0.59) from the data in the left (n=30 ensembles for different sizes and directions of rotations from 71 trials, 7 mice) is above the 95th percentile of 500 times shuffled rotation trial indices for each HD cell.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig1-v1.tif"/></fig><fig id="fig1s1" position="float" specific-use="child-fig"><label>Figure 1—figure supplement 1.</label><caption><title>Electrolytic lesions in RSC and ADn.</title><p>(<bold>A</bold>) Confocal images of coronal slices containing ADn or RSC from individual mice used for tetrode recordings. Images from individual mice are organized in a 3x4 grid, where sample electrolytic lesions in RSC are presented in the top row and those in ADn in the bottom row for mice with dual site recordings. Coordinates of the lesions are given as Anterior Posterior (AP), Medio-Lateral (ML) and Dorso-Ventral (DV) from Bregma. For mice with single recording site (the first 3), only one sample image is provided (in order RSC, carbon fiber-targeted ADn, and RSC). ADn and RSC granular and dysgranular outlines are shown with dashed lines in the first two images. White, leftward arrows indicate the lesions, which corresponds to the locations of the recording electrodes. Scale bar 1 mm; the same scale was applied to all images. (<bold>B</bold>) Summary of cortical tetrode locations from all mice color coded by mouse, distributed over four roughly matching coronal slices from the Mouse Allen Brain Atlas.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig1-figsupp1-v1.tif"/></fig><fig id="fig1s2" position="float" specific-use="child-fig"><label>Figure 1—figure supplement 2.</label><caption><title>Example HD cells and sorting metrics.</title><p>(<bold>A</bold>) Twelve example ADn HD cells; for each cell: (left) tuning curves in polar coordinates black and blue to indicate tuning curves from distinct angular positions of the visual cue; (middle) the waveforms mean (solid thick line) and standard error (shaded region) from the four channels of the tetrode where the unit was detected; (right) autocorrelogram of the selected unit. (<bold>B</bold>) Same representation as in A but for 12 example RSC HD units. (<bold>C</bold>) Same representation as in A and B but for six simultaneously recorded HD cells in ADn from mouse 2. (<bold>D</bold>) Distributions of isolation (left), noise overlap (middle), and mean firing rate Hz (right) metrics extracted from spike-sorting of all ADn HD (n=436, filled blue histograms) and non-HD units (n=435, hollow dark blue) and RSC HD (n=319, red filled) and non-HD units (n=2458 hollow dark red) recorded.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig1-figsupp2-v1.tif"/></fig><fig id="fig1s3" position="float" specific-use="child-fig"><label>Figure 1—figure supplement 3.</label><caption><title>HD selection method and HD features across ADn and RSC.</title><p>(<bold>A</bold>) Left, example of von Mises fitting (green dashed) to an ADn HD tuning curve (solid black) with two identified peaks and the single peak trace (cyan dashed) derived from the von Mises model calculated on the tallest peak. Grey solid lines, tuning curves obtained from shuffling the spikes. Center left, the directional information calculated from the tuning curve in the example on the left is above the 98th percentile of the shuffle distribution. Center right and right, respectively, the resultant and the concentration parameter of the fit to the largest peak of the tuning curve is above the 98th percentile of the shuffle distribution. (<bold>B</bold>) Distributions and medians (dashed lines) of the directional information (in bits/spike) of the same groups of units as in B: ADn HD (0.084, n=150) and non-HD (0.011, n=122) and RSC HD (0.015, n=73) and non-HD (0.006, n=584) units (p&lt;0.0001, Kruskal Wallis test, p&lt;0.0001 for multiple comparisons after Bonferroni correction except for ADn nonHD versus RSC HD, p&gt;0.05). (<bold>C</bold>) Distributions and medians (dashed lined) of the resultants across ADn (top) HD (0.21, n=150) and non-HD (0.047, n=122) and RSC (bottom) HD (0.084, n=73) and non-HD (0.041, n=584) units (p&lt;0.0001, Kruskal Wallis test, p=0.0031 for ADn-RSC HD and p=0.028 for ADn-RSC non-HD, other multiple comparisons after Bonferroni correction p&lt;0.0001). (<bold>D</bold>) Normalized tuning curves of all the HD units in <xref ref-type="fig" rid="fig1">Figure 1C</xref> sorted by peak location in ADn (left) and RSC (right) overlaid by the cue angular position (black). (<bold>E</bold>) Individual (grey) and mean and 95% CI of normalized and peak-aligned to 0° HD tuning curves from D, ADn (left, blue) and RSC (right, red). (<bold>F</bold>) Stability of HD cells assessed by plotting the preferred firing direction (PFD) of HD cells’ tuning curves calculated from the first half of stable cue-on periods against those from the second half in ADn (left, n=150, circular correlation <italic>r</italic>=0.93, p&lt;0.0001) and RSC (right, n=73, circular correlation <italic>r</italic>=0.79, p&lt;0.0001). (<bold>G</bold>) Stability of HD cells resultant length in ADn (left, n=128, p=0.23, median before = 0.22, after = 0.23) and RSC (right, n=71, p=0.79, median before = 0.086, after = 0.088) between before and after cue rotation for a single trial in selected significant cue rotation sessions sampling unique HD ensembles. (<bold>H</bold>) Mean firing rates (in Hz) of all recorded cells in ADn were stable between cue on and off conditions (left, n=155, median cue on = 27.58, median cue-off=26.80, p=0.067); however, a small but significant reduction was observed in RSC units (right, n=159, median cue-on=20.10, median cue-off=19.69, p=0.046) between cue-on and cue-off conditions. (<bold>I</bold>) Reduced peak firing rates (in Hz) of HD cells ADn (left, n=91, cue-on median = 62.52, cue off median = 57.63, p=0.0027) and RSC (right, n=27, cue-on median = 41.35, cue-off median = 37.74, p=0.0004) between cue-on and cue-off conditions. (<bold>J</bold>) Stable HD cells resultant length in ADn (left, n=91, cue-on median = 0.22, cue-off median = 0.21, p=0.69), but reduced in RSC (right, n=27, cue on median = 0.123, cue-off median = 0.087, p=0.0057) between cue-on and cue-off conditions. (<bold>K</bold>) Peak firing rates (in Hz) of unique HD cells ensembles in ADn were modulated by AV in both cue on and cue-off conditions (n=91, AV &gt;30°/s cue-on median = 53.7, AV &lt;30°/s cue-on median = 50.4, p&lt;0.0001; cue-off AV &gt;30°/s median = 51.17, AV &lt;30/s median = 47.18, p&lt;0.0001). (<bold>L</bold>) Peak firing rates (in Hz) of unique HD cells ensembles in RSC were modulated by AV in both cue-on and cue-off conditions (n=27, AV &gt;30°/s cue-on median = 32.24, AV &lt;30°/s cue-on median = 26.6, p&lt;0.0001; cue-off AV &gt;30°/s median = 30.78, AV &lt;30°/s median = 26.31, p&lt;0.0001). (<bold>M</bold>) Coordination of ADn and RSC HD ensembles rotations (circular correlation <italic>r</italic>=0.47, above the 99th percentile of 500 random angles samples) of individual trials (n=71, from 7 mice) from the same selected sessions sampling unique ensembles in <xref ref-type="fig" rid="fig1">Figure 1H</xref>. Comparisons in G-L were tested through Wilcoxon Signed-Rank test and median and 95% CI are presented. Data was taken from selected sessions sampling unique cells ensembles.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig1-figsupp3-v1.tif"/></fig></fig-group></sec><sec id="s2-2"><title>Congruent HD responses to visual cue rotations in ADn and RSC</title><p>To challenge the mice’s sense of orientation and determine whether ADn and RSC similarly update the HD frame in response to changes to visual stimuli, we instantaneously rotated the LED cue around the arena by either 45° or 90° (<xref ref-type="fig" rid="fig1">Figure 1D</xref>), in trials ranging from 5 to 40 min. Previous work with cue card rotations indicates that HD cells in ADn rotated their preferred directions coherently (<xref ref-type="bibr" rid="bib102">Yoganarasimha et al., 2006</xref>), but it remains unclear if the same applies to RSC. To further investigate whether RSC HD ensembles stay coherent in our behavioral setting, we calculated the angle offsets between the tuning curves of all unique simultaneous HD pairs before and after cue rotation. As expected, the preferred direction difference between pairs of ADn HD neurons remained rigid after cue rotations (<xref ref-type="fig" rid="fig1">Figure 1F</xref>, circular correlation = 0.91, n=603 pairs, 10 mice). In RSC HD cells, we observed a smaller yet significant correlation (0.28, n=269 pairs, 9 mice) in the preferred direction difference of RSC HD pairs between before and after cue rotations (<xref ref-type="fig" rid="fig1">Figure 1G</xref>). Similar results were obtained when all sessions were included (correlation ADn = 0.92, n=1,128 pairs; RSC = 0.73, 1523 pairs), suggesting that RSC HD ensembles maintain a certain degree of coherence in the reference frame.</p><p>The reduced rigidity of RSC HD ensembles could emerge from variability in the preferred direction of individual units and/or from the strength of the HD tuning. We quantified the stability in HD tuning as the correlation between the preferred firing directions (PFD) of HD cells calculated from two consecutive segments with the same stable cue orientation. We found that RSC’s PFDs were significantly stable although less than ADn HD units (<xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3F</xref>, ADn left n=150, correlation = 0.93, RSC right n=73, correlation = 0.79, p&lt;0.0001 for both). Furthermore, the strength of HD tuning, quantified as the resultant, did not change between two sample trials from selected significant cue rotation sessions across RSC HD cells (<xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3G</xref> right, n=71, Wilcoxon Signed-Rank test p=0.79, median before = 0.086, after = 0.088) as well as ADn HD cells (<xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3G</xref> left, n=128, Wilcoxon Signed-Rank test p=0.23, median before = 0.22, after = 0.23).</p><p>To compare how both regions responded to cue rotations, we calculated the mean preferred direction shifts for RSC and ADn HD ensembles. Despite a bias toward the inertial (self-motion-driven) HD estimate, evident through the higher density of rotations around 0, the rotations from simultaneously recorded ADn and RSC HD ensembles were more correlated (coefficient = 0.54 from unique ensembles for different sizes and directions of rotations, 7 mice) than those produced by random shifting of RSC and ADn neural activity around the cue rotations (<xref ref-type="fig" rid="fig1">Figure 1H</xref>). The result held when trials from the same ensembles with similar (large or small, negative or positive) ADn rotations were not averaged (<xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3L</xref>, correlation = 0.48, p&lt;0.01, above the 99th shuffle percentile). This suggested that the HD map is well-locked between the two regions in our behavioral paradigm, despite the differences in HD encoding between ADn and RSC.</p></sec><sec id="s2-3"><title>Synchronous shifting of HD representations in ADn and RSC in response to cue rotations</title><p>Based on the tuning curves of our HD cells, we concluded that RSC and ADn encode the same HD reference, regardless of whether they shift with cue rotation or disregard the cue as an orienting landmark (<xref ref-type="fig" rid="fig1">Figure 1H</xref>). However, it was not clear if ADn and RSC also coordinate at a finer temporal scale in response to the cue rotation. To answer this question, we applied a decoding approach to infer the HD representation from the entire recorded population at a high temporal resolution (20ms bins) in ADn and RSC. We implemented a linear-Gaussian generalized model (GLM) that related ADn or RSC ensemble neural activity to HD obtained from behavioral tracking (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1A</xref>). For each trial we estimated the weight coefficients based on the stable cue period before rotation, excluding the last 120 s, and tested the model on the remaining stable period, by calculating the difference between the decoded HD and the HD from headstage tracking, which we will refer to as ‘decoded error’. For each session, we compared the accuracy, calculated as the median of the absolute decoded error, with that obtained by decoding HD from shuffled firing rates. For further analyses, we selected sessions where the error was lower than the 10th percentile of 100 shuffles (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1B</xref>). From the remaining sessions, the median decoded error from the test period was 36.32° in ADn (n=36 unique ensembles) and 47.53° in RSC (n=29 ensembles) (p=0.0039, Mann-Whitney test) (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1C and D</xref>). However, given that HD is modulated by angular velocity (<xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3K</xref>&amp;L, left panels for cue on modulation of the peak firing rate of the HD tuning curves, ADn n=91, median AV &gt;30°/s 53.7 Hz, AV &lt;30/s=50.4 Hz, p&lt;0.0001 Wilcoxon Signed-Rank test; RSC n=27, median AV &gt;30°/s 32.2 Hz, AV &lt;30/s=26.6 Hz, p&lt;0.0001 Wilcoxon Signed-Rank test), we considered whether the decoding accuracy was affected by these state changes. Indeed, decoding performance dropped for high compared to low angular velocity (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1E, F</xref>), (low angular velocity medians: ADn = 33.4°, RSC = 43.4°, high angular velocity medians: ADn = 39.4°, RSC = 60.9°). Two-way ANOVA revealed significant differences between the two regions (p&lt;0.0001) and also between the two velocity states (p=0.0012), but no effect for the interaction between the two variables (p&gt;0.05), suggesting that the angular velocity effect was largely similar between the two regions.</p><p>The errors from our GLM decoder reflected the mean rotations of the ensemble HD neurons tuning curves both from ADn and RSC (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1G, H</xref>, 0.73 and 0.75 circular correlation coefficients for ADn, n=113, and RSC, n=59 unique ensembles for different sizes and directions of rotations, respectively, p&lt;0.0001 for both) suggesting that our method largely captured the changes in neural activity with cue rotation. The mean decoded errors after cue rotations from simultaneously recorded ADn and RSC ensembles were also correlated (<xref ref-type="fig" rid="fig2">Figure 2B</xref>, 0.74 circular correlation coefficient, n=95 unique ensembles for different sizes and directions of rotations, from 8 mice), confirming the findings from the mean tuning curves rotations (<xref ref-type="fig" rid="fig1">Figure 1H</xref>). Similarly, we also observed a high density of decoded rotation values around zero. This effect likely resulted from devaluation or bias toward internal HD estimates caused by the familiarity with the arena and by the consecutive cue change creating a mismatch between the internal HD and the visually HD reference (<xref ref-type="bibr" rid="bib42">Knierim et al., 1998</xref>).</p><fig-group><fig id="fig2" position="float"><label>Figure 2.</label><caption><title>Synchronous shifting of ADn and RSC HD representation in response to cue rotation.</title><p>(<bold>A</bold>) Left, Example of decoded HD in ADn (top, blue line) and RSC (bottom, red line) from a simultaneous recording in the two regions before and after cue rotation (green line at t=0 s). Grey, mouse HD from tracking. Right, probability-histograms of the difference between the tracked and the decoded HD shown on the left in ADn (top, blue) and RSC (bottom, red). Darker shades, decoded error before rotation, lighter shades after rotation. (<bold>B</bold>) Left, decoded ADn vs paired RSC rotation (n=95 unique ensembles for different sizes and directions of rotations from a total of 182 trials, 8 mice). Right, circular correlation coefficient (0.74) between the decoded ADn and RSC rotation (green) is above the 99th percentile of the 100 times randomly shifted RSC decoded HD for each trial (grey histogram). (<bold>C</bold>) Four examples of paired ADn (top row) and RSC (bottom row) decoded HD errors drifting toward the target (yellow). Thicker lines, median-smoothed error over a 5 s window. The fourth example is the decoded error of the traces shown in A. (<bold>D</bold>) Mean and 95% CI of temporal cross correlation between paired decoded errors before rotation (left, black) and immediately after rotation (right, green) (75 s long segments, n=28 unique ensembles from a total of 108 paired trials out of 182 with mean ADn rotation &gt;17.2°, 8 mice). Grey, individual trials. (<bold>E</bold>) Probability histograms (20ms bins) of the time lags corresponding to the peak correlation values from the unique ensembles (n=28), averaged traces from the trials in D; left, before rotation, right, after rotation. Left y-axis scaled to show the uniformity of the null distributions (grey). Insets, zoomed in histograms in the –0.5 s to 0.5 s range. The real distributions are significantly different from null (two-sample Kolmogorov-Smirnov test, p&lt;0.0001 for both stable and shifted). No difference between stable and shifted trial correlations was observed (Wilcoxon Signed-Rank test p=0.88).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig2-v1.tif"/></fig><fig id="fig2s1" position="float" specific-use="child-fig"><label>Figure 2—figure supplement 1.</label><caption><title>HD decoding with a linear-Gaussian GLM.</title><p>(<bold>A</bold>) Linear-Gaussian GLM-based decoding strategy for each trial and neuronal ensembles (See also Methods section) with an example of modeled sin(HD) and cos(HD). (<bold>B</bold>) Individual sessions median decoded HD errors from the stable test period that are below the 10th percentile of the medians from 100 decoded errors from shuffled spikes for ADn (n=69, 3 rejected) and RSC (n=62, 2 rejected) ensembles are included for further analyses. (<bold>C</bold>) Mean and 95% CI of the absolute decoding error distribution for ADn (blue) and RSC (red) and the respective 100 combined spike shuffles for each region from the test period from rotation trials (n=36 unique ensembles ADn, n=29 for RSC). (<bold>D</bold>) Violin plots of the medians of the absolute decoded errors for ADn and RSC ensembles and the respective combined 100 shuffles (p=0.0039, Mann-Whitney test, medians plotted in black 36.32° in ADn, n=36, and 47.53° in RSC, n=29). (<bold>E</bold>) Same as C, but separating time points of high (&gt;30°/s) from low (&lt;30°/s) AV. (<bold>F</bold>) Same as C, but separating between the median errors collected from high versus low AV (medians of low AV: ADn = 33.37°, RSC = 43.44°, medians of high AV: ADn = 39.42°, RSC = 60.98°; two-way ANOVA p&lt;0.0001 between the two regions and p=0.0012 between the two velocity states, p&gt;0.05 of the interaction between the two groups). p&lt;0.05 for multiple comparisons test between all groups except high AV ADn and low AV RSC and high AV ADn and low AV ADn. (<bold>G</bold>) Left: scatter plot with error bars of the mean rotations from simultaneous ADn HD neurons tuning curves versus the mean rotations calculated from decoding HD from ADn neurons (circular correlation coefficient = 0.73, p&lt;0.0001, n=113 ensembles averaged across trials of positive and negative small and large rotations). Right: the observed correlation is more than the 99th of 100 correlation obtained from shuffling the spikes for HD decoding. (<bold>H</bold>) Same as G but for RSC (circular correlation coefficient = 0.76, p&lt;0.0001, n=59 ensembles).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig2-figsupp1-v1.tif"/></fig><fig id="fig2s2" position="float" specific-use="child-fig"><label>Figure 2—figure supplement 2.</label><caption><title>Relationship between cue bearing and decoded neural rotations.</title><p>(<bold>A</bold>) Schematic of the distinction between egocentric ‘in view’ (right) and ‘out of view’ (left) angular position of the visual cue before rotation. (<bold>B</bold>) Violin plots of the decoded rotations from all simultaneous ADn and RSC trials separated according to the imposed cue rotation size (at a cutoff of 67.5°) and the egocentric view of the cue before rotation. On average, small cue rotations were more closely followed by the two regions than the large cue rotations (multiple ways ANOVA, p=0.0003 effect of the size of rotation, p&gt;0.05 for effects of brain region and egocentric condition and for the interactions, except for region*size of rotation interaction of p=0.046). Between the following categories n trials: large/out-of-view: n=8, large/in-view: n=51, small/out-of-view: n=14, small/in-view: n=36, p&gt;0.05 for all Bonferroni-corrected multiple comparisons except for ADn in-view big rotations and RSC out-of-view big and small rotations and RSC in-view small rotations where p&gt;0.01. (<bold>C</bold>) Decoded ADn and RSC rotation as a function of the egocentric bearing of the cue right before rotation. (<bold>D</bold>) Decoded ADn and RSC rotation as a function of the egocentric bearing of the cue right after rotation. p&gt;0.05 of the Pearson’s correlation coefficients, ADn n=253, RSC n=262, both in C and D.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig2-figsupp2-v1.tif"/></fig><fig id="fig2s3" position="float" specific-use="child-fig"><label>Figure 2—figure supplement 3.</label><caption><title>Robustness of different similarity metrics between decoded ADn and RSC HD and time course of the realignment.</title><p>(<bold>A</bold>) Similar to <xref ref-type="fig" rid="fig2">Figure 2E</xref> but only for the first 25 s of simultaneous decoded errors after cue rotation (two-sample Kolmogorov-Smirnov test, <italic>P</italic>&lt;0.0001 for both stable and shifted versus the null distributions in grey, n=28 unique ensembles). No difference between stable and shifted trial correlations was observed (Wilcoxon Signed-Rank test p=0.40). (<bold>B</bold>) Median differences of 7 5s-long segments (considering therefore the first 35 s of stable and realignment traces) of the absolute values of the differences of decoded HD from ADn and RSC offset between –5 s up to 5 s time lags. Grey traces are the individual trials and black and green traces the medians and 95% CI. (<bold>C</bold>) Similar to B but for the difference in decoded HD errors between ADn and RSC. (<bold>D</bold>) Histograms of the time lags corresponding to the minimum error for each trial in C. (<bold>E</bold>) Median and 95% CI for the unique ensembles (grey) from the trials in C. Wilcoxon Signed-Rank test between before and after rotation p=0.831, n=28 ensembles. (<bold>F</bold>) Distributions of the time lags corresponding to the minimum absolute median decoded error differences shown in E for the stable and after rotation segments (n=28 unique ensembles where the individual trials where averaged, Wilcoxon Signed-Rank test between before and after rotation, p=0.916). Insets show the distribution between –0.5 and 0.5 s. (<bold>G</bold>) Scatter plots of the circular variance of the tracked HD in the stable and the realignment segments for each trial versus the variance of the decoded error medians plotted in C (n=108 trials, correlation <italic>r</italic>=0.389 for the stable, <italic>r</italic>=0.302 after rotation, p&lt;0.0001 for both). (<bold>H</bold>) Mean and 95% CI decoded HD errors from 20 s before the rotated cue entered the visual field of the mouse up to 80 s after. All traces were aligned to have final positive target offsets; for simultaneous RSC-ADn trials the target was based on the mean of the ADn decoded errors. Large rotations in green (offset equal or larger than 67.5°) ADn n=29, RSC n=37; small rotations in purple (offset smaller than 67.5°and larger than 17.2°) ADn n=138, RSC n=143.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig2-figsupp3-v1.tif"/></fig></fig-group><p>To investigate whether the egocentric experience of the cue influenced the rate of under-rotations, we compared rotations occurring when the cue was well outside of the visual field of the mouse before rotation (<xref ref-type="bibr" rid="bib16">Dräger and Olsen, 1980</xref>; <xref ref-type="bibr" rid="bib79">Sterratt et al., 2013</xref>) or not (&gt;154° or &gt;-154°, calculated at the center of the cue, with 0° aligned to the mouse’ snout; <xref ref-type="fig" rid="fig2s2">Figure 2—figure supplement 2A</xref>). We found that, despite an overall effect of the size of the cue rotation which led to on-average better cue control for small rotations than for big rotations (p=0.0008 ANOVA with three factors, with p&gt;0.05 as the effect of region and view category and all interactions), there were no differences between the individual groups, (p&gt;0.05 multiple comparison after Bonferroni correction, n cue out of view: small rotation 14 trials, big rotation 8 trials; cue in view: small rotation 36 trials, big rotation 51 trials, <xref ref-type="fig" rid="fig2s2">Figure 2—figure supplement 2B</xref>). This suggested that even though large mismatches were more likely to result in under-rotations, we could pool the results of the rotation analyses. Furthermore, we did not find any correlation between the size of the decoded rotation in ADn and RSC and the egocentric bearing of the cue before (<xref ref-type="fig" rid="fig2s2">Figure 2—figure supplement 2C</xref>, –0.034 and –0.031 correlation coefficients respectively for ADn, n=253, and RSC, n=262) or after rotation (<xref ref-type="fig" rid="fig2s2">Figure 2—figure supplement 2D</xref>, 0.007 and –0.023 Pearson correlation coefficients respectively for ADn and RSC). Altogether, these analyses indicate that, in our behavioral setting, the initial egocentric experience of the cue rotation was not a factor in the under-rotations of the HD representation.</p><p>Next, we asked how changes in environmental stimuli alter the rate of HD reference shifts, and if these differ across brain regions. By applying our decoding strategy, we first observed that decoded errors drifted to a new HD reference at a variable speed (<xref ref-type="fig" rid="fig2">Figure 2C</xref>). On average we observed similar, and mostly slow, HD reference shifts in both ADn and RSC (<xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3H</xref>). Interestingly, we observed closely matched trajectories to the new HD offsets in simultaneously recorded neurons from both ADn and RSC (<xref ref-type="fig" rid="fig2">Figure 2C</xref>). To quantify if initial jitter in the drift of the HD representations were indicative of a region-specific response to the new angular position of the cue, we calculated the temporal cross-correlations between simultaneous ADn and RSC decoded errors immediately after cue rotations (75 s window). To isolate the effect of change of the HD reference, we included only trials where the absolute mean HD shift was at least 17.2° or above. While some trial-to-trial variability in the correlation level was observed, the majority of trials had peaks at 0ms time lags (two-sample Kolmogorov-Smirnov test between data and null distribution, p&lt;0.0001 for both stable and shifted), both before and after cue rotations (<xref ref-type="fig" rid="fig2">Figure 2D and E</xref>; Wilcoxon Signed-Rank test p=0.88, n=28 unique ensembles from 108 trials). Similar results were obtained for shorter decoded error traces immediately after cue rotation (25 s window), albeit with higher variability (<xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3A</xref>, two-sample Kolmogorov-Smirnov p&lt;0.0001 for both stable and shifted; Wilcoxon Signed-Rank test between shifted and stable p=0.40). This confirmed that the two regions were coordinated even in the initial stages of the shifting of the HD representation.</p><p>To check that the 0 lag peaks were not originating from spurious cross-correlation values of long and jittering decoded error traces, we assessed the difference in decoded HD and decoded HD error between the two regions, in short (5 s) segments to cover a total of 35 s and plotted the absolute median for different time lags. In principle, this approach should mirror that of the temporal cross-correlation, whereby the time lags corresponding to the smallest difference values would reveal whether there was a temporal offset between the two HD representations. The difference in the decoded HD showed a trend toward 0ms coordination (<xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3B</xref>, ensemble averages from 108 individual trials), but this effect was weak. In theory, if there was a detectable temporal offset, it would be masked by opposing HD difference values caused by varying AV directions and directions of rotations. To obviate these problems, we evaluated the difference in decoded HD errors (<xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3C</xref>), after ensuring the final rotations had all the same sign. We found that a great majority of the trials had troughs at 0ms lag (<xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3D</xref>, n=108 trials, Wilcoxon Signed-Rank test p=0.83). We evaluated this relationship for independent ensembles (n=28) by taking the median across trials from the same ensembles (<xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3E, F</xref>) and found the same result (Wilcoxon Signed-Rank test p=0.92). We ensured that the variance in the –5–5 s lags was correlated with the variance of the tracked HD (<xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3G</xref>, n=108 trials, correlation <italic>r</italic>=0.389 for the stable, <italic>r</italic>=0.302 after rotation, p&lt;0.0001 for both).</p><p>Contrary to our predictions (i.e. that RSC would lead the HD reference update via visual integration of the cue’s new angular position), we found that the two regions were synchronized (within 20ms) in this regard. Variability was observed in the histograms from the cross-correlations after cue rotation, but they lacked any specific bias for anticipatory or delayed time lags. Changes in the neural activity, and therefore in HD decoding, could emerge following the cue rotation as a response to visual stimuli, potentially explaining the slightly decreased synchrony compared to stable cue periods (<xref ref-type="fig" rid="fig2">Figure 2E</xref>).</p></sec><sec id="s2-4"><title>Correlated HD drift in darkness in ADn and RSC</title><p>Visual cues are essential for stabilizing the HD reference map and guide orientation, however it is unknown if they are necessary for maintaining the coordination of HD representations in ADn and RSC. To resolve this issue, we challenged the sense of orientation in a subset of mice by turning the LED off after a period of cue-on baseline (<xref ref-type="fig" rid="fig3">Figure 3A</xref>). HD cells maintained the same initial preferred directions while the cue was on in a stable position, but were more variable while the cue was off, and sometimes continuously drifted during prolonged darkness (<xref ref-type="fig" rid="fig3">Figure 3B</xref>). The mean firing rates of the recorded ensembles were stable between cue-on and -off conditions in ADn (n=155, p=0.067 Wilcoxon Signed-Rank test) and marginally reduced in RSC (n=159, p=0.046), suggesting a small response of cortex to the change in light conditions (<xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3H</xref>). To quantify the effect on HD coding properties, we evaluated the tuning curves every 2 min in the cue-on and cue-off periods, to avoid combining long HD drifts. The peak firing rates of HD cells both in ADn and RSC were reduced (<xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3I</xref>, ADn n=91 median cue-on 62.52 Hz, cue-off 57.63 Hz, p=0.0027, RSC n=27 median cue-on 41.36 Hz, cue-off 37.74 Hz, p=0.0004, Wilcoxon Signed-Rank test), but only RSC’s HD resultant lengths were affected by darkness (<xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3J</xref>, cue-on median 0.123, cue-off median 0.087, p=0.0057 for RSC, cue-on median 0.22, cue-off median 0.21, p=0.69 for ADn), consistent with previous reports of varied HD responses to different light conditions in RSC (<xref ref-type="bibr" rid="bib11">Chen et al., 1994a</xref>).</p><fig-group><fig id="fig3" position="float"><label>Figure 3.</label><caption><title>Correlated HD drift in darkness in ADn and RSC.</title><p>(<bold>A</bold>) Schematic of cue-on/off trials. (<bold>B</bold>) Simultaneous ADn-RSC recording from a session where the cue (top) was turned on and off. (<bold>C</bold>) Left, simultaneous ADn (blue) and RSC (red) decoded HD errors from the first cue-on (yellow shaded) and -off trial of the example shown in B. Black, median-smoothed decoded error over a 5 s window. Right, probability normalized histograms of the decoded HD error from the example in C in ADn (blue, top) and RSC (red, bottom). The lighter shaded histograms are from the cue-on segments, the darker shaded from the cue-off. (<bold>D</bold>) Left: 2D histogram of simultaneous ADn and RSC decoded errors from cue-on, normalized by the maximum column value per bin (i.e. in the ADn dimension); above and on the side, marginal distributions of ADn and RSC drift, respectively. Right: correlation value (<italic>r</italic>=0.277) from the not-normalized data in the left is above the 99th percentile of the distribution obtained after randomly shifting the RSC drift in each trial (grey). (<bold>E</bold>) Left: same 2-D histogram and marginal distributions for the cue-off segments from the same trials as D; right: averaged circular correlation (<italic>r</italic>=0.256) of the real cue off data is also above the 99th percentile of the shuffle distribution. Data in D and F includes n=12 ensembles averaged from 28 trials, 3 mice. (<bold>F</bold>) Distribution of the absolute drift of ensemble ADn HD tuning curves averaged over 2 min bins and across unique ensembles (n=15 from 58 trials, p=0.0053 Wilcoxon Signed-Rank test between cue on drift, inset individual values, median = 15.9, and cue off drift, median = 25.6, shaded areas are the 95% CI). (<bold>G</bold>) The circular correlation between decoded ADn and RSC drifts from unique ensembles is not significantly different between cue on and cue off (n=12, p=0.67, mean correlations 0.277 for cue on and 0.256 for cue off, plotted together with the 95% CI).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig3-v1.tif"/></fig><fig id="fig3s1" position="float" specific-use="child-fig"><label>Figure 3—figure supplement 1.</label><caption><title>Effect of angular velocity (AV) on HD drift in darkness in ADn and RSC.</title><p>(<bold>A</bold>) Heatmap of 2D histograms of 10°-binned ADn vs RSC decoded HD errors (referred to as drift) from time points of slow AV (&lt;30°/s) from cue-on (left, mean correlation coefficient <italic>r</italic>=0.262) and cue-off (middle, mean correlation coefficient <italic>r</italic>=0.30076) trials (n=12 ensembles averaged from 25 trials, 3 mice). Right, comparison of individual ensembles circular correlations for cue-on and cue-off trials (p=0.380, Wilcoxon Signed-Rank test) plotted together with the mean and 95% CI. (<bold>B</bold>) Same as A but for time points of high AV, (&gt;30°/s) from cue-on (left, mean correlation coefficient <italic>r</italic>=0.259) and cue-off (middle, mean correlation coefficient <italic>r</italic>=0.177) trials (p=0.042, Wilcoxon Signed-Rank test, n=12). (<bold>C</bold>) Examples of decoded HD representations from different cue-on/cue-off trials of simultaneously recorded ADn (blue) and RSC (red) during cue-on (yellow shade) and cue-off periods. In black overlaying, the median-smoothed decoded errors over a 5 s window. (<bold>D</bold>) The corresponding AV profiles over time for the trails in C.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig3-figsupp1-v1.tif"/></fig></fig-group><p>On average, we observed modest levels of drift in darkness (<xref ref-type="fig" rid="fig3">Figure 3F</xref>, n=15 ADn ensembles from 58 trials, p=0.0053 Wilcoxon Signed-Rank test between cue-on drift, median = 15.9°, and cue-off drift, median = 25.6°). When we applied the same decoding strategy as in the rotation trials to quantify the drift in the two regions, we observed correlated HD representations between ADn and RSC both during cue-on and cue-off periods (<xref ref-type="fig" rid="fig3">Figure 3C</xref> and <xref ref-type="fig" rid="fig3s1">Figure 3—figure supplement 1C</xref>). This is evidenced by the diagonal band across the column-normalized 2D histograms of the HD decoded errors averaged across the different ensembles (<xref ref-type="fig" rid="fig3">Figure 3D&amp;E</xref>, left). The circular correlations of the decoded drifts were similar between cue-on (<italic>r</italic>=0.277) and cue-off periods (<italic>r</italic>=0.256) (p=0.677, Wilcoxon Signed-Rank test, n=12 unique ensembles) and were significantly higher than the correlations with shuffled RSC drifts (<xref ref-type="fig" rid="fig3">Figure 3D&amp;E</xref>, right), suggesting that in the two light conditions the HD representations of the two regions stayed coordinated.</p><p>In the awake behaving rodent, angular velocity drives the update of the ongoing HD, which, in the absence of prominent visual cues, can drift inconsistently from the current HD reference (<xref ref-type="bibr" rid="bib75">Skaggs et al., 1995</xref>; <xref ref-type="bibr" rid="bib77">Stackman et al., 2002</xref>; <xref ref-type="bibr" rid="bib84">Valerio and Taube, 2016</xref>). Moreover, it modulates ADn and RSC peak firing of HD neurons in both cue-on and cue-off conditions (p&lt;0.0001 between AV &gt;30°/s and AV &lt;30°/s for both cue-on medians = 53.7 and 50.4, respectively, and cue-off medians = 51.2 and 47.2 for ADn, n=91; p&lt;0.0001 also between AV &gt;30°/s and AV &lt;30°/s for both cue-on medians = 32.2 and 26.6, respectively, and cue-off medians = 30.8 and 26.3 for RSC, n=27, Wilcoxon Signed-Rank tests between AV states). We next asked how this variable affects the relationship between the internal HD of ADn and RSC when the cue is turned off. We isolated time points of high and low angular velocity (cut-off of 30°/s) and calculated the circular correlation between ADn and RSC HD drifts in the two light conditions. We found that the coordination between the two regions is similar between cue-on and cue-off conditions for low AV and slightly reduced during cue-off for high AV (<xref ref-type="fig" rid="fig3s1">Figure 3—figure supplement 1A</xref>, low AV cue-on <italic>r</italic>=0.262 vs cue-off <italic>r</italic>=0.300 p=0.38, high AV cue-on <italic>r</italic>=0.256 versus cue-off 0.177, p=0.042 Wilcoxon Signed-Rank test), where larger decoded errors have already been observed (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1E, F</xref>). Our results therefore indicate that the HD representation is also coordinated between ADn and RSC in the absence of a visual input, but can be challenged during periods of HD instability.</p></sec><sec id="s2-5"><title>Dense HD signal in the ADn-to-RSC connectivity</title><p>Temporal coordination of HD representation on the order of 20ms or less across different structures could be accomplished by direct monosynaptic connections or by concurrent input from different areas, particularly for the visual update of the HD reference. To investigate the anatomical substrate for direct connectivity between ADn and RSC, we performed retrograde monosynaptic rabies tracing (<xref ref-type="bibr" rid="bib94">Wickersham et al., 2007</xref>) experiments in ADn and RSC. We found that RSC cells from the same areas where we performed tetrode recordings (<xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1A and B</xref>) received dense anterior thalamic inputs, and particularly ADn (<xref ref-type="fig" rid="fig4">Figure 4A</xref>, <xref ref-type="fig" rid="fig4s1">Figure 4—figure supplement 1A</xref>). Conversely, ADn exhibited surprisingly sparse presynaptic RSC cell labeling. These cells were frequently localized in the granular and ventral portion of RSC (<xref ref-type="fig" rid="fig4">Figure 4B</xref>). We further assessed ADn’s presynaptic labeling with an alternative method, to circumvent potential biases in the viral transsynaptic labeling and poor tropism (<xref ref-type="bibr" rid="bib64">Rogers and Beier, 2021</xref>). Retrobeads injected in ADn labeled more densely the deep layer 6 of RSC, in line with the canonical corticothalamic circuit architecture (<xref ref-type="bibr" rid="bib32">Harris et al., 2019</xref>), but again, more specifically the granular portion. Overall, these results are consistent with previous studies in the rat (<xref ref-type="bibr" rid="bib67">Shibata, 1998</xref>; <xref ref-type="bibr" rid="bib66">Shibata, 1993</xref>; <xref ref-type="bibr" rid="bib85">van Groen and Wyss, 1990a</xref>; <xref ref-type="bibr" rid="bib90">Vantomme et al., 2020</xref>).</p><fig-group><fig id="fig4" position="float"><label>Figure 4.</label><caption><title>Dense connectivity from ADn to RSC.</title><p>(<bold>A</bold>) Monosynaptic rabies tracing of inputs to RSC (left, starter cells in red) shows a high density of presynaptic cells in ADn (right, green). (<bold>B</bold>) Monosynaptic rabies tracing of inputs to ADn (left, starter cells identified by the overlap of blue, green and red) shows a low density of presynaptic cells in RSC (right, red) and mostly in A29. Scale bar in A and B, 0.5 mm. (<bold>C</bold>) Examples of cross-correlograms with putative excitatory connections (yellow circle) from ADn to RSC (left) and RSC to ADn (right), showing a sharp peak between 1 and 5ms time lag above the baseline (red line) at more than 99.9% of the cumulative Poisson distribution. (<bold>D</bold>) Number of ADn units with putative connections to RSC (left) and of RSC units with putative connections to ADn (right). (<bold>E</bold>) Distribution of the latencies of the peaks in the cross-correlograms for ADn-to-RSC connections. (<bold>F</bold>) Breakdown into HD- and non-HD coding of the putative pre- and post- synaptic partners of connected ADn-to-RSC pairs. (<bold>G</bold>) Polar plot distributions of the differences between preferred directions of connected ADn HD units and their putative HD-coding synaptic partners in RSC (n=75 units, 28 RS and 47 FS, 6 mice, left) and the same ADn HD units and all other HD-coding non-synaptic partners (n=73, 65 RS and 8 FS, 6 mice, right). Magenta line on the left plot indicates the circular mean (–5.4°) of the RS peak differences; Rayleigh test for non-uniformity p=0.005 for the RS synaptic partner, p=0.002 for RS and FS, p=0.052 of the RS non-synaptic partners and 0.086 for all non-partners (right plot). (<bold>H</bold>) Polar plots of tuning curves of 6 example pairs of connected ADn to RSC HD units with variable preferred directions. (<bold>I</bold>) Adapted schematic from <xref ref-type="fig" rid="fig1">Figure 1A</xref> showing that the connectivity from RSC to ADn is nearly absent and that the visually-guided updates in the HD frame emerge from a strong feedforward HD input from ADn.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig4-v1.tif"/></fig><fig id="fig4s1" position="float" specific-use="child-fig"><label>Figure 4—figure supplement 1.</label><caption><title>Anatomical tracing of reciprocal connectivity between ADn and RSC.</title><p>(<bold>A</bold>) Additional modified rabies tracing experiment in RSC, as showed in <xref ref-type="fig" rid="fig4">Figure 4A</xref>. (<bold>B</bold>) Red fluorescent microspheres (Lumafluor) injected in ADn (left) retrogradely label deep layers of RSC (right).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig4-figsupp1-v1.tif"/></fig><fig id="fig4s2" position="float" specific-use="child-fig"><label>Figure 4—figure supplement 2.</label><caption><title>Separation of putative pyramidal neurons and fast-spiking interneurons in cortex.</title><p>(<bold>A</bold>) Example putative RS neuron spike waveform with A (pre-polarization) and B (after-hyperpolarization) heights and the peak to trough distance metrics used for separating RS (~pyramidal) and FS (~interneurons) spiking neurons in RSC. (<bold>B</bold>) Scatter plot of all 749 RSC units according to the metrics calculated as in A. Dashed line indicates the &lt;0.42ms peak-to-trough duration discrimination. Units are shape- and color-coded to reflect the unit type classification and whether they were HD tuned or not. The plot includes the mean and SD of the combined spike waveforms for the four classes of units. (<bold>C</bold>) Unimodal distribution of the spike waveform symmetry values across all units. (<bold>D</bold>) Bimodal distribution of the peak-to-trough values, indicative of two clusters. (<bold>E</bold>) Counts of the 4 classes of units.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-fig4-figsupp2-v1.tif"/></fig></fig-group><p>We next examined whether the HD coordination we observed in our recordings could emerge from ensembles in RSC or ADn that were functionally connected and could convey updated or visually anchoring HD information. To this end, we performed spike cross correlation between all possible ADn-RSC pairs, considering the spikes occurring during cue-on periods. Putative monosynaptic connections were identified in the cross correlograms as sharp peaks above the baseline (<xref ref-type="fig" rid="fig4">Figure 4C</xref>) between 1 and 5ms from the time of ADn unit firing (<xref ref-type="fig" rid="fig4">Figure 4E</xref>). Using this metric (<xref ref-type="bibr" rid="bib60">Peyrache et al., 2015</xref>; <xref ref-type="bibr" rid="bib78">Stark and Abeles, 2009</xref>), we identified 6.88% of all possible pairs with a monosynaptic connection in the ADn-to-RSC direction (348 out of 5056) and only 0.08% in the RSC-to-ADn direction (4 out of 5056). In terms of unit counts, 91 out of 326 ADn units had at least one connection to RSC, while only 4 out of 749 RSC units had a connection with ADn (<xref ref-type="fig" rid="fig4">Figure 4D</xref>). The mean number of RSC synaptic partners was 4.23 for ADn HD cells and 0.04 for non-HD cells. When we focused on the connectivity during darkness, we found similar results: 35 out of 161 units in ADn (3 mice) had at a connection, while no RSC units were connected. The generally lower connectivity rate was likely due to the reduced sample size of cue-off trials, but suggested that even in the absence of visual cues corticothalamic projections were not a substrate for HD coordination. ADn’s dense connectivity largely originated from identified HD cells (275 connected pairs from ADn HD cells versus 72 from non-HD ADn cells) and included both HD as well as non-HD partner cells in RSC (<xref ref-type="fig" rid="fig4">Figure 4F</xref>). HD-coding was a feature of both RS and FS units in RSC (<xref ref-type="fig" rid="fig4s2">Figure 4—figure supplement 2</xref>), and both groups received ADn connections (<xref ref-type="fig" rid="fig4">Figure 4G</xref>, left plot).</p><p>Finally, the distribution of the preferred direction differences between ADn HD-coding units and their HD-coding synaptic partners in RSC showed a small but significant bias toward similar tuning (<xref ref-type="fig" rid="fig4">Figure 4G</xref> left polar plot, n=73 units, 28 RS and 47 FS, 6 mice, circular mean –5.4° with a circular standard deviation of 61°, Rayleigh test for non-uniformity p=0.005 for the RS synaptic partners only, p=0.002 when both cell types were combined). This similarity bias was not observed for the preferred direction differences between the same ADn units and all other non-synaptically connected HD-coding units, whose distribution was uniform (<xref ref-type="fig" rid="fig4">Figure 4G</xref> right polar plot, n=73, 65 RS and 8 FS units, Rayleigh test p=0.052 for the RS units, p=0.086 for RS and FS combined). Together, these results suggest that ADn sustains the RSC HD code with a widespread feedforward connectivity to both RS and FS units, a connectivity that targets not only HD-tuned units, directly shaping their preferred directions (<xref ref-type="fig" rid="fig4">Figure 4H</xref>), but also units with more complex, presumably multimodal, receptive fields. On the other hand, the very sparse RSC-to-ADn connections that we identified are, alone, unlikely to drive the change or the stability, in the presence of visual cues, in preferred directions in ADn (<xref ref-type="fig" rid="fig4">Figure 4I</xref>).</p></sec></sec><sec id="s3" sec-type="discussion"><title>Discussion</title><p>Our data show that the HD representation in ADn and RSC is closely coordinated, both in conditions when visual cues are stable and during adaptation to a new reference in response to cue rotation (<xref ref-type="fig" rid="fig2">Figure 2D and E</xref>). This is also true for HD drift in darkness (<xref ref-type="fig" rid="fig3">Figure 3D, E and G</xref>), showing that visual input is not necessary for maintaining these coordinated representations, and that other sensory modalities, such as angular velocity, optic flow, and/or motor efference copy, influence ADn and RSC HD. Finally, our functional connectivity (<xref ref-type="fig" rid="fig4">Figure 4D</xref>) supports the ADn-RSC HD coordination through a strong feedforward input to RSC, which shapes the local HD code there (<xref ref-type="fig" rid="fig4">Figure 4F–H</xref>). Specifically, the bias toward similar tuning between connected ADn and RSC HD units suggests that ADn HD code might not be simply inherited in RSC, as has been shown in POS (<xref ref-type="bibr" rid="bib60">Peyrache et al., 2015</xref>; <xref ref-type="bibr" rid="bib61">Peyrache et al., 2017</xref>), but likely integrated with other spatial codes via different circuit organization principles, that include recruitment of FS and RS neurons (<xref ref-type="bibr" rid="bib71">Simonnet et al., 2017</xref>). We conclude that the visually driven updating of the internal HD is a more complex process that privileges coordination across brain regions over sustained error signals with mismatched representations. However, the temporal resolution of the decoding occludes potential faster dynamics, at the scale of monosynaptic connections (ms range). Furthermore, given the reports of cells that track internal and external spaces and are able to bind HD and prominent visual information especially in dysgranular RSC (<xref ref-type="bibr" rid="bib35">Jacob et al., 2017</xref>; <xref ref-type="bibr" rid="bib73">Sit and Goard, 2023</xref>) and in posterior cortices (<xref ref-type="bibr" rid="bib46">LaChance et al., 2022</xref>), further investigation is needed on the presence of these specific firing patterns in set ups similar to that described here and on their activity in relation to ADn firing to better understand the mechanisms of realignment.</p><p>Using a simple generalized linear encoding model of HD (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1A</xref>), we decoded HD at a fine (20ms) temporal scale with ensembles of 3–30 units ADn and 8–110 in RSC. We observed variable and mostly slow drifts of the HD representation to a new target (<xref ref-type="fig" rid="fig2">Figure 2C</xref> and <xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3H</xref>). Repeated exposure to an unstable cue is known to cause landmark devaluation (<xref ref-type="bibr" rid="bib41">Knierim et al., 1995</xref>; <xref ref-type="bibr" rid="bib43">Knight and Hayman, 2014</xref>) and, together with extended navigation within the same environment, increased the incidence of under- or 0° rotations in our data (<xref ref-type="fig" rid="fig2s2">Figure 2—figure supplement 2B</xref>). Whether these conditions affect the speed of these shifts in our paradigm is unknown. Slow, continuous drifts of the HD representation after cue rotation as reported here (<xref ref-type="fig" rid="fig2">Figure 2C</xref>, <xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3H</xref>) have also been observed in flies (<xref ref-type="bibr" rid="bib39">Kim, 2017</xref>) and in rat (<xref ref-type="bibr" rid="bib42">Knierim et al., 1998</xref>) and mouse (<xref ref-type="bibr" rid="bib1">Ajabi et al., 2023</xref>) ADn, with the exception of one study in the rat ADn (<xref ref-type="bibr" rid="bib104">Zugaro et al., 2003</xref>) where immediate HD shifting was observed in specific cue-heading configurations. While behavioral and arena-configuration differences may underlie this discrepancy, it remains to be resolved if the cause of such slow drifts lies in: (1) the configuration of the polarizing visual stimulus, including the distance between the cue and the mouse, with farther away cues being less impacted by egocentric view and having more control over HD <xref ref-type="bibr" rid="bib103">Zugaro et al., 2001</xref>; (2) the memory of previous experiences of cue rotations (<xref ref-type="bibr" rid="bib1">Ajabi et al., 2023</xref>; <xref ref-type="bibr" rid="bib41">Knierim et al., 1995</xref>); and/or (3) the intrinsic time course of synaptic plasticity associated with the learning of the new landmark orientation (<xref ref-type="bibr" rid="bib28">Goodridge et al., 1998</xref>; <xref ref-type="bibr" rid="bib40">Kim et al., 2019</xref>; <xref ref-type="bibr" rid="bib39">Kim, 2017</xref>; <xref ref-type="bibr" rid="bib58">Page et al., 2014</xref>; <xref ref-type="bibr" rid="bib75">Skaggs et al., 1995</xref>; <xref ref-type="bibr" rid="bib99">Yan et al., 2021</xref>).</p><p>Whether distinct circuit mechanisms are recruited to coordinate the learning of the new orienting cue according to the behavioral demands and the complexity of the navigation task is not known. POS, through its reciprocal connections with visual areas, could provide the visual reference information to ADn, RSC and LMN, the obligatory HD path upstream of ADn (<xref ref-type="bibr" rid="bib101">Yoder et al., 2015</xref>; <xref ref-type="bibr" rid="bib100">Yoder and Taube, 2011</xref>). Another possible route includes the cortico-thalamic control through thalamic reticular nucleus, which readily and densely inhibits ADn and receives presubicular and retrosplenial connections (<xref ref-type="bibr" rid="bib90">Vantomme et al., 2020</xref>).</p><p>Our functional connectivity experiments reveal a strong feedforward ADn-to-RSC HD drive (<xref ref-type="fig" rid="fig4">Figure 4D–G</xref>) and sparse RSC-to-ADn connections. This asymmetry was more extreme than that observed in previously reported ADn-POS connectivity (<xref ref-type="bibr" rid="bib60">Peyrache et al., 2015</xref>; <xref ref-type="bibr" rid="bib86">van Groen and Wyss, 1990b</xref>), and possibly exacerbated by the widespread sampling of RSC locations in our recordings, across granular and dysgranular portions, with a higher concentration of tetrodes in the upper L2/3 and L5 (<xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1</xref>) and 9 out of 48 cortical tetrodes in mice with simultaneous ADn and RSC recordings in L6. Further denser sampling of layer 6 in RSC, and more specifically in the granular portion, where ADn’s presynaptic partners in RSC are mostly found (<xref ref-type="bibr" rid="bib67">Shibata, 1998</xref>; <xref ref-type="fig" rid="fig4">Figure 4B</xref>, <xref ref-type="fig" rid="fig4s1">Figure 4—figure supplement 1B</xref>), are needed to clarify the role of the anatomically-identified corticothalamic projections in the visual updating of ADn-RSC HD reference. RSC also extends over 1.5 mm in the anterior posterior axis, and it is possible our recordings have missed hotspots in the more posterior granular RSC bordering POS. Given that RSC displays a gradient along the anterior-posterior axis in encoding egocentric versus allocentric navigational variables (<xref ref-type="bibr" rid="bib33">Hennestad et al., 2021</xref>), future studies should address whether this anterior-posterior specialization is reflected not only in visual and HD computations, but also on downstream synaptic connectivity.</p><p>How would the visual cue integration that anchors HD be reflected in the ensemble representation? We hypothesized that an ‘error’ signal would appear as a temporal offset in the HD of the two regions: specifically, the RSC HD update by integration of visual inputs, would precede that of other regions, in our case ADn. Contrary to this hypothesis, our decoding showed no temporal offset in HD representation during shifting (<xref ref-type="fig" rid="fig2">Figure 2D and E</xref> and <xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3A–F</xref>). Importantly, this was true regardless of the exact control of the cue over the realignment. At the same time, even in the absence of visual cues, RSC and ADn were closely coordinated during small and large HD drifts, a phenomenon that has recently been proposed to be mediated by intact cerebellar inputs (<xref ref-type="bibr" rid="bib18">Fallahnezhad et al., 2023</xref>). This coordination, which we directly show under two visual challenges, is likely sustained by a strong and widespread feedforward ADn-to-RSC connectivity, where the updated HD reference may already be computed upstream of ADn (<xref ref-type="bibr" rid="bib101">Yoder et al., 2015</xref>). This framework is consistent with an existing hypothesis that visual anchoring may compete with and, depending on the manipulation, dynamically bias the memory of the internal estimation from angular velocity (<xref ref-type="bibr" rid="bib1">Ajabi et al., 2023</xref>; <xref ref-type="bibr" rid="bib42">Knierim et al., 1998</xref>).</p><p>In conclusion, our study provides new insight on the relative dynamics of HD realignment and drift and on the direct connectivity between ADn and RSC ensembles. The HD coordination and striking sparseness of RSC-to-ADn connectivity do not preclude, however, that RSC could support the change in HD reference through activation of dedicated ensembles encoding the orienting ‘landmark’ (<xref ref-type="bibr" rid="bib9">Bicanski and Burgess, 2016</xref>; <xref ref-type="bibr" rid="bib53">Mitchell et al., 2018</xref>; <xref ref-type="bibr" rid="bib59">Page and Jeffery, 2018</xref>) or with conjunctive HD-visual fields. In fact, RSC is necessary for ADn HD alignment to visual cues (<xref ref-type="bibr" rid="bib15">Clark et al., 2010</xref>) and the dense interconnection between RSC and several regions of the hippocampal formation (<xref ref-type="bibr" rid="bib80">Sugar et al., 2011</xref>; <xref ref-type="bibr" rid="bib97">Wyss and Van Groen, 1992</xref>) may support coordinated HD representation across the brain as a mechanism to ensure consistent flexible spatial computations relevant to behavior output. Future experiments using multi-site high-density recordings with laminar probes in RSC could directly assess the activity patterns, at the single unit and population level, associated with the learning of the new cue orientation and the reliability (or unreliability) of a landmark.</p></sec><sec id="s4" sec-type="methods"><title>Methods</title><sec id="s4-1"><title>Behavior and subjects</title><p>All animal procedures were performed in accordance with NIH and Massachusetts Institute of Technology Committee on Animal care guidelines. We used adult (&gt;8 weeks old) C57BL/6 from Charles River and from Jackson Laboratory RRID: <ext-link ext-link-type="uri" xlink:href="https://identifiers.org/RRID/RRID:IMSR_JAX:000664">IMSR_JAX:000664</ext-link> and one Vgat-Ires-Cre C57 BL/6 mice (RRID:<ext-link ext-link-type="uri" xlink:href="https://identifiers.org/RRID/RRID:IMSR_RBRC10723">IMSR_RBRC10723</ext-link>). Four females and eight males were used for tetrode recordings, and two 12-week-old mice were used for modified rabies tracing experiments in RSC, one mouse for rabies and one for red retrobeads tracing experiments in ADn. Mice were kept on a 12-hr light/dark cycle with unrestricted access to water. Eight of the implanted mice underwent mild (up to a 10% reduction in body weight) food restriction. Of the implanted mice, eight were housed isolated in conventional cages, four with siblings in rat cages with running wheels. One mouse had channelrhodopsin expression in cortical interneurons, but this aspect was not investigated in the present study.</p><p>The behavioral arena was 50 cm in diameter with a 25 cm cylinder wall, surrounded by an outer cylinder of 80 cm diameter and 30 cm height, where a string of 132 white LEDs (Adafruit, APA102) covering the upper circumference provided the only light source. The arena was enclosed in a 78x86 × 84 cm wooden dark box to shield from lighting and noise. In food deprived mice, pellets (Bioserve) were sprinkled on the floor to allow continuous exploration during long recordings. To provide novelty in the environment and induce exploration, two types of arena walls (black pvc with a white paper at the upper edge and opaque clear plastic) were used and changed when the cue rotation did not produce shifts in the HD tuning.</p><p>The visual cue was a set of computer-controlled (Teensy 3.2) LEDs spanning an angle of 20° with brightness following a gaussian with peak at the center and sd of 1. 2 weeks after surgery mice were habituated to a single cue or no cue at all while units were monitored. Different starting cue angular positions for the recording sessions were sampled and different sequences of rotations of ±90° and ±45° were played. For recordings with the Open-Ephys ONIX system (<xref ref-type="bibr" rid="bib57">Newman et al., 2023</xref>) with the commutator, rotations and cue on-off switches occurred every 20–40 min, versus the 5–20 min for recordings with the first generation Open-Ephys system (<xref ref-type="bibr" rid="bib70">Siegle et al., 2017</xref>) without commutator. Sessions length varied based on the animals’ behavior, with a minimum of 2 up to 11 rotations/on-off switches. Cue rotations occurred in consecutive ‘jumps’ from one angular position to the next. In three mice, periods of darkness were interleaved in some rotation sessions.</p></sec><sec id="s4-2"><title>Electrodes and drive implants surgeries</title><p>Light weight drives for tetrode recordings were fabricated following the guidelines in <xref ref-type="bibr" rid="bib93">Voigts et al., 2020</xref> for a total of 16 independently movable tetrodes per drive. Arrays were designed to simultaneously target ipsilateral ADn and RSC, for a total length of 2.8 mm and a width of 0.5 mm. To increase the yield of units especially for ADn, some guide tube positions were occupied by two tetrodes. Tetrodes were constructed from 12.7 μm nichrome wired (Sandvik – Kanthal, QH PAC polyimide coated) with an automated tetrode twisting machine (<xref ref-type="bibr" rid="bib56">Newman et al., 2020</xref>) and were gold plated to lower the impedance to a final value between 150 and 300 kOhm. One mouse was implanted with 32 carbon fiber electrodes ~100 Ohm (<xref ref-type="bibr" rid="bib29">Guitchounts et al., 2013</xref>) in ADn only, whose position was fixed since surgery.</p><p>All surgeries were performed using aseptic techniques. Mice were anesthetized with isoflurane (2% induction, 0.75–1.25% maintenance in 1 l/min oxygen) and secured in a stereotaxic apparatus. Body temperature was maintained with a feedback-controlled heating pad (DC Temperature Control System, FHC). Slow-release buprenorphine (1 mg/kg) and dexamethasone (4 mg/kg) were pre-operatively injected subcutaneously. After shaving of the scalp, application of hair-removal cream and disinfection with iodine and ethanol, an incision was made to expose the skull. For implants, after cleaning with ethanol, the skull was scored and a base of dental cement (C&amp;B Metabond and Ivoclar Vivadent Tetric EvoFlow) was applied. A burr hole was drilled over prefrontal cortex close to the olfactory bulb for placement of the ground screw (stainless steel) connected to a silver wire. Sometimes an additional burr hole and ground screw, connected to the other with silver epoxy, provided extra stability. For drive implants with tetrode arrays, a large craniotomy from ~0.3 to~3 mm from Bregma, and from the midline to ~0.95 mm ML at the level of M2 and ~0.7 mm ML at the level of RSC was drilled. After durotomy, the drive was lowered onto the surface of the brain with one RSC (AP ~2.400, ML ~0.150 mm, DV ~0.200 mm) and one ADn (AP ~0.350 mm, ML ~0.975 mm, DV ~1.800 mm) -targeting tetrodes extended for guiding the placement of the array. For the carbon fibers implant, a smaller (~1 mm diameter) craniotomy, followed by durotomy, allowed lowering of the bundle of fibers into ADn (AP: 0.68 mm, ML 0.75 mm, DV 2.65 mm). The drive, or the fiber frame, was then secured to the skull with dental cement, the skin incision was partially closed with sutures and the mouse was placed in a clean cage with wet food and a heating pad and monitored until fully recovered. All drive implants were done on the right hemisphere.</p></sec><sec id="s4-3"><title>Viral and retrobead surgeries</title><p>The same stereotactic procedures were applied to viral and beads surgeries for anatomical tracing. For ADn rabies tracing (<xref ref-type="fig" rid="fig4">Figure 4B</xref>), a burr hole was drilled over AP 0.68 mm, ML 0.75 mm coordinates and 25 nL of 1:1:1 mixture of helper viruses, pAAV-syn-FLEX-splitTVA-EGFP-tTA and pAAV-TREtight-mTagBFP2-B19G (Wickersham) and AAV2/1.hSyn.Cre (Janelia Farms) was delivered at a rate of 60 nL/min through a glass pipette lowered to DV 2.65 mm. This injection was followed by 50 nL of (EnvA)SAD-ΔG-mCherry (Wickersham) two weeks later at the same location, and after 7 days the brains were processed for histology. For RSC rabies tracing experiments (<xref ref-type="fig" rid="fig4">Figure 4A</xref> and <xref ref-type="fig" rid="fig4s1">Figure 4—figure supplement 1A</xref>), the coordinates were AP 2.8 mm, ML 0.45 mm, DV 0.75 and 0.45 mm, and the injection of 50 nL of 1:1 mixture of AAV2/1.hSyn.Cre (Janelia Farms) and AAV1-hsyn-DIO-TVA66T-dTom-CVS-N2C(g) (Allen Institute) was followed 3 weeks later by a 100 nL of EnvA dG CVS-N2C Histone-eGFP (Allen Institute) before histological processing 9 days later. In an additional tracing experiment (<xref ref-type="fig" rid="fig4s1">Figure 4—figure supplement 1B</xref>), following the same surgical procedures, 20 nL of red fluorescent microspheres (Lumafluor) were injected into ADn at AP 0.78 mm, ML 0.74 mm coordinates and DV 2.788 mm and the brain was processed for histology 7 days after the injection. Five min after each injection, the pipette was slowly withdrawn and the incision was sutured.</p></sec><sec id="s4-4"><title>Immunohistochemistry and confocal imaging</title><p>Brain fixation with 4% paraformaldehyde in PBS was achieved with transcardial perfusion for monosynaptic rabies tracing experiments and with drop fix for electrolytic lesions retrieval from the drive-implanted mice. After being left overnight at 4 °C, brains were sectioned coronally at 100 μm thickness with a floating section vibratome (Leica VT1000s), washed in PBS and then labeled with 1:1000 DAPI solution (62248; Thermo Fisher Scientific). All sections were mounted and coverslipped with clear-mount with tris buffer (17985–12; Electron Microscopy Sciences). Confocal images were captured using a Leica TCS SP8 microscope with a 10 X objective (NA 0.40) and a Zeiss LSM 710 with a 10 x objective (NA 0.45). ML and DV coordinates for cortical tetrode rotations (<xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1</xref>) were measured in ImageJ/FIJI (National Institutes of Health) from the midline and the pia to the center of the lesions and aligned to 4 matching coronal slices from the Mouse Brain Atlas (Allen Institute) for AP axis reference.</p></sec><sec id="s4-5"><title>Electrophysiology and data acquisition</title><p>Electrophysiology signals were acquired continuously at 30 kHz, while the behavioral tracking was acquired at 30 Hz with one or two lighthouse tracking stations (HTC Vive Base Station, Amazon). An additional camera (FFY-U3-16S2M-S, FLIR) was placed on the ceiling of the behavior box for behavior monitoring. Three mice were recorded on a first generation Open-Ephys system (<xref ref-type="bibr" rid="bib70">Siegle et al., 2017</xref>) with an Intan 64 or Intan 32 (for the carbon fiber-implanted mouse) headstage. In these mice, tracking provided by two lighthouse receivers (TS4231, Digikey) attached at the base of the headstage, whose signal was recorded and powered through a teensy 3.6. The other nine mice were recorded on a new-generation Open-Ephys ONIX (<xref ref-type="bibr" rid="bib57">Newman et al., 2023</xref>) system with 64 channel headstages with a powered commutator, that integrated electrophysiology and behavior tracking using the Bonsai software (<xref ref-type="bibr" rid="bib48">Lopes et al., 2015</xref>).</p><p>Spikes were sorted on 300–6000 Hz band pass filtered continuous traces, using MountainSort (<ext-link ext-link-type="uri" xlink:href="https://github.com/flatironinstitute/mountainsort">https://github.com/flatironinstitute/mountainsort</ext-link>, copy archived at <xref ref-type="bibr" rid="bib21">flatironinstitute, 2023</xref>; <xref ref-type="bibr" rid="bib14">Chung et al., 2017</xref>). Units were then manually selected based on the spike template shapes resembling action potentials with asymmetric waveforms and interspike interval (ISI) distribution centered away from the refractory period (<xref ref-type="fig" rid="fig1s2">Figure 1—figure supplement 2A–C</xref> for samples of HD units in ADn and RSC with tetrode waveforms, autocorrelation histograms and tuning curves in polar coordinates and <xref ref-type="fig" rid="fig1s2">Figure 1—figure supplement 2D</xref> for Isolation, SNR and mean Hz of all selected units from sessions sampling unique ensembles based on tetrode advancement tracking). After implant surgery, ADn-targeting tetrodes were lowered until HD-coding cells were identified based on their tuning obtained from brief recordings, and RSC targeting tetrodes were slowly lowered until well-isolated units appeared. When at least two HD cells in ADn were first detected, recordings of cue rotation or cue-on-off sessions were collected over a minimum of 2 weeks and up to 8 months. Tetrodes in ADn and RSC were regularly moved by ~20–150 µm increments, followed by recordings of short stable cue-on sessions to verify if the yield was improved. To avoid sampling of the same units for HD neurons quantifications and spike correlations for monosynaptic connections, units from selected sessions based on the movement of tetrodes and the number of units recorded and from only one session for the carbon fiber-implanted mouse and one for the large were included in these analyses. At the end of the experiments, electrolytic lesions were obtained by passing positive and negative current (20–25 µA) on each electrode contact for 5 s with a stimulus isolator (A365RC, WPI) while the animal was under isofluorane-induced anesthesia. After 30–60 min of recovery, the brains were extracted for histology.</p></sec><sec id="s4-6"><title>Data analysis</title><sec id="s4-6-1"><title>HD unit selection</title><p>HD was quantified as the relative orientation of two or three infrared lighthouse receivers present on the integrated headstage, after their (x,y) coordinates were linearly interpolated to align to the same 50 Hz timestamps. For each session, HD tuning curves were quantified as the histogram of the spike trains over HD angles of 10 degree bins divided by the occupancy. For HD unit selection and information metrics for other spatial correlates, data from a stable cue-on period was used. Information was calculated in bits/spike as<disp-formula id="equ1"><mml:math id="m1"><mml:mi>I</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mi>λ</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>×</mml:mo><mml:msub><mml:mrow><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>λ</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mi>λ</mml:mi></mml:mrow></mml:mfrac></mml:mrow></mml:mfenced><mml:mo>×</mml:mo><mml:mi>p</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mi>λ</mml:mi></mml:mrow></mml:mfrac></mml:math></disp-formula></p><p>following the methods of <xref ref-type="bibr" rid="bib74">Skaggs, 1993</xref> where <italic>x</italic> is the binned HD (n=36 bins), p(x) is the occupancy, and λ is the mean firing rate and λ(<inline-formula><mml:math id="inf1"><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>) is the firing rate for each angular bin. Cells in ADn and RSC were selected as HD-coding if the amount of directional information, the resultant and the concentration of the smoothed tuning curve were more than the 98th percentile of the shuffle distribution and if these criteria were met on two distinct stable, cue on periods with substantial HD angles occupancy. Shuffling of the spikes was obtained by shifting 500 times the spike trains by random amounts with respect to the HD from tracking. The peak number was obtained from MATLAB’s <italic>findpeaks.m</italic>, with a minimum peak distance of 120°, width of 40° and prominence more than 11. For units with more than one peak (<xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3A</xref>), we applied MATLAB’s <italic>fitnlm.m</italic> with a basic von Mises model function with one peak<disp-formula id="equ2"><mml:math id="m2"><mml:msub><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>e</mml:mi><mml:mi>f</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>e</mml:mi><mml:mi>f</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>×</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>p</mml:mi><mml:mi>i</mml:mi><mml:mi>*</mml:mi><mml:mi>b</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>s</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi><mml:mi>i</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>e</mml:mi><mml:mi>f</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac><mml:mo>×</mml:mo><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>e</mml:mi><mml:mi>f</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mo>×</mml:mo><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>g</mml:mi><mml:mi>l</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>e</mml:mi><mml:mi>f</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></disp-formula></p><p>where <italic>besseli</italic> is the modified Bessel function of the first kind, <italic>angles</italic> is the range of possible angles between 0 and <italic>2pi</italic> in 3600 bins, and the subscripted coefficients correspond to: 1 a baseline constant offset, 2 a scaling factor for the peak height, 3 the peak location, 4 the concentration parameter in the Von Mises probability distribution. For instances where up to 3 peaks were identified, the model function was expanded with a linear sum combining additional sets of height, location and concentration coefficients. Starting values for coefficients estimation were obtained from the <italic>findpeaks.m</italic> and 0 for the constant offset. The aim of this strategy was to identify a von Mises distribution anchored to the largest peak in tuning curves, whose resultant would have otherwise been much lower despite a strong directional information (<xref ref-type="fig" rid="fig1">Figure 1E</xref> 3rd example from top, and <xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3A</xref>). Angular velocity was calculated as the first derivative in the unwrapped, down-sampled HD to 500ms and then re-interpolated in the 50 Hz temporal resolution.</p></sec><sec id="s4-6-2"><title>HD decoding</title><p>We decoded HD using a linear-Gaussian GLM based on the 20 ms-binned firing rates of ADn and RSC neurons, separately (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1A</xref>). A Butterworth filter with cutoff normalized frequency of 0.2 was applied to the firing rates, which were then normalized. Maximum a posteriori estimation coefficients of the neuronal ensembles (the predictors) were obtained via ridge regression regularization was applied to the sine and cosine of HD, binned in 10° bins. The segments for the training were taken from a cue-on period at least 50 s away from rotation. Decoding was performed using MATLAB’s <italic>glmval.m</italic> with the corresponding identity link function and HD reconstructed as the <inline-formula><mml:math id="inf2"><mml:msup><mml:mrow><mml:mi>t</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> from the decoded bins. With this strategy, we obtained the HD representation, which was linked to the neuronal ensembles via the learned coefficients during training, in a test period of 120 s following the training session and in the period after cue rotation. For testing drift in dark and light, shorter training sessions during a stable cue-on (up to 8 min of data) were used and evaluated on the subsequent cue-on period and after the cue was turned off.</p><p>Results from HD decoding with the GLM were replicated with Long-Short-Term-Memory (LSTM) network composed of a single LSTM layer of 50 units and a fully connected layer into a cyclical MSE output with 36 possible HD values by wrapping around values to 2pi. The network was trained with MATLAB’s deep learning toolbox with every new trial to predict the test and the realignment period. Because of the slightly better accuracy of the GLM in the test period, we chose to present the GLM results in the main figures.</p></sec><sec id="s4-6-3"><title>Detection of putative functional monosynaptic connections</title><p>We performed spike cross-correlation between all unique possible pairs of simultaneously recorded ADn-RSC neurons to detect putative monosynaptic connections. Excitatory connections appear as peaks in the cross-correlogram in the short time scale (1–5ms) above baseline (<xref ref-type="bibr" rid="bib24">Fujisawa et al., 2008</xref>; <xref ref-type="bibr" rid="bib78">Stark and Abeles, 2009</xref>). We focused on excitatory connectivity since corticothalamic and thalamocortical projections are excitatory. Cross correlograms were constructed in bins of 0.5ms by taking all spikes occurring during cue-on trials in a session (or only during cue-off trials). The baseline correlation, simulating homogeneous firing, was constructed by convolving the cross correlogram with a 10 ms s.d. Gaussian window. Significant connections were detected if at least 2 consecutive bins in the 1–5ms window of the cross correlogram were above the 99.9th percentile of the cumulative Poisson distribution at the baseline rate.</p></sec><sec id="s4-6-4"><title>Interneuron and pyramidal neurons classification</title><p>Fast spiking (FS) interneurons and regular spiking (RS, pyramidal) neurons have distinct features that appear on the extracellular spike waveforms and can be used for classification (<xref ref-type="bibr" rid="bib7">Barthó et al., 2004</xref>; <xref ref-type="bibr" rid="bib95">Wilson and McNaughton, 1993</xref>). We applied the metrics described in <xref ref-type="bibr" rid="bib72">Sirota et al., 2008</xref> on spike waveforms identified from the bandpass filtered continuous traces. Briefly, a mean spike waveform was obtained for each cortical neuron and the peak-to-trough was quantified as the time between the peak of the spike and the maximum point in the after hyperpolarization, whereas the symmetry around the spike was calculated as the difference between the height at the maximum point after spike peak and the maximum point before spike peak, divided by the sum of these two quantities. While in our dataset the symmetry value was unimodally distributed, the peak-to-trough was clearly bimodally distributed, allowing to cluster FS and RS with a previously reported (<xref ref-type="bibr" rid="bib60">Peyrache et al., 2015</xref>) cutoff duration of 0.42ms, which resulted in average spike waveforms with a slow repolarization decay for RS and faster repolarization in FS (<xref ref-type="fig" rid="fig4s2">Figure 4—figure supplement 2</xref>).</p></sec><sec id="s4-6-5"><title>Quantification and statistical analysis</title><p>All statistical analyses were performed in MATLAB (MathWorks, R2020a). All spiking and behavioral data, with exception of the spike times for the detection of monosynaptic connections, was binned in 20ms bins. Behavioral tracking from the light receivers was linearly interpolated. Circular Statistic Toolbox (<xref ref-type="bibr" rid="bib8">Berens, 2009</xref>) functions were employed such as circular means for quantifications of HD units’ preferred firing directions (PFD), mean ensemble rotations and peak offsets, as well as neural population and decoded errors mean rotations and drifts, confidence intervals, tests of uniformity of angles, and circular correlations between decoded errors, PFD offsets of HD cell pairs between trials, PFDs within trials and mean ensemble rotations. Where the data was not circular, such as absolute values of angles, standard metrics and Pearson correlations coefficient were calculated.</p><p>Data in <xref ref-type="fig" rid="fig1">Figure 1F–G</xref> and <xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3G</xref> included only 1 trial per selected sessions with unique ensemble cells, where significant tuning curves rotations were observed and finally where each direction bin had a 1 s minimum occupancy. This was to avoid smoothing PFDs offsets by averaging across before-after rotation segments. For comparisons of HD units’ properties between cue-on and cue-off in <xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3H–L</xref> and in <xref ref-type="fig" rid="fig1s3">Figure 1—figure supplement 3F</xref>, metrics for individual units were obtained by averaging across trials within the same session, which were again selected to sample unique ensembles following tetrode movements and changes in recorded unit numbers. A similar session selection criterion was used for the functional connectivity, where unique combinations of ADn-RSC ensembles were used. For <xref ref-type="fig" rid="fig2">Figures 2D&amp;E</xref> and <xref ref-type="fig" rid="fig3">3D–G</xref> and <xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1C–F</xref>, <xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3A–G</xref>, and <xref ref-type="fig" rid="fig3s1">Figure 3—figure supplement 1A</xref>&amp;B the metrics of trials from largely overlapping ensembles were averaged and the statistics were performed on unique ensembles. In <xref ref-type="fig" rid="fig1">Figures 1H</xref> and <xref ref-type="fig" rid="fig2">2B</xref> and <xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1G, H</xref> data was presented as mean and standard errors of the rotation values from overlapping ensembles and between ranges of large positive, small positive, null, large negative and small negative and large negative rotations.</p><p>The difference in decoded HD or decoded HD errors in <xref ref-type="fig" rid="fig2s3">Figure 2—figure supplement 3</xref> was calculated as the median of the absolute medians of the wrapped difference in decoded HD (or HD error) of 7, non-overlapping 5 s segments, to cover a total of 35 s of stable test and realignment following cue rotation periods. Absolute medians from trials from the same ensembles were combined.</p><p>Two-tailed Kolmogorov Smirnov tests were used to compare the time lags of peak correlation between ADn and RSC decoded errors vs the null distribution obtained from 100 shuffles, and Wilcoxon Signed-Rank tests to compare the peak correlation values before and after cue rotation. Shuffle distributions for the decoded rotations in ADn and RSC (<xref ref-type="fig" rid="fig2s1">Figure 2—figure supplement 1G</xref>&amp;H) were obtained by decoding the HD from circularly shifted spikes by random amounts 100 times. For analyses on decoded HD, trials were included if the decoding accuracy from that session was above 90% of that from shuffle spikes. Shuffle distributions for the decoded errors (both for dark and cue-rotation drifts) were obtained by circularly shifting the tracked HD by random amounts 100 times and subtracting it from the RSC decoded HD. Significant ensemble preferred directions rotations were determined if at least half of the HD cells experienced preferred direction shifts larger than the 98th percentile of a distribution obtained by randomly reassigning 500 times the indices around that rotation trial. p-Value thresholds of 0.05 were used for statistical non-parametric tests. Multiple comparison tests were performed with Bonferroni-correction.</p></sec></sec></sec></body><back><sec sec-type="additional-information" id="s5"><title>Additional information</title><fn-group content-type="competing-interest"><title>Competing interests</title><fn fn-type="COI-statement" id="conf1"><p>No competing interests declared</p></fn><fn fn-type="COI-statement" id="conf2"><p>The author is a board member of Open Ephys Inc, a public benefit workers cooperative in Atlanta GA</p></fn><fn fn-type="COI-statement" id="conf3"><p>The author is president of Open Ephys Inc, a public benefit workers cooperative in Atlanta GA</p></fn></fn-group><fn-group content-type="author-contribution"><title>Author contributions</title><fn fn-type="con" id="con1"><p>Conceptualization, Resources, Data curation, Software, Formal analysis, Validation, Investigation, Visualization, Methodology, Writing - original draft, Writing – review and editing</p></fn><fn fn-type="con" id="con2"><p>Resources, Software, Methodology, Writing – review and editing</p></fn><fn fn-type="con" id="con3"><p>Resources, Software, Methodology, Writing – review and editing</p></fn><fn fn-type="con" id="con4"><p>Formal analysis, Writing – review and editing</p></fn><fn fn-type="con" id="con5"><p>Investigation</p></fn><fn fn-type="con" id="con6"><p>Formal analysis</p></fn><fn fn-type="con" id="con7"><p>Conceptualization, Supervision, Funding acquisition, Project administration, Writing – review and editing</p></fn></fn-group><fn-group content-type="ethics-information"><title>Ethics</title><fn fn-type="other"><p>All animal procedures were performed in accordance with NIH and MassachusettsInstitute of Technology Committee on Animal care guidelines (protocol number 0521-036-24).</p></fn></fn-group></sec><sec sec-type="supplementary-material" id="s6"><title>Additional files</title><supplementary-material id="mdar"><label>MDAR checklist</label><media xlink:href="elife-82952-mdarchecklist1-v1.docx" mimetype="application" mime-subtype="docx"/></supplementary-material><supplementary-material id="supp1"><label>Supplementary file 1.</label><caption><title>Recording Sessions Summary.</title></caption><media xlink:href="elife-82952-supp1-v1.pdf" mimetype="application" mime-subtype="pdf"/></supplementary-material></sec><sec sec-type="data-availability" id="s7"><title>Data availability</title><p>Data and associated code have been uploaded on Dryad at <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5061/dryad.dfn2z3555">https://doi.org/10.5061/dryad.dfn2z3555</ext-link>.</p><p>The following dataset was generated:</p><p><element-citation publication-type="data" specific-use="isSupplementedBy" id="dataset1"><person-group person-group-type="author"><name><surname>van der Goes</surname><given-names>M</given-names></name><name><surname>Voigts</surname><given-names>J</given-names></name><name><surname>Newman</surname><given-names>J</given-names></name><name><surname>Toloza</surname><given-names>E</given-names></name><name><surname>Brown</surname><given-names>N</given-names></name><name><surname>Murugan</surname><given-names>P</given-names></name><name><surname>Harnett</surname><given-names>MT</given-names></name></person-group><year iso-8601-date="2023">2023</year><data-title>Coordinated Head Direction Representations in Mouse Anterodorsal Thalamic Nucleus and Retrosplenial Cortex</data-title><source>Dryad Digital Repository</source><pub-id pub-id-type="doi">10.5061/dryad.dfn2z3555</pub-id></element-citation></p></sec><ack id="ack"><title>Acknowledgements</title><p>We thank Hongkui Zeng, Shenqin Yao, Ali Cetin, and the Allen Institute as well as Ian Wickersham and Heather Sullivan for sharing monosynaptic rabies tracing viral constructs. We thank Mila Halgren and Lukas Fischer for feedback on the manuscript and members of the Harnett laboratory and Wisam Reid for constructive criticism on the project. This work was supported by a MathWorks Graduate Fellowship (MSH v.d G), NIH K99 6943778 (JV), RO1NS106031 (MTH), the James W and Patricia T Poitras Fund at MIT (MTH), and the Klingenstein-Simons Fellowship Program (MTH).</p></ack><ref-list><title>References</title><ref id="bib1"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ajabi</surname><given-names>Z</given-names></name><name><surname>Keinath</surname><given-names>AT</given-names></name><name><surname>Wei</surname><given-names>XX</given-names></name><name><surname>Brandon</surname><given-names>MP</given-names></name></person-group><year iso-8601-date="2023">2023</year><article-title>Population dynamics of head-direction neurons during drift and reorientation</article-title><source>Nature</source><volume>615</volume><fpage>892</fpage><lpage>899</lpage><pub-id pub-id-type="doi">10.1038/s41586-023-05813-2</pub-id><pub-id pub-id-type="pmid">36949190</pub-id></element-citation></ref><ref id="bib2"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Alexander</surname><given-names>AS</given-names></name><name><surname>Nitz</surname><given-names>DA</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Retrosplenial cortex maps the conjunction of internal and external spaces</article-title><source>Nature Neuroscience</source><volume>18</volume><fpage>1143</fpage><lpage>1151</lpage><pub-id pub-id-type="doi">10.1038/nn.4058</pub-id><pub-id pub-id-type="pmid">26147532</pub-id></element-citation></ref><ref id="bib3"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Alexander</surname><given-names>AS</given-names></name><name><surname>Nitz</surname><given-names>DA</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Spatially periodic activation patterns of retrosplenial cortex encode route sub-spaces and distance traveled</article-title><source>Current Biology</source><volume>27</volume><fpage>1551</fpage><lpage>1560</lpage><pub-id pub-id-type="doi">10.1016/j.cub.2017.04.036</pub-id><pub-id pub-id-type="pmid">28528904</pub-id></element-citation></ref><ref id="bib4"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Alexander</surname><given-names>AS</given-names></name><name><surname>Carstensen</surname><given-names>LC</given-names></name><name><surname>Hinman</surname><given-names>JR</given-names></name><name><surname>Raudies</surname><given-names>F</given-names></name><name><surname>Chapman</surname><given-names>GW</given-names></name><name><surname>Hasselmo</surname><given-names>ME</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Egocentric boundary vector tuning of the retrosplenial cortex</article-title><source>Science Advances</source><volume>6</volume><elocation-id>eaaz2322</elocation-id><pub-id pub-id-type="doi">10.1126/sciadv.aaz2322</pub-id><pub-id pub-id-type="pmid">32128423</pub-id></element-citation></ref><ref id="bib5"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Auger</surname><given-names>SD</given-names></name><name><surname>Mullally</surname><given-names>SL</given-names></name><name><surname>Maguire</surname><given-names>EA</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Retrosplenial cortex codes for permanent landmarks</article-title><source>PLOS ONE</source><volume>7</volume><elocation-id>e43620</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pone.0043620</pub-id><pub-id pub-id-type="pmid">22912894</pub-id></element-citation></ref><ref id="bib6"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Barry</surname><given-names>C</given-names></name><name><surname>Burgess</surname><given-names>N</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Neural mechanisms of self-location</article-title><source>Current Biology</source><volume>24</volume><fpage>R330</fpage><lpage>R339</lpage><pub-id pub-id-type="doi">10.1016/j.cub.2014.02.049</pub-id><pub-id pub-id-type="pmid">24735859</pub-id></element-citation></ref><ref id="bib7"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Barthó</surname><given-names>P</given-names></name><name><surname>Hirase</surname><given-names>H</given-names></name><name><surname>Monconduit</surname><given-names>L</given-names></name><name><surname>Zugaro</surname><given-names>M</given-names></name><name><surname>Harris</surname><given-names>KD</given-names></name><name><surname>Buzsáki</surname><given-names>G</given-names></name></person-group><year iso-8601-date="2004">2004</year><article-title>Characterization of neocortical principal cells and interneurons by network interactions and extracellular features</article-title><source>Journal of Neurophysiology</source><volume>92</volume><fpage>600</fpage><lpage>608</lpage><pub-id pub-id-type="doi">10.1152/jn.01170.2003</pub-id><pub-id pub-id-type="pmid">15056678</pub-id></element-citation></ref><ref id="bib8"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Berens</surname><given-names>P</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>CircStat: a MATLAB toolbox for circular statistics</article-title><source>Journal of Statistical Software</source><volume>31</volume><fpage>1</fpage><lpage>21</lpage><pub-id pub-id-type="doi">10.18637/jss.v031.i10</pub-id></element-citation></ref><ref id="bib9"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Bicanski</surname><given-names>A</given-names></name><name><surname>Burgess</surname><given-names>N</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Environmental anchoring of head direction in a computational model of retrosplenial cortex</article-title><source>The Journal of Neuroscience</source><volume>36</volume><fpage>11601</fpage><lpage>11618</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.0516-16.2016</pub-id><pub-id pub-id-type="pmid">27852770</pub-id></element-citation></ref><ref id="bib10"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Calton</surname><given-names>JL</given-names></name><name><surname>Stackman</surname><given-names>RW</given-names></name><name><surname>Goodridge</surname><given-names>JP</given-names></name><name><surname>Archey</surname><given-names>WB</given-names></name><name><surname>Dudchenko</surname><given-names>PA</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Hippocampal place cell instability after lesions of the head direction cell network</article-title><source>The Journal of Neuroscience</source><volume>23</volume><fpage>9719</fpage><lpage>9731</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.23-30-09719.2003</pub-id><pub-id pub-id-type="pmid">14585999</pub-id></element-citation></ref><ref id="bib11"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname><given-names>LL</given-names></name><name><surname>Lin</surname><given-names>LH</given-names></name><name><surname>Barnes</surname><given-names>CA</given-names></name><name><surname>McNaughton</surname><given-names>BL</given-names></name></person-group><year iso-8601-date="1994">1994a</year><article-title>Head-direction cells in the rat posterior cortex. II. contributions of visual and ideothetic information to the directional firing</article-title><source>Experimental Brain Research</source><volume>101</volume><fpage>24</fpage><lpage>34</lpage><pub-id pub-id-type="doi">10.1007/BF00243213</pub-id><pub-id pub-id-type="pmid">7843299</pub-id></element-citation></ref><ref id="bib12"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname><given-names>LL</given-names></name><name><surname>Lin</surname><given-names>LH</given-names></name><name><surname>Green</surname><given-names>EJ</given-names></name><name><surname>Barnes</surname><given-names>CA</given-names></name><name><surname>McNaughton</surname><given-names>BL</given-names></name></person-group><year iso-8601-date="1994">1994b</year><article-title>Head-direction cells in the rat posterior cortex. I. anatomical distribution and behavioral modulation</article-title><source>Experimental Brain Research</source><volume>101</volume><fpage>8</fpage><lpage>23</lpage><pub-id pub-id-type="doi">10.1007/BF00243212</pub-id><pub-id pub-id-type="pmid">7843305</pub-id></element-citation></ref><ref id="bib13"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cho</surname><given-names>J</given-names></name><name><surname>Sharp</surname><given-names>PE</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>Head direction, place, and movement correlates for cells in the rat retrosplenial cortex</article-title><source>Behavioral Neuroscience</source><volume>115</volume><fpage>3</fpage><lpage>25</lpage><pub-id pub-id-type="doi">10.1037/0735-7044.115.1.3</pub-id><pub-id pub-id-type="pmid">11256450</pub-id></element-citation></ref><ref id="bib14"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chung</surname><given-names>JE</given-names></name><name><surname>Magland</surname><given-names>JF</given-names></name><name><surname>Barnett</surname><given-names>AH</given-names></name><name><surname>Tolosa</surname><given-names>VM</given-names></name><name><surname>Tooker</surname><given-names>AC</given-names></name><name><surname>Lee</surname><given-names>KY</given-names></name><name><surname>Shah</surname><given-names>KG</given-names></name><name><surname>Felix</surname><given-names>SH</given-names></name><name><surname>Frank</surname><given-names>LM</given-names></name><name><surname>Greengard</surname><given-names>LF</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>A fully automated approach to spike sorting</article-title><source>Neuron</source><volume>95</volume><fpage>1381</fpage><lpage>1394</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2017.08.030</pub-id><pub-id pub-id-type="pmid">28910621</pub-id></element-citation></ref><ref id="bib15"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Clark</surname><given-names>BJ</given-names></name><name><surname>Bassett</surname><given-names>JP</given-names></name><name><surname>Wang</surname><given-names>SS</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="2010">2010</year><article-title>Impaired head direction cell representation in the <italic>Anterodorsal thalamus</italic> after lesions of the retrosplenial cortex</article-title><source>The Journal of Neuroscience</source><volume>30</volume><fpage>5289</fpage><lpage>5302</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.3380-09.2010</pub-id><pub-id pub-id-type="pmid">20392951</pub-id></element-citation></ref><ref id="bib16"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Dräger</surname><given-names>UC</given-names></name><name><surname>Olsen</surname><given-names>JF</given-names></name></person-group><year iso-8601-date="1980">1980</year><article-title>Origins of crossed and uncrossed retinal projections in pigmented and albino mice</article-title><source>The Journal of Comparative Neurology</source><volume>191</volume><fpage>383</fpage><lpage>412</lpage><pub-id pub-id-type="doi">10.1002/cne.901910306</pub-id><pub-id pub-id-type="pmid">7410600</pub-id></element-citation></ref><ref id="bib17"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Elduayen</surname><given-names>C</given-names></name><name><surname>Save</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>The retrosplenial cortex is necessary for path integration in the dark</article-title><source>Behavioural Brain Research</source><volume>272</volume><fpage>303</fpage><lpage>307</lpage><pub-id pub-id-type="doi">10.1016/j.bbr.2014.07.009</pub-id><pub-id pub-id-type="pmid">25026093</pub-id></element-citation></ref><ref id="bib18"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fallahnezhad</surname><given-names>M</given-names></name><name><surname>Le Mero</surname><given-names>J</given-names></name><name><surname>Zenelaj</surname><given-names>X</given-names></name><name><surname>Vincent</surname><given-names>J</given-names></name><name><surname>Rochefort</surname><given-names>C</given-names></name><name><surname>Rondi-Reig</surname><given-names>L</given-names></name></person-group><year iso-8601-date="2023">2023</year><article-title>Cerebellar control of a unitary head direction sense</article-title><source>PNAS</source><volume>120</volume><elocation-id>e2214539120</elocation-id><pub-id pub-id-type="doi">10.1073/pnas.2214539120</pub-id><pub-id pub-id-type="pmid">36812198</pub-id></element-citation></ref><ref id="bib19"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fischer</surname><given-names>LF</given-names></name><name><surname>Mojica Soto-Albors</surname><given-names>R</given-names></name><name><surname>Buck</surname><given-names>F</given-names></name><name><surname>Harnett</surname><given-names>MT</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Representation of visual landmarks in retrosplenial cortex</article-title><source>eLife</source><volume>9</volume><elocation-id>1458</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.51458</pub-id><pub-id pub-id-type="pmid">32154781</pub-id></element-citation></ref><ref id="bib20"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fisher</surname><given-names>YE</given-names></name><name><surname>Lu</surname><given-names>J</given-names></name><name><surname>D’Alessandro</surname><given-names>I</given-names></name><name><surname>Wilson</surname><given-names>RI</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Sensorimotor experience remaps visual input to a heading-direction network</article-title><source>Nature</source><volume>576</volume><fpage>121</fpage><lpage>125</lpage><pub-id pub-id-type="doi">10.1038/s41586-019-1772-4</pub-id><pub-id pub-id-type="pmid">31748749</pub-id></element-citation></ref><ref id="bib21"><element-citation publication-type="software"><person-group person-group-type="author"><collab>flatironinstitute</collab></person-group><year iso-8601-date="2023">2023</year><data-title>Mountainsort</data-title><version designator="swh:1:rev:a3d43d9242f56c5cdc887f5963e7496b4b6b424d">swh:1:rev:a3d43d9242f56c5cdc887f5963e7496b4b6b424d</version><source>Software Heritage</source><ext-link ext-link-type="uri" xlink:href="https://archive.softwareheritage.org/swh:1:dir:49131d9b3b5ca042499675424822eae8caa7d9bc;origin=https://github.com/flatironinstitute/mountainsort;visit=swh:1:snp:cd4e26078a943c54ec1268aa16a076fa89c54ab9;anchor=swh:1:rev:a3d43d9242f56c5cdc887f5963e7496b4b6b424d">https://archive.softwareheritage.org/swh:1:dir:49131d9b3b5ca042499675424822eae8caa7d9bc;origin=https://github.com/flatironinstitute/mountainsort;visit=swh:1:snp:cd4e26078a943c54ec1268aa16a076fa89c54ab9;anchor=swh:1:rev:a3d43d9242f56c5cdc887f5963e7496b4b6b424d</ext-link></element-citation></ref><ref id="bib22"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Franconville</surname><given-names>R</given-names></name><name><surname>Beron</surname><given-names>C</given-names></name><name><surname>Jayaraman</surname><given-names>V</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Building a functional connectome of the <italic>Drosophila</italic> central complex</article-title><source>eLife</source><volume>7</volume><elocation-id>e37017</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.37017</pub-id><pub-id pub-id-type="pmid">30124430</pub-id></element-citation></ref><ref id="bib23"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Frost</surname><given-names>BE</given-names></name><name><surname>Martin</surname><given-names>SK</given-names></name><name><surname>Cafalchio</surname><given-names>M</given-names></name><name><surname>Islam</surname><given-names>MN</given-names></name><name><surname>Aggleton</surname><given-names>JP</given-names></name><name><surname>O’Mara</surname><given-names>SM</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Anterior thalamic inputs are required for subiculum spatial coding, with associated consequences for hippocampal spatial memory</article-title><source>The Journal of Neuroscience</source><volume>41</volume><fpage>6511</fpage><lpage>6525</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.2868-20.2021</pub-id><pub-id pub-id-type="pmid">34131030</pub-id></element-citation></ref><ref id="bib24"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fujisawa</surname><given-names>S</given-names></name><name><surname>Amarasingham</surname><given-names>A</given-names></name><name><surname>Harrison</surname><given-names>MT</given-names></name><name><surname>Buzsáki</surname><given-names>G</given-names></name></person-group><year iso-8601-date="2008">2008</year><article-title>Behavior-dependent short-term assembly dynamics in the medial prefrontal cortex</article-title><source>Nature Neuroscience</source><volume>11</volume><fpage>823</fpage><lpage>833</lpage><pub-id pub-id-type="doi">10.1038/nn.2134</pub-id><pub-id pub-id-type="pmid">18516033</pub-id></element-citation></ref><ref id="bib25"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fyhn</surname><given-names>M</given-names></name><name><surname>Hafting</surname><given-names>T</given-names></name><name><surname>Treves</surname><given-names>A</given-names></name><name><surname>Moser</surname><given-names>MB</given-names></name><name><surname>Moser</surname><given-names>EI</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>Hippocampal remapping and grid realignment in entorhinal cortex</article-title><source>Nature</source><volume>446</volume><fpage>190</fpage><lpage>194</lpage><pub-id pub-id-type="doi">10.1038/nature05601</pub-id><pub-id pub-id-type="pmid">17322902</pub-id></element-citation></ref><ref id="bib26"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Golob</surname><given-names>EJ</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="1999">1999</year><article-title>Head direction cells in rats with hippocampal or overlying neocortical lesions: evidence for impaired angular path integration</article-title><source>The Journal of Neuroscience</source><volume>19</volume><fpage>7198</fpage><lpage>7211</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.19-16-07198.1999</pub-id><pub-id pub-id-type="pmid">10436073</pub-id></element-citation></ref><ref id="bib27"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Goodridge</surname><given-names>JP</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="1997">1997</year><article-title>Interaction between the postsubiculum and <italic>Anterior thalamus</italic> in the generation of head direction cell activity</article-title><source>The Journal of Neuroscience</source><volume>17</volume><fpage>9315</fpage><lpage>9330</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.17-23-09315.1997</pub-id><pub-id pub-id-type="pmid">9364077</pub-id></element-citation></ref><ref id="bib28"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Goodridge</surname><given-names>JP</given-names></name><name><surname>Dudchenko</surname><given-names>PA</given-names></name><name><surname>Worboys</surname><given-names>KA</given-names></name><name><surname>Golob</surname><given-names>EJ</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="1998">1998</year><article-title>Cue control and head direction cells</article-title><source>Behavioral Neuroscience</source><volume>112</volume><fpage>749</fpage><lpage>761</lpage><pub-id pub-id-type="doi">10.1037//0735-7044.112.4.749</pub-id><pub-id pub-id-type="pmid">9733184</pub-id></element-citation></ref><ref id="bib29"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Guitchounts</surname><given-names>G</given-names></name><name><surname>Markowitz</surname><given-names>JE</given-names></name><name><surname>Liberti</surname><given-names>WA</given-names></name><name><surname>Gardner</surname><given-names>TJ</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>A carbon-fiber electrode array for long-term neural recording</article-title><source>Journal of Neural Engineering</source><volume>10</volume><elocation-id>046016</elocation-id><pub-id pub-id-type="doi">10.1088/1741-2560/10/4/046016</pub-id><pub-id pub-id-type="pmid">23860226</pub-id></element-citation></ref><ref id="bib30"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hahnloser</surname><given-names>RHR</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Emergence of neural integration in the head-direction system by visual supervision</article-title><source>Neuroscience</source><volume>120</volume><fpage>877</fpage><lpage>891</lpage><pub-id pub-id-type="doi">10.1016/s0306-4522(03)00201-x</pub-id><pub-id pub-id-type="pmid">12895528</pub-id></element-citation></ref><ref id="bib31"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hanesch</surname><given-names>U</given-names></name><name><surname>Fischbach</surname><given-names>KF</given-names></name><name><surname>Heisenberg</surname><given-names>M</given-names></name></person-group><year iso-8601-date="1989">1989</year><article-title>Neuronal architecture of the central complex in <italic>Drosophila melanogaster</italic></article-title><source>Cell and Tissue Research</source><volume>257</volume><fpage>343</fpage><lpage>366</lpage><pub-id pub-id-type="doi">10.1007/BF00261838</pub-id></element-citation></ref><ref id="bib32"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Harris</surname><given-names>JA</given-names></name><name><surname>Mihalas</surname><given-names>S</given-names></name><name><surname>Hirokawa</surname><given-names>KE</given-names></name><name><surname>Whitesell</surname><given-names>JD</given-names></name><name><surname>Choi</surname><given-names>H</given-names></name><name><surname>Bernard</surname><given-names>A</given-names></name><name><surname>Bohn</surname><given-names>P</given-names></name><name><surname>Caldejon</surname><given-names>S</given-names></name><name><surname>Casal</surname><given-names>L</given-names></name><name><surname>Cho</surname><given-names>A</given-names></name><name><surname>Feiner</surname><given-names>A</given-names></name><name><surname>Feng</surname><given-names>D</given-names></name><name><surname>Gaudreault</surname><given-names>N</given-names></name><name><surname>Gerfen</surname><given-names>CR</given-names></name><name><surname>Graddis</surname><given-names>N</given-names></name><name><surname>Groblewski</surname><given-names>PA</given-names></name><name><surname>Henry</surname><given-names>AM</given-names></name><name><surname>Ho</surname><given-names>A</given-names></name><name><surname>Howard</surname><given-names>R</given-names></name><name><surname>Knox</surname><given-names>JE</given-names></name><name><surname>Kuan</surname><given-names>L</given-names></name><name><surname>Kuang</surname><given-names>X</given-names></name><name><surname>Lecoq</surname><given-names>J</given-names></name><name><surname>Lesnar</surname><given-names>P</given-names></name><name><surname>Li</surname><given-names>Y</given-names></name><name><surname>Luviano</surname><given-names>J</given-names></name><name><surname>McConoughey</surname><given-names>S</given-names></name><name><surname>Mortrud</surname><given-names>MT</given-names></name><name><surname>Naeemi</surname><given-names>M</given-names></name><name><surname>Ng</surname><given-names>L</given-names></name><name><surname>Oh</surname><given-names>SW</given-names></name><name><surname>Ouellette</surname><given-names>B</given-names></name><name><surname>Shen</surname><given-names>E</given-names></name><name><surname>Sorensen</surname><given-names>SA</given-names></name><name><surname>Wakeman</surname><given-names>W</given-names></name><name><surname>Wang</surname><given-names>Q</given-names></name><name><surname>Wang</surname><given-names>Y</given-names></name><name><surname>Williford</surname><given-names>A</given-names></name><name><surname>Phillips</surname><given-names>JW</given-names></name><name><surname>Jones</surname><given-names>AR</given-names></name><name><surname>Koch</surname><given-names>C</given-names></name><name><surname>Zeng</surname><given-names>H</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Hierarchical organization of cortical and thalamic connectivity</article-title><source>Nature</source><volume>575</volume><fpage>195</fpage><lpage>202</lpage><pub-id pub-id-type="doi">10.1038/s41586-019-1716-z</pub-id><pub-id pub-id-type="pmid">31666704</pub-id></element-citation></ref><ref id="bib33"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hennestad</surname><given-names>E</given-names></name><name><surname>Witoelar</surname><given-names>A</given-names></name><name><surname>Chambers</surname><given-names>AR</given-names></name><name><surname>Vervaeke</surname><given-names>K</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Mapping vestibular and visual contributions to angular head velocity tuning in the cortex</article-title><source>Cell Reports</source><volume>37</volume><elocation-id>110134</elocation-id><pub-id pub-id-type="doi">10.1016/j.celrep.2021.110134</pub-id><pub-id pub-id-type="pmid">34936869</pub-id></element-citation></ref><ref id="bib34"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hindley</surname><given-names>EL</given-names></name><name><surname>Nelson</surname><given-names>AJD</given-names></name><name><surname>Aggleton</surname><given-names>JP</given-names></name><name><surname>Vann</surname><given-names>SD</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>The rat retrosplenial cortex is required when visual cues are used flexibly to determine location</article-title><source>Behavioural Brain Research</source><volume>263</volume><fpage>98</fpage><lpage>107</lpage><pub-id pub-id-type="doi">10.1016/j.bbr.2014.01.028</pub-id><pub-id pub-id-type="pmid">24486256</pub-id></element-citation></ref><ref id="bib35"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Jacob</surname><given-names>PY</given-names></name><name><surname>Casali</surname><given-names>G</given-names></name><name><surname>Spieser</surname><given-names>L</given-names></name><name><surname>Page</surname><given-names>H</given-names></name><name><surname>Overington</surname><given-names>D</given-names></name><name><surname>Jeffery</surname><given-names>K</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>An independent, landmark-dominated head-direction signal in dysgranular retrosplenial cortex</article-title><source>Nature Neuroscience</source><volume>20</volume><fpage>173</fpage><lpage>175</lpage><pub-id pub-id-type="doi">10.1038/nn.4465</pub-id><pub-id pub-id-type="pmid">27991898</pub-id></element-citation></ref><ref id="bib36"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Jankowski</surname><given-names>MM</given-names></name><name><surname>Ronnqvist</surname><given-names>KC</given-names></name><name><surname>Tsanov</surname><given-names>M</given-names></name><name><surname>Vann</surname><given-names>SD</given-names></name><name><surname>Wright</surname><given-names>NF</given-names></name><name><surname>Erichsen</surname><given-names>JT</given-names></name><name><surname>Aggleton</surname><given-names>JP</given-names></name><name><surname>O’Mara</surname><given-names>SM</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>The anterior thalamus provides a subcortical circuit supporting memory and spatial navigation</article-title><source>Frontiers in Systems Neuroscience</source><volume>7</volume><elocation-id>45</elocation-id><pub-id pub-id-type="doi">10.3389/fnsys.2013.00045</pub-id><pub-id pub-id-type="pmid">24009563</pub-id></element-citation></ref><ref id="bib37"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Jenkins</surname><given-names>TA</given-names></name><name><surname>Vann</surname><given-names>SD</given-names></name><name><surname>Amin</surname><given-names>E</given-names></name><name><surname>Aggleton</surname><given-names>JP</given-names></name></person-group><year iso-8601-date="2004">2004</year><article-title>Anterior thalamic lesions stop immediate early gene activation in selective laminae of the retrosplenial cortex: evidence of covert pathology in rats?</article-title><source>The European Journal of Neuroscience</source><volume>19</volume><fpage>3291</fpage><lpage>3304</lpage><pub-id pub-id-type="doi">10.1111/j.0953-816X.2004.03421.x</pub-id><pub-id pub-id-type="pmid">15217385</pub-id></element-citation></ref><ref id="bib38"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Keshavarzi</surname><given-names>S</given-names></name><name><surname>Bracey</surname><given-names>EF</given-names></name><name><surname>Faville</surname><given-names>RA</given-names></name><name><surname>Campagner</surname><given-names>D</given-names></name><name><surname>Tyson</surname><given-names>AL</given-names></name><name><surname>Lenzi</surname><given-names>SC</given-names></name><name><surname>Branco</surname><given-names>T</given-names></name><name><surname>Margrie</surname><given-names>TW</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Multisensory coding of angular head velocity in the retrosplenial cortex</article-title><source>Neuron</source><volume>110</volume><fpage>532</fpage><lpage>543</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2021.10.031</pub-id><pub-id pub-id-type="pmid">34788632</pub-id></element-citation></ref><ref id="bib39"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kim</surname><given-names>SS</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Ring attractor dynamics in the <italic>Drosophila</italic> central brain</article-title><source>Science</source><volume>80</volume><fpage>849</fpage><lpage>853</lpage><pub-id pub-id-type="doi">10.1126/science.aal4835</pub-id></element-citation></ref><ref id="bib40"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kim</surname><given-names>SS</given-names></name><name><surname>Hermundstad</surname><given-names>AM</given-names></name><name><surname>Romani</surname><given-names>S</given-names></name><name><surname>Abbott</surname><given-names>LF</given-names></name><name><surname>Jayaraman</surname><given-names>V</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Generation of stable heading representations in diverse visual scenes</article-title><source>Nature</source><volume>576</volume><fpage>126</fpage><lpage>131</lpage><pub-id pub-id-type="doi">10.1038/s41586-019-1767-1</pub-id><pub-id pub-id-type="pmid">31748750</pub-id></element-citation></ref><ref id="bib41"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Knierim</surname><given-names>JJ</given-names></name><name><surname>Kudrimoti</surname><given-names>HS</given-names></name><name><surname>McNaughton</surname><given-names>BL</given-names></name></person-group><year iso-8601-date="1995">1995</year><article-title>Place cells, head direction cells, and the learning of landmark stability</article-title><source>The Journal of Neuroscience</source><volume>15</volume><fpage>1648</fpage><lpage>1659</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.15-03-01648.1995</pub-id><pub-id pub-id-type="pmid">7891125</pub-id></element-citation></ref><ref id="bib42"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Knierim</surname><given-names>JJ</given-names></name><name><surname>Kudrimoti</surname><given-names>HS</given-names></name><name><surname>McNaughton</surname><given-names>BL</given-names></name></person-group><year iso-8601-date="1998">1998</year><article-title>Interactions between idiothetic cues and external landmarks in the control of place cells and head direction cells</article-title><source>Journal of Neurophysiology</source><volume>80</volume><fpage>425</fpage><lpage>446</lpage><pub-id pub-id-type="doi">10.1152/jn.1998.80.1.425</pub-id><pub-id pub-id-type="pmid">9658061</pub-id></element-citation></ref><ref id="bib43"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Knight</surname><given-names>R</given-names></name><name><surname>Hayman</surname><given-names>R</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Allocentric directional processing in the rodent and human retrosplenial cortex</article-title><source>Frontiers in Human Neuroscience</source><volume>8</volume><elocation-id>135</elocation-id><pub-id pub-id-type="doi">10.3389/fnhum.2014.00135</pub-id><pub-id pub-id-type="pmid">24672459</pub-id></element-citation></ref><ref id="bib44"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Knight</surname><given-names>R</given-names></name><name><surname>Piette</surname><given-names>CE</given-names></name><name><surname>Page</surname><given-names>H</given-names></name><name><surname>Walters</surname><given-names>D</given-names></name><name><surname>Marozzi</surname><given-names>E</given-names></name><name><surname>Nardini</surname><given-names>M</given-names></name><name><surname>Stringer</surname><given-names>S</given-names></name><name><surname>Jeffery</surname><given-names>KJ</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Weighted cue integration in the rodent head direction system</article-title><source>Philosophical Transactions of the Royal Society of London. Series B, Biological Sciences</source><volume>369</volume><elocation-id>20120512</elocation-id><pub-id pub-id-type="doi">10.1098/rstb.2012.0512</pub-id><pub-id pub-id-type="pmid">24366127</pub-id></element-citation></ref><ref id="bib45"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kononenko</surname><given-names>NL</given-names></name><name><surname>Witter</surname><given-names>MP</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Presubiculum layer III conveys retrosplenial input to the medial entorhinal cortex</article-title><source>Hippocampus</source><volume>22</volume><fpage>881</fpage><lpage>895</lpage><pub-id pub-id-type="doi">10.1002/hipo.20949</pub-id><pub-id pub-id-type="pmid">21710546</pub-id></element-citation></ref><ref id="bib46"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>LaChance</surname><given-names>PA</given-names></name><name><surname>Graham</surname><given-names>J</given-names></name><name><surname>Shapiro</surname><given-names>BL</given-names></name><name><surname>Morris</surname><given-names>AJ</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Landmark-modulated directional coding in postrhinal cortex</article-title><source>Science Advances</source><volume>8</volume><elocation-id>eabg8404</elocation-id><pub-id pub-id-type="doi">10.1126/sciadv.abg8404</pub-id><pub-id pub-id-type="pmid">35089792</pub-id></element-citation></ref><ref id="bib47"><element-citation publication-type="preprint"><person-group person-group-type="author"><name><surname>Laurens</surname><given-names>J</given-names></name><name><surname>Abrego</surname><given-names>A</given-names></name><name><surname>Cham</surname><given-names>H</given-names></name><name><surname>Popeney</surname><given-names>B</given-names></name><name><surname>Yu</surname><given-names>Y</given-names></name><name><surname>Rotem</surname><given-names>N</given-names></name><name><surname>Aarse</surname><given-names>J</given-names></name><name><surname>Asprodini</surname><given-names>EK</given-names></name><name><surname>Dickman</surname><given-names>JD</given-names></name><name><surname>Angelaki</surname><given-names>DE</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Multiplexed Code of Navigation Variables in Anterior Limbic Areas</article-title><source>bioRxiv</source><pub-id pub-id-type="doi">10.1101/684464</pub-id></element-citation></ref><ref id="bib48"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lopes</surname><given-names>G</given-names></name><name><surname>Bonacchi</surname><given-names>N</given-names></name><name><surname>Frazão</surname><given-names>J</given-names></name><name><surname>Neto</surname><given-names>JP</given-names></name><name><surname>Atallah</surname><given-names>BV</given-names></name><name><surname>Soares</surname><given-names>S</given-names></name><name><surname>Moreira</surname><given-names>L</given-names></name><name><surname>Matias</surname><given-names>S</given-names></name><name><surname>Itskov</surname><given-names>PM</given-names></name><name><surname>Correia</surname><given-names>PA</given-names></name><name><surname>Medina</surname><given-names>RE</given-names></name><name><surname>Calcaterra</surname><given-names>L</given-names></name><name><surname>Dreosti</surname><given-names>E</given-names></name><name><surname>Paton</surname><given-names>JJ</given-names></name><name><surname>Kampff</surname><given-names>AR</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Bonsai: an event-based framework for processing and controlling data streams</article-title><source>Frontiers in Neuroinformatics</source><volume>9</volume><elocation-id>7</elocation-id><pub-id pub-id-type="doi">10.3389/fninf.2015.00007</pub-id><pub-id pub-id-type="pmid">25904861</pub-id></element-citation></ref><ref id="bib49"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Maguire</surname><given-names>EA</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>The retrosplenial contribution to human navigation: a review of lesion and neuroimaging findings</article-title><source>Scandinavian Journal of Psychology</source><volume>42</volume><fpage>225</fpage><lpage>238</lpage><pub-id pub-id-type="doi">10.1111/1467-9450.00233</pub-id><pub-id pub-id-type="pmid">11501737</pub-id></element-citation></ref><ref id="bib50"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mao</surname><given-names>D</given-names></name><name><surname>Kandler</surname><given-names>S</given-names></name><name><surname>McNaughton</surname><given-names>BL</given-names></name><name><surname>Bonin</surname><given-names>V</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Sparse orthogonal population representation of spatial context in the retrosplenial cortex</article-title><source>Nature Communications</source><volume>8</volume><elocation-id>243</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-017-00180-9</pub-id><pub-id pub-id-type="pmid">28811461</pub-id></element-citation></ref><ref id="bib51"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Miller</surname><given-names>AMP</given-names></name><name><surname>Vedder</surname><given-names>LC</given-names></name><name><surname>Law</surname><given-names>LM</given-names></name><name><surname>Smith</surname><given-names>DM</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Cues, context, and long-term memory: the role of the retrosplenial cortex in spatial cognition</article-title><source>Frontiers in Human Neuroscience</source><volume>8</volume><elocation-id>586</elocation-id><pub-id pub-id-type="doi">10.3389/fnhum.2014.00586</pub-id><pub-id pub-id-type="pmid">25140141</pub-id></element-citation></ref><ref id="bib52"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Miller</surname><given-names>AMP</given-names></name><name><surname>Mau</surname><given-names>W</given-names></name><name><surname>Smith</surname><given-names>DM</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Retrosplenial cortical representations of space and future goal locations develop with learning</article-title><source>Current Biology</source><volume>29</volume><fpage>2083</fpage><lpage>2090</lpage><pub-id pub-id-type="doi">10.1016/j.cub.2019.05.034</pub-id><pub-id pub-id-type="pmid">31178316</pub-id></element-citation></ref><ref id="bib53"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mitchell</surname><given-names>AS</given-names></name><name><surname>Czajkowski</surname><given-names>R</given-names></name><name><surname>Zhang</surname><given-names>N</given-names></name><name><surname>Jeffery</surname><given-names>K</given-names></name><name><surname>Nelson</surname><given-names>AJD</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Retrosplenial cortex and its role in spatial cognition</article-title><source>Brain and Neuroscience Advances</source><volume>2</volume><elocation-id>2398212818757098</elocation-id><pub-id pub-id-type="doi">10.1177/2398212818757098</pub-id><pub-id pub-id-type="pmid">30221204</pub-id></element-citation></ref><ref id="bib54"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Mizumori</surname><given-names>SJ</given-names></name><name><surname>Williams</surname><given-names>JD</given-names></name></person-group><year iso-8601-date="1993">1993</year><article-title>Directionally selective mnemonic properties of neurons in the lateral dorsal nucleus of the thalamus of rats</article-title><source>The Journal of Neuroscience</source><volume>13</volume><fpage>4015</fpage><lpage>4028</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.13-09-04015.1993</pub-id><pub-id pub-id-type="pmid">8366357</pub-id></element-citation></ref><ref id="bib55"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Muller</surname><given-names>RU</given-names></name><name><surname>Kubie</surname><given-names>JL</given-names></name></person-group><year iso-8601-date="1987">1987</year><article-title>The effects of changes in the environment on the spatial firing of hippocampal complex-spike cells</article-title><source>The Journal of Neuroscience</source><volume>7</volume><fpage>1951</fpage><lpage>1968</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.07-07-01951.1987</pub-id><pub-id pub-id-type="pmid">3612226</pub-id></element-citation></ref><ref id="bib56"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Newman</surname><given-names>JP</given-names></name><name><surname>Voigts</surname><given-names>J</given-names></name><name><surname>Borius</surname><given-names>M</given-names></name><name><surname>Karlsson</surname><given-names>M</given-names></name><name><surname>Harnett</surname><given-names>MT</given-names></name><name><surname>Wilson</surname><given-names>MA</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Twister3: a simple and fast microwire twister</article-title><source>Journal of Neural Engineering</source><volume>17</volume><elocation-id>026040</elocation-id><pub-id pub-id-type="doi">10.1088/1741-2552/ab77fa</pub-id><pub-id pub-id-type="pmid">32074512</pub-id></element-citation></ref><ref id="bib57"><element-citation publication-type="preprint"><person-group person-group-type="author"><name><surname>Newman</surname><given-names>JP</given-names></name><name><surname>Zhang</surname><given-names>J</given-names></name><name><surname>Cuevas-López</surname><given-names>A</given-names></name><name><surname>Miller</surname><given-names>NJ</given-names></name><name><surname>Honda</surname><given-names>T</given-names></name><name><surname>van der Goes</surname><given-names>MSH</given-names></name><name><surname>Leighton</surname><given-names>AH</given-names></name><name><surname>Carvalho</surname><given-names>F</given-names></name><name><surname>Lopes</surname><given-names>G</given-names></name><name><surname>Lakunina</surname><given-names>A</given-names></name><name><surname>Siegle</surname><given-names>JH</given-names></name><name><surname>Harnett</surname><given-names>MT</given-names></name><name><surname>Wilson</surname><given-names>MA</given-names></name><name><surname>Voigts</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2023">2023</year><article-title>A unified open-source platform for multimodal neural recording and perturbation during naturalistic behavior</article-title><source>bioRxiv</source><pub-id pub-id-type="doi">10.1101/2023.08.30.554672</pub-id></element-citation></ref><ref id="bib58"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Page</surname><given-names>HJI</given-names></name><name><surname>Walters</surname><given-names>DM</given-names></name><name><surname>Knight</surname><given-names>R</given-names></name><name><surname>Piette</surname><given-names>CE</given-names></name><name><surname>Jeffery</surname><given-names>KJ</given-names></name><name><surname>Stringer</surname><given-names>SM</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>A theoretical account of cue averaging in the rodent head direction system</article-title><source>Philosophical Transactions of the Royal Society B</source><volume>369</volume><elocation-id>20130283</elocation-id><pub-id pub-id-type="doi">10.1098/rstb.2013.0283</pub-id></element-citation></ref><ref id="bib59"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Page</surname><given-names>HJI</given-names></name><name><surname>Jeffery</surname><given-names>KJ</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Landmark-based updating of the head direction system by retrosplenial cortex: a computational model</article-title><source>Frontiers in Cellular Neuroscience</source><volume>12</volume><elocation-id>191</elocation-id><pub-id pub-id-type="doi">10.3389/fncel.2018.00191</pub-id><pub-id pub-id-type="pmid">30061814</pub-id></element-citation></ref><ref id="bib60"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Peyrache</surname><given-names>A</given-names></name><name><surname>Lacroix</surname><given-names>MM</given-names></name><name><surname>Petersen</surname><given-names>PC</given-names></name><name><surname>Buzsáki</surname><given-names>G</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Internally organized mechanisms of the head direction sense</article-title><source>Nature Neuroscience</source><volume>18</volume><fpage>569</fpage><lpage>575</lpage><pub-id pub-id-type="doi">10.1038/nn.3968</pub-id><pub-id pub-id-type="pmid">25730672</pub-id></element-citation></ref><ref id="bib61"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Peyrache</surname><given-names>A</given-names></name><name><surname>Schieferstein</surname><given-names>N</given-names></name><name><surname>Buzsáki</surname><given-names>G</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Transformation of the head-direction signal into a spatial code</article-title><source>Nature Communications</source><volume>8</volume><elocation-id>1752</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-017-01908-3</pub-id><pub-id pub-id-type="pmid">29170377</pub-id></element-citation></ref><ref id="bib62"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Pothuizen</surname><given-names>HHJ</given-names></name><name><surname>Aggleton</surname><given-names>JP</given-names></name><name><surname>Vann</surname><given-names>SD</given-names></name></person-group><year iso-8601-date="2008">2008</year><article-title>Do rats with retrosplenial cortex lesions lack direction?</article-title><source>The European Journal of Neuroscience</source><volume>28</volume><fpage>2486</fpage><lpage>2498</lpage><pub-id pub-id-type="doi">10.1111/j.1460-9568.2008.06550.x</pub-id><pub-id pub-id-type="pmid">19032585</pub-id></element-citation></ref><ref id="bib63"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Powell</surname><given-names>A</given-names></name><name><surname>Connelly</surname><given-names>WM</given-names></name><name><surname>Vasalauskaite</surname><given-names>A</given-names></name><name><surname>Nelson</surname><given-names>AJD</given-names></name><name><surname>Vann</surname><given-names>SD</given-names></name><name><surname>Aggleton</surname><given-names>JP</given-names></name><name><surname>Sengpiel</surname><given-names>F</given-names></name><name><surname>Ranson</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Stable encoding of visual cues in the mouse retrosplenial cortex</article-title><source>Cerebral Cortex</source><volume>30</volume><fpage>4424</fpage><lpage>4437</lpage><pub-id pub-id-type="doi">10.1093/cercor/bhaa030</pub-id><pub-id pub-id-type="pmid">32147692</pub-id></element-citation></ref><ref id="bib64"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rogers</surname><given-names>A</given-names></name><name><surname>Beier</surname><given-names>KT</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Can transsynaptic viral strategies be used to reveal functional aspects of neural circuitry?</article-title><source>Journal of Neuroscience Methods</source><volume>348</volume><elocation-id>109005</elocation-id><pub-id pub-id-type="doi">10.1016/j.jneumeth.2020.109005</pub-id><pub-id pub-id-type="pmid">33227339</pub-id></element-citation></ref><ref id="bib65"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Seelig</surname><given-names>JD</given-names></name><name><surname>Jayaraman</surname><given-names>V</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Neural dynamics for landmark orientation and angular path integration</article-title><source>Nature</source><volume>521</volume><fpage>186</fpage><lpage>191</lpage><pub-id pub-id-type="doi">10.1038/nature14446</pub-id><pub-id pub-id-type="pmid">25971509</pub-id></element-citation></ref><ref id="bib66"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Shibata</surname><given-names>H</given-names></name></person-group><year iso-8601-date="1993">1993</year><article-title>Efferent projections from the anterior <italic>Thalamic nuclei</italic> to the cingulate cortex in the rat</article-title><source>The Journal of Comparative Neurology</source><volume>330</volume><fpage>533</fpage><lpage>542</lpage><pub-id pub-id-type="doi">10.1002/cne.903300409</pub-id><pub-id pub-id-type="pmid">8320343</pub-id></element-citation></ref><ref id="bib67"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Shibata</surname><given-names>H</given-names></name></person-group><year iso-8601-date="1998">1998</year><article-title>Organization of projections of rat retrosplenial cortex to the anterior <italic>Thalamic nuclei</italic></article-title><source>The European Journal of Neuroscience</source><volume>10</volume><fpage>3210</fpage><lpage>3219</lpage><pub-id pub-id-type="doi">10.1046/j.1460-9568.1998.00328.x</pub-id><pub-id pub-id-type="pmid">9786214</pub-id></element-citation></ref><ref id="bib68"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Shine</surname><given-names>JP</given-names></name><name><surname>Valdés-Herrera</surname><given-names>JP</given-names></name><name><surname>Hegarty</surname><given-names>M</given-names></name><name><surname>Wolbers</surname><given-names>T</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>The human retrosplenial cortex and <italic>Thalamus</italic> code head direction in a global reference frame</article-title><source>The Journal of Neuroscience</source><volume>36</volume><fpage>6371</fpage><lpage>6381</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.1268-15.2016</pub-id><pub-id pub-id-type="pmid">27307227</pub-id></element-citation></ref><ref id="bib69"><element-citation publication-type="preprint"><person-group person-group-type="author"><name><surname>Shine</surname><given-names>JP</given-names></name><name><surname>Wolbers</surname><given-names>T</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Global and local head direction coding in the human brain</article-title><source>bioRxiv</source><pub-id pub-id-type="doi">10.1101/2021.10.11.463872</pub-id></element-citation></ref><ref id="bib70"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Siegle</surname><given-names>JH</given-names></name><name><surname>López</surname><given-names>AC</given-names></name><name><surname>Patel</surname><given-names>YA</given-names></name><name><surname>Abramov</surname><given-names>K</given-names></name><name><surname>Ohayon</surname><given-names>S</given-names></name><name><surname>Voigts</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Open ephys: an open-source, plugin-based platform for multichannel electrophysiology</article-title><source>Journal of Neural Engineering</source><volume>14</volume><elocation-id>045003</elocation-id><pub-id pub-id-type="doi">10.1088/1741-2552/aa5eea</pub-id><pub-id pub-id-type="pmid">28169219</pub-id></element-citation></ref><ref id="bib71"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Simonnet</surname><given-names>J</given-names></name><name><surname>Nassar</surname><given-names>M</given-names></name><name><surname>Stella</surname><given-names>F</given-names></name><name><surname>Cohen</surname><given-names>I</given-names></name><name><surname>Mathon</surname><given-names>B</given-names></name><name><surname>Boccara</surname><given-names>CN</given-names></name><name><surname>Miles</surname><given-names>R</given-names></name><name><surname>Fricker</surname><given-names>D</given-names></name></person-group><year iso-8601-date="2017">2017</year><article-title>Activity dependent feedback inhibition may maintain head direction signals in mouse presubiculum</article-title><source>Nature Communications</source><volume>8</volume><elocation-id>16032</elocation-id><pub-id pub-id-type="doi">10.1038/ncomms16032</pub-id><pub-id pub-id-type="pmid">28726769</pub-id></element-citation></ref><ref id="bib72"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sirota</surname><given-names>A</given-names></name><name><surname>Montgomery</surname><given-names>S</given-names></name><name><surname>Fujisawa</surname><given-names>S</given-names></name><name><surname>Isomura</surname><given-names>Y</given-names></name><name><surname>Zugaro</surname><given-names>M</given-names></name><name><surname>Buzsáki</surname><given-names>G</given-names></name></person-group><year iso-8601-date="2008">2008</year><article-title>Entrainment of neocortical neurons and gamma oscillations by the hippocampal theta rhythm</article-title><source>Neuron</source><volume>60</volume><fpage>683</fpage><lpage>697</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2008.09.014</pub-id><pub-id pub-id-type="pmid">19038224</pub-id></element-citation></ref><ref id="bib73"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sit</surname><given-names>KK</given-names></name><name><surname>Goard</surname><given-names>MJ</given-names></name></person-group><year iso-8601-date="2023">2023</year><article-title>Coregistration of heading to visual cues in retrosplenial cortex</article-title><source>Nature Communications</source><volume>14</volume><elocation-id>1992</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-023-37704-5</pub-id><pub-id pub-id-type="pmid">37031198</pub-id></element-citation></ref><ref id="bib74"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Skaggs</surname><given-names>WE</given-names></name></person-group><year iso-8601-date="1993">1993</year><article-title>Information theoretic approach to deciphering the hippocampal code</article-title><source>Advances in Neural Information Processing Systems</source><volume>5</volume><fpage>1030</fpage><lpage>1038</lpage></element-citation></ref><ref id="bib75"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Skaggs</surname><given-names>WE</given-names></name><name><surname>Knierim</surname><given-names>JJ</given-names></name><name><surname>Kudrimoti</surname><given-names>HS</given-names></name><name><surname>McNaughton</surname><given-names>BL</given-names></name></person-group><year iso-8601-date="1995">1995</year><article-title>A model of the neural basis of the rat’s sense of direction</article-title><source>Advances in Neural Information Processing Systems</source><volume>7</volume><fpage>173</fpage><lpage>180</lpage><pub-id pub-id-type="pmid">11539168</pub-id></element-citation></ref><ref id="bib76"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Stackman</surname><given-names>RW</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="1997">1997</year><article-title>Firing properties of head direction cells in the rat anterior <italic>Thalamic nucleus</italic>: dependence on vestibular input</article-title><source>The Journal of Neuroscience</source><volume>17</volume><fpage>4349</fpage><lpage>4358</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.17-11-04349.1997</pub-id><pub-id pub-id-type="pmid">9151751</pub-id></element-citation></ref><ref id="bib77"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Stackman</surname><given-names>RW</given-names></name><name><surname>Clark</surname><given-names>AS</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>Hippocampal spatial representations require vestibular input</article-title><source>Hippocampus</source><volume>12</volume><fpage>291</fpage><lpage>303</lpage><pub-id pub-id-type="doi">10.1002/hipo.1112</pub-id><pub-id pub-id-type="pmid">12099481</pub-id></element-citation></ref><ref id="bib78"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Stark</surname><given-names>E</given-names></name><name><surname>Abeles</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>Unbiased estimation of precise temporal correlations between spike trains</article-title><source>Journal of Neuroscience Methods</source><volume>179</volume><fpage>90</fpage><lpage>100</lpage><pub-id pub-id-type="doi">10.1016/j.jneumeth.2008.12.029</pub-id><pub-id pub-id-type="pmid">19167428</pub-id></element-citation></ref><ref id="bib79"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sterratt</surname><given-names>DC</given-names></name><name><surname>Lyngholm</surname><given-names>D</given-names></name><name><surname>Willshaw</surname><given-names>DJ</given-names></name><name><surname>Thompson</surname><given-names>ID</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>Standard anatomical and visual space for the mouse retina: computational reconstruction and transformation of flattened retinae with the Retistruct package</article-title><source>PLOS Computational Biology</source><volume>9</volume><elocation-id>e1002921</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1002921</pub-id><pub-id pub-id-type="pmid">23468609</pub-id></element-citation></ref><ref id="bib80"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sugar</surname><given-names>J</given-names></name><name><surname>Witter</surname><given-names>MP</given-names></name><name><surname>van Strien</surname><given-names>NM</given-names></name><name><surname>Cappaert</surname><given-names>NLM</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>The retrosplenial cortex: intrinsic connectivity and connections with the (para)hippocampal region in the rat: an interactive connectome</article-title><source>Frontiers in Neuroinformatics</source><volume>5</volume><elocation-id>7</elocation-id><pub-id pub-id-type="doi">10.3389/fninf.2011.00007</pub-id><pub-id pub-id-type="pmid">21847380</pub-id></element-citation></ref><ref id="bib81"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="1990">1990</year><article-title>Head-direction cells recorded from the postsubiculum in freely moving rats</article-title><source>I Descriptions and Quantitative Analysis. J. Neurosci</source><volume>10</volume><fpage>436</fpage><lpage>447</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.10-02-00436.1990</pub-id><pub-id pub-id-type="pmid">2303851</pub-id></element-citation></ref><ref id="bib82"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Taube</surname><given-names>JS</given-names></name><name><surname>Burton</surname><given-names>HL</given-names></name></person-group><year iso-8601-date="1995">1995</year><article-title>Head direction cell activity monitored in a novel environment and during a cue conflict situation</article-title><source>Journal of Neurophysiology</source><volume>74</volume><fpage>1953</fpage><lpage>1971</lpage><pub-id pub-id-type="doi">10.1152/jn.1995.74.5.1953</pub-id><pub-id pub-id-type="pmid">8592189</pub-id></element-citation></ref><ref id="bib83"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Valerio</surname><given-names>S</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Path integration: how the head direction signal maintains and corrects spatial orientation</article-title><source>Nature Neuroscience</source><volume>15</volume><fpage>1445</fpage><lpage>1453</lpage><pub-id pub-id-type="doi">10.1038/nn.3215</pub-id><pub-id pub-id-type="pmid">22983210</pub-id></element-citation></ref><ref id="bib84"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Valerio</surname><given-names>S</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Head direction cell activity is absent in mice without the horizontal semicircular canals</article-title><source>The Journal of Neuroscience</source><volume>36</volume><fpage>741</fpage><lpage>754</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.3790-14.2016</pub-id><pub-id pub-id-type="pmid">26791205</pub-id></element-citation></ref><ref id="bib85"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>van Groen</surname><given-names>T</given-names></name><name><surname>Wyss</surname><given-names>JM</given-names></name></person-group><year iso-8601-date="1990">1990a</year><article-title>Connections of the retrosplenial granular a cortex in the rat</article-title><source>The Journal of Comparative Neurology</source><volume>300</volume><fpage>593</fpage><lpage>606</lpage><pub-id pub-id-type="doi">10.1002/cne.903000412</pub-id><pub-id pub-id-type="pmid">2273095</pub-id></element-citation></ref><ref id="bib86"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>van Groen</surname><given-names>T</given-names></name><name><surname>Wyss</surname><given-names>JM</given-names></name></person-group><year iso-8601-date="1990">1990b</year><article-title>The connections of presubiculum and parasubiculum in the rat</article-title><source>Brain Research</source><volume>518</volume><fpage>227</fpage><lpage>243</lpage><pub-id pub-id-type="doi">10.1016/0006-8993(90)90976-i</pub-id><pub-id pub-id-type="pmid">1697208</pub-id></element-citation></ref><ref id="bib87"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Van Groen</surname><given-names>T</given-names></name><name><surname>Wyss</surname><given-names>JM</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Connections of the retrosplenial granular b cortex in the rat</article-title><source>The Journal of Comparative Neurology</source><volume>463</volume><fpage>249</fpage><lpage>263</lpage><pub-id pub-id-type="doi">10.1002/cne.10757</pub-id><pub-id pub-id-type="pmid">12820159</pub-id></element-citation></ref><ref id="bib88"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Vann</surname><given-names>SD</given-names></name><name><surname>Aggleton</surname><given-names>JP</given-names></name></person-group><year iso-8601-date="2004">2004</year><article-title>Testing the importance of the retrosplenial guidance system: effects of different sized retrosplenial cortex lesions on heading direction and spatial working memory</article-title><source>Behavioural Brain Research</source><volume>155</volume><fpage>97</fpage><lpage>108</lpage><pub-id pub-id-type="doi">10.1016/j.bbr.2004.04.005</pub-id><pub-id pub-id-type="pmid">15325783</pub-id></element-citation></ref><ref id="bib89"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Vann</surname><given-names>SD</given-names></name><name><surname>Aggleton</surname><given-names>JP</given-names></name><name><surname>Maguire</surname><given-names>EA</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>What does the retrosplenial cortex do?</article-title><source>Nature Reviews. Neuroscience</source><volume>10</volume><fpage>792</fpage><lpage>802</lpage><pub-id pub-id-type="doi">10.1038/nrn2733</pub-id><pub-id pub-id-type="pmid">19812579</pub-id></element-citation></ref><ref id="bib90"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Vantomme</surname><given-names>G</given-names></name><name><surname>Rovó</surname><given-names>Z</given-names></name><name><surname>Cardis</surname><given-names>R</given-names></name><name><surname>Béard</surname><given-names>E</given-names></name><name><surname>Katsioudi</surname><given-names>G</given-names></name><name><surname>Guadagno</surname><given-names>A</given-names></name><name><surname>Perrenoud</surname><given-names>V</given-names></name><name><surname>Fernandez</surname><given-names>LMJ</given-names></name><name><surname>Lüthi</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>A thalamic reticular circuit for head direction cell tuning and spatial navigation</article-title><source>Cell Reports</source><volume>31</volume><elocation-id>107747</elocation-id><pub-id pub-id-type="doi">10.1016/j.celrep.2020.107747</pub-id><pub-id pub-id-type="pmid">32521272</pub-id></element-citation></ref><ref id="bib91"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>van Wijngaarden</surname><given-names>JB</given-names></name><name><surname>Babl</surname><given-names>SS</given-names></name><name><surname>Ito</surname><given-names>HT</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Entorhinal-retrosplenial circuits for allocentric-egocentric transformation of boundary coding</article-title><source>eLife</source><volume>9</volume><elocation-id>e59816</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.59816</pub-id><pub-id pub-id-type="pmid">33138915</pub-id></element-citation></ref><ref id="bib92"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Voigts</surname><given-names>J</given-names></name><name><surname>Harnett</surname><given-names>MT</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Somatic and dendritic encoding of spatial variables in retrosplenial cortex differs during 2d navigation</article-title><source>Neuron</source><volume>105</volume><fpage>237</fpage><lpage>245</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2019.10.016</pub-id><pub-id pub-id-type="pmid">31759808</pub-id></element-citation></ref><ref id="bib93"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Voigts</surname><given-names>J</given-names></name><name><surname>Newman</surname><given-names>JP</given-names></name><name><surname>Wilson</surname><given-names>MA</given-names></name><name><surname>Harnett</surname><given-names>MT</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>An easy-to-assemble, robust, and lightweight drive implant for chronic tetrode recordings in freely moving animals</article-title><source>Journal of Neural Engineering</source><volume>17</volume><elocation-id>026044</elocation-id><pub-id pub-id-type="doi">10.1088/1741-2552/ab77f9</pub-id><pub-id pub-id-type="pmid">32074511</pub-id></element-citation></ref><ref id="bib94"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wickersham</surname><given-names>IR</given-names></name><name><surname>Finke</surname><given-names>S</given-names></name><name><surname>Conzelmann</surname><given-names>KK</given-names></name><name><surname>Callaway</surname><given-names>EM</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>Retrograde neuronal tracing with a deletion-mutant rabies virus</article-title><source>Nature Methods</source><volume>4</volume><fpage>47</fpage><lpage>49</lpage><pub-id pub-id-type="doi">10.1038/nmeth999</pub-id><pub-id pub-id-type="pmid">17179932</pub-id></element-citation></ref><ref id="bib95"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wilson</surname><given-names>MA</given-names></name><name><surname>McNaughton</surname><given-names>BL</given-names></name></person-group><year iso-8601-date="1993">1993</year><article-title>Dynamics of the hippocampal ensemble code for space</article-title><source>Science</source><volume>261</volume><fpage>1055</fpage><lpage>1058</lpage><pub-id pub-id-type="doi">10.1126/science.8351520</pub-id><pub-id pub-id-type="pmid">8351520</pub-id></element-citation></ref><ref id="bib96"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Winter</surname><given-names>SS</given-names></name><name><surname>Clark</surname><given-names>BJ</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Spatial navigation: disruption of the head direction cell network impairs the parahippocampal grid cell signal</article-title><source>Science</source><volume>347</volume><fpage>870</fpage><lpage>874</lpage><pub-id pub-id-type="doi">10.1126/science.1259591</pub-id><pub-id pub-id-type="pmid">25700518</pub-id></element-citation></ref><ref id="bib97"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wyss</surname><given-names>JM</given-names></name><name><surname>Van Groen</surname><given-names>T</given-names></name></person-group><year iso-8601-date="1992">1992</year><article-title>Connections between the retrosplenial cortex and the hippocampal formation in the rat: a review</article-title><source>Hippocampus</source><volume>2</volume><fpage>1</fpage><lpage>11</lpage><pub-id pub-id-type="doi">10.1002/hipo.450020102</pub-id><pub-id pub-id-type="pmid">1308170</pub-id></element-citation></ref><ref id="bib98"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yamawaki</surname><given-names>N</given-names></name><name><surname>Radulovic</surname><given-names>J</given-names></name><name><surname>Shepherd</surname><given-names>GMG</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>A corticocortical circuit directly links retrosplenial cortex to m2 in the mouse</article-title><source>The Journal of Neuroscience</source><volume>36</volume><fpage>9365</fpage><lpage>9374</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.1099-16.2016</pub-id><pub-id pub-id-type="pmid">27605612</pub-id></element-citation></ref><ref id="bib99"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yan</surname><given-names>Y</given-names></name><name><surname>Burgess</surname><given-names>N</given-names></name><name><surname>Bicanski</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>A model of head direction and landmark coding in complex environments</article-title><source>PLOS Computational Biology</source><volume>17</volume><elocation-id>e1009434</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1009434</pub-id><pub-id pub-id-type="pmid">34570749</pub-id></element-citation></ref><ref id="bib100"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yoder</surname><given-names>RM</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Projections to the <italic>Anterodorsal thalamus</italic> and lateral <italic>Mammillary nuclei</italic> arise from different cell populations within the postsubiculum: implications for the control of head direction cells</article-title><source>Hippocampus</source><volume>21</volume><fpage>1062</fpage><lpage>1073</lpage><pub-id pub-id-type="doi">10.1002/hipo.20820</pub-id><pub-id pub-id-type="pmid">20575008</pub-id></element-citation></ref><ref id="bib101"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yoder</surname><given-names>RM</given-names></name><name><surname>Peck</surname><given-names>JR</given-names></name><name><surname>Taube</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Visual landmark information gains control of the head direction signal at the lateral <italic>Mammillary nuclei</italic></article-title><source>The Journal of Neuroscience</source><volume>35</volume><fpage>1354</fpage><lpage>1367</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.1418-14.2015</pub-id><pub-id pub-id-type="pmid">25632114</pub-id></element-citation></ref><ref id="bib102"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yoganarasimha</surname><given-names>D</given-names></name><name><surname>Yu</surname><given-names>X</given-names></name><name><surname>Knierim</surname><given-names>JJ</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title>Head direction cell representations maintain internal coherence during conflicting proximal and distal cue rotations: comparison with hippocampal place cells</article-title><source>The Journal of Neuroscience</source><volume>26</volume><fpage>622</fpage><lpage>631</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.3885-05.2006</pub-id><pub-id pub-id-type="pmid">16407560</pub-id></element-citation></ref><ref id="bib103"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zugaro</surname><given-names>MB</given-names></name><name><surname>Berthoz</surname><given-names>A</given-names></name><name><surname>Wiener</surname><given-names>SI</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>Background, but not foreground, spatial cues are taken as references for head direction responses by rat <italic>Anterodorsal thalamus</italic> neurons</article-title><source>The Journal of Neuroscience</source><volume>21</volume><elocation-id>RC154</elocation-id><pub-id pub-id-type="doi">10.1523/JNEUROSCI.21-14-j0001.2001</pub-id><pub-id pub-id-type="pmid">11425881</pub-id></element-citation></ref><ref id="bib104"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zugaro</surname><given-names>MB</given-names></name><name><surname>Arleo</surname><given-names>A</given-names></name><name><surname>Berthoz</surname><given-names>A</given-names></name><name><surname>Wiener</surname><given-names>SI</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Rapid spatial reorientation and head direction cells</article-title><source>The Journal of Neuroscience</source><volume>23</volume><fpage>3478</fpage><lpage>3482</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.23-08-03478.2003</pub-id><pub-id pub-id-type="pmid">12716956</pub-id></element-citation></ref></ref-list></back><sub-article article-type="editor-report" id="sa0"><front-stub><article-id pub-id-type="doi">10.7554/eLife.82952.sa0</article-id><title-group><article-title>Editor's evaluation</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Peyrache</surname><given-names>Adrien</given-names></name><role specific-use="editor">Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/01pxwe438</institution-id><institution>McGill University</institution></institution-wrap><country>Canada</country></aff></contrib></contrib-group><related-object id="sa0ro1" object-id-type="id" object-id="10.1101/2022.08.20.504604" link-type="continued-by" xlink:href="https://sciety.org/articles/activity/10.1101/2022.08.20.504604"/></front-stub><body><p>This useful study investigates the coordination of neurons coding for head direction in the anterior thalamus and the retrosplenial cortex during environmental manipulations. The evidence supporting the claims of the authors is solid. The paper will be of interest to neuroscientists working on spatial navigation.</p></body></sub-article><sub-article article-type="decision-letter" id="sa1"><front-stub><article-id pub-id-type="doi">10.7554/eLife.82952.sa1</article-id><title-group><article-title>Decision letter</article-title></title-group><contrib-group content-type="section"><contrib contrib-type="editor"><name><surname>Peyrache</surname><given-names>Adrien</given-names></name><role>Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/01pxwe438</institution-id><institution>McGill University</institution></institution-wrap><country>Canada</country></aff></contrib></contrib-group></front-stub><body><boxed-text id="sa2-box1"><p>Our editorial process produces two outputs: i) <ext-link ext-link-type="uri" xlink:href="https://sciety.org/articles/activity/10.1101/2022.08.20.504604">public reviews</ext-link> designed to be posted alongside <ext-link ext-link-type="uri" xlink:href="https://www.biorxiv.org/content/10.1101/2022.08.20.504604v2">the preprint</ext-link> for the benefit of readers; ii) feedback on the manuscript for the authors, including requests for revisions, shown below. We also include an acceptance summary that explains what the editors found interesting or important about the work.</p></boxed-text><p><bold>Decision letter after peer review:</bold></p><p>Thank you for submitting your article &quot;Coordinated Head Direction Representations in Mouse Anterodorsal Thalamic Nucleus and Retrosplenial Cortex&quot; for consideration by <italic>eLife</italic>. Your article has been reviewed by 3 peer reviewers, and the evaluation has been overseen by a Reviewing Editor and Laura Colgin as the Senior Editor. The reviewers have opted to remain anonymous.</p><p>The reviewers have discussed their reviews with one another, and the Reviewing Editor has drafted this to help you prepare a revised submission.</p><p>Essential revisions:</p><p>While each reviewer has raised a number of specific concerns about the present study, there was an agreement that the following essential revisions needed to be addressed to warrant the publication of the manuscript.</p><p>1) The study claims that the 0-lag correlation in decoding error demonstrates a near-synchronous encoding of HD in the AD-RSC network. However, this observation may arise from erroneous decoding and video tracking. Specifically, the decoding seems quite unreliable at times, and concomitant errors in HD tracking and/or decoding would lead to a high 0-lag correlation. This problem can be addressed by measuring correlation at times of reliable decoding only and possibly using decoding techniques depending less on the neuron's tuning curves (i.e. unsupervised techniques).</p><p>2) Cue rotation did not necessarily lead to a shift in the internal HD signal. It seems like the animals after some time ignored the position changes of the visual cue. In this context, it doesn't make much sense to qualify the update of the HD reference as &quot;successful&quot;. It would perhaps be better to include the first rotations or include only the trials that led to a substantial rotation of the internal HD.</p><p>3) There are some concerns about the quality of the spike sorting and criteria used for the identification of HD cells, as example tuning curves seem broader than what has been previously reported. Additional examples and quantification of sorting quality could address this problem.</p><p>4) Considering how critical the number of simultaneously recorded neurons is to evaluate the reliability of decoding, the study should include a detailed table of the number of neurons per session, etc.</p><p>5) Along the same lines, whether recordings at the same tetrode depth were included as independent samples is unclear. A detailed table of sessions, tetrode position, number of cells, etc. would be very informative.</p><p>6) The limitations regarding RSC-to-AD connectivity should be carefully discussed as RSC projecting neurons are likely in layer 6 only and may not have been sampled as well as other layers. Furthermore, only one tracing technique was used, not ruling out the possibility that these viruses have a poor tropism for this specific pathway.</p><p>The authors are invited to address as much as possible specific comments from the reviewers, appended below.</p><p><italic>Reviewer #1 (Recommendations for the authors):</italic></p><p>While I believe there are very strong points to this manuscript as noted above, some concerns about the experimental design have dampened my enthusiasm a bit. I have a series of specific questions.</p><p>1. The design of the behavioral protocols is not ideal to draw conclusions on visual landmark updating, as the visual cue was not presented as a reliable landmark for the animal. (It had shifted repeatedly while the animal was in the arena, and therefore probably underwent 'devaluation' (line 428) over time, and 90{degree sign} cue rotations often gave rotations of the neural representation of HD around 0 (cf line 1069)). If I understand correctly, this means that the animals after some time ignored the position changes of the visual cue. In this context, it doesn't make much sense to qualify the update of the HD reference as &quot;successful&quot; (line 261), after cue rotation, when an HD shift of &gt; x{degree sign} is observed. It is a mismatch situation, and the mouse might rely more on self-information, proprioceptive and vestibular, than on the moving visual cue. I suggest changing the wording (&quot;successful&quot;). Beyond that, could it be helpful to include only the first few cue rotation experiments for a given animal? Before it considers the visual cue as unreliable.</p><p>There might be an opportunity to investigate more deeply the effects of learning cue reliability (or unreliability) over time.</p><p>2. Can you rule out potentially confounding effects of recordings obtained during early or late phases of the repeated exposures to the visual stimuli, that would affect the coherence between the AD and RSC HD representations? Are there more or less HD cells over time, when the animals have more prior experience with the environment?</p><p>3. To help the reader to better understand how the experiments were structured, I suggest including an overview table, indicating, per mouse, for each of the 12 mice of this study:</p><p>Mouse id;</p><p>Tetrode positions in Suppl Figure 1;</p><p>Which experimental protocols were run;</p><p>How many sessions/trials;</p><p>How many units in AD and/or in RSC were recorded;</p><p>How many of them were HD or nonHD cells;</p><p>Number of possible AD – AD pairs;</p><p>Number of possible RSC – RSC pairs;</p><p>Number of possible AD – RSC pairs.</p><p>4. Often times persistence of directional firing in the dark is used as a criterion for Head direction firing, and it may be useful to distinguish HD cells from visually responsive cells for example. I saw that 3 mice were tested in the dark (Figure 3), does it mean 9 mice were not? (How sure would you be to qualify directionally tuned cells as HD cells, and not visually responsive cells, if a dark condition was missing?)</p><p>Furthermore, the criteria for HD cells typically include cue control. Because of the lack of a disorientation period during the cue rotation, this may be difficult to affirm for the protocols used here. Do you think it is still justified to qualify all the directionally tuned neurons as HD cells?</p><p>Did you examine if units identified as HD might change and become nonHD (or vice versa) across different recording conditions?</p><p>In the dark recordings, do you find that some directionally tuned cells become silent, and might those be cells responding to the visual cue?</p><p>5. Please show more examples of tuning curves of HD and nonHD cells in addition to those in Figure 1B. I would find it more convincing and also a helpful resource, for reference, to see the range of different shapes of the tuning curves in AD and in RSC, their width, and peak firing rates.</p><p>How many HD cells have more than 1 peak (suppl Figure 2A), in AD and in RSC?</p><p>6. All head direction cells were pooled together to produce suppl Figure 2D. In an ideal setting, one would expect the diagonal of preferred peak firing directions to be straight and to show uniform coverage of the 360{degree sign}, at least for ADn. This is not entirely the case. Could some of the HD cells be cells that are tuned to the visual cue? Can you indicate the cue position(s) on the graph, and might they be overrepresented?</p><p>7. Decoding: how many neurons were included? A range is given in the Discussion section, line 423, this information should rather be moved to the methods, and the actual number of simultaneously recorded units for each ensemble (Figures2, 3, S6) indicated in the results (or figure legends). How may this number influence the accuracy of the decoding?</p><p>8. What is the firing frequency in light and in dark (Figure 3, suppl Figure 6), and is decoding still reliably carried out at low firing frequencies?</p><p>9. Figure 2C. It may be misleading to label the Y axis as a 'decoded error' with respect to a visual cue when the visual cue might not function as a visual landmark (see point 1, the mouse might rely more on self-information, proprioceptive and vestibular, than the visual cue). Figure 2C would benefit from showing more time before 0 (baseline).</p><p>10. Line 359 states that AD-to-RSC connectivity was divergent, but in Figure 4H it appears that four differently tuned AD neurons, in blue, contact two (same?) RSC neurons (same-shaped tuning curves 1-2, and 3-4). Is this a mistake? Also, can you confirm that the RSC (red) traces all qualified as HD units (it looks quite untuned by the eye)?</p><p>11. In addition to the connectivity rates indicated in Figure 4, I would suggest also including the numbers for ADn-ADn and RSC-RSC pairwise connectivity rates, for comparison, and for the sake of completeness.</p><p>12. line 274, &quot;highly synchronized&quot; – please indicate the time scale.</p><p>13. It is not easy to read the color codes in some instances, including Figure 4G FS vs RS; especially when histograms overlap, also in Figure S2BC and Figure S6A.</p><p>14. Figure 4 rabies tracing: There is only one example for each, please indicate n = 1, unless there are more experiments that are not shown (in which case, please show them in the supplementary data). In B, why are the presynaptically labelled cells in RSC red? Shouldn't they be green?</p><p>Figure 4G: Is there really similar tuning between connected Ad and RSC HD units (line 451)? Even if the circular mean of the RS peak differences is at -7.44{degree sign} (Figure 4G), very few pairs seem to have such a small difference in preferred head direction.</p><p>15. Suppl F1b: Why are there so many tetrode locations in RSC, the text said 11 mice were recorded in RSC. Give AP levels for thalamic sites, to help the reader to situate the lesions.</p><p>16. Mouse numbers:</p><p>Line 74, 9 mice were simultaneously recorded;</p><p>Line 97, 8 mice… which is correct?</p><p><italic>Reviewer #2 (Recommendations for the authors):</italic></p><p>1. The authors state that 'our results provide direct evidence against the hypothesis that visually guided updates in the HD reference would first appear in the RSC' (page 17 lines 416ff). This is indeed a strong statement, but I am not sure it is entirely supported by the authors' data. I wonder if a temporal offset in cue-rotation responses between AD and RSC HD cells might have gone undetected in the authors' study (see also point 2 below). For example, the visual update drive – in the form of e.g. an excitatory input from RCS that realigns HD cells in the AD- could be difficult to detect, considering the temporal resolution of the authors' experimental design. Hence, it is difficult to prove a 'negative result' here. The authors refer to two possible limitations (page 20 lines 491-492): 'cue devaluation with repeated trials' and 'temporal control of the cue rotation'. Is it conceivable that these limitations might have prevented the observation of a temporal delay between the shifts in HD representations between retrosplenial and AD?</p><p>2. It is surprising that the authors recorded in the retrosplenial cortex, but do not comment upon nor describe bidirectional HD cells (Jakob et al., 2017). Since these neurons are regarded as prime candidates for the sensory-HD integration the authors aim to study, I think they should focus their analysis on these firing patterns specifically.</p><p>3. The tuning curves of HD cells in the AD nucleus are very broad (e.g. Figure S2E, Figure 1B, E), which seems to be at odds with prior literature, and this is potentially concerning. I wonder if this might be accounted for by the authors' definition of HD cells, and/or by spike sorting quality. The authors should try to quantify and exclude systematic spike sorting issues. As a 'control' they should maybe apply more stringent inclusion criteria, restrict the analysis to 'good' sharply tuned and nicely sorted HD units, and see if their conclusions hold for this refined dataset as well. They should also comment on whether and how (possibly suboptimal?) sorting might have impacted the 'negative result' of the present study, i.e. the fact that against predictions from prior literature, the authors did not find evidence for a visual update drive in the RSC cortex.</p><p>4. The authors state that &quot;the RSC is not wired to drive visual reference update&quot; (page 17 line 413). However, connectivity RSC◊ AD has been demonstrated in several prior studies, and this is somewhat not recapitulated by the authors' tracing experiments with rabies viruses (I wonder if this finding needs to be confirmed with more conventional tracers, to exclude suboptimal tropism or synapse-specific effects of the viral transynaptic tracing, e.g. Rogers and Beier J Neurosc Methods 2021). The authors' statement is also supported by functional connectivity data (cross-correlations). The 'apparent sparsity' of connectivity could however be biased by cellular sampling since most thalamic projecting neurons are expected to be found in the deep layers (mostly L6) which seem not to have been systematically sampled with tetrode recordings.</p><p>5. The authors state that they have performed 'widespread sampling of RCS locations' (page 18 line 449). This is to some extent true; however, the retrosplenial cortex goes well beyond the recording locations sampled by the authors. I think the authors should reword these statements and acknowledge the possibility that other subfields of the retrosplenial cortex (which were not extensively sampled by the authors) could in principle be responsible for the visual update drive to the thalamus.</p><p><italic>Reviewer #3 (Recommendations for the authors):</italic></p><p>Decoding errors: Average decoding error in RSC seems very high – 90.83 degrees for fast head turns seems like a chance level and I am not sure if it is still appropriate to talk about successful decoding of HD in that case. Since the quality of decoding is critically dependent on the number and tuning of HD cells recorded in each session, could the authors provide evidence that in each session included in the dataset both ADN and RSC decoders perform significantly better than chance as estimated from spike shuffles?</p><p>Examples in Figure 2A show many gaps in the tracked HD of the mouse, which to me indicates the sub-optimal quality of the behavioural tracking. This is especially important for analyses of decoding errors like the one in Figure 2D that shows that internal HD representations in ADN and RSC are coordinated at zero lag (+/- 20ms). The observed zero-lag peak could be instead explained by errors in behavioural tracking dominating the analysis, which would affect both representations simultaneously and show spurious zero-lag positive correlations. However, coordination could also be shown by computing the difference between internal HD decoded from ADN and RSC at different time lags, without reference to the HD tracked behaviourally. Could the authors include this sanity check in the manuscript?</p><p>The percentage of HD cells in RSC reported in the literature is generally low (~10%), but those RSC HD cells often show very narrow HD tuning. Yet, judging by the examples, the HD tuning of RSC cells recorded in the study seems worse than expected. Could the authors provide some statistical measure of HD tuning stability for each cell (i.e. correlating the first and second half of the baseline recording) as a sanity check? Canonical HD cells should show very good tuning stability under constant conditions.</p><p>Supplementary Figure 2F seems to show an overrepresentation of HD cells with similar preferred directions, especially so in RSC. If this is indeed the case, I am wondering if this apparent HD tuning could be explained by any other behavioural variable that in this session happens to be correlated with HD, as in my experience sometimes happens when a tuning curve shows weak HD tuning. I find that such spurious HD tuning often disappears if only epochs when the animal is moving are included in computing the HD curve, could the authors demonstrate that HD tuning does not change if stationary epochs are excluded?</p><p>Could the authors provide the breakdown of overall cell numbers recorded per animal (including nonHD/HD cells), for example as a table?</p><p>Are there any differences in HD modulation across layers and sub-regions of RSC?</p><p>Figure 1J shows that HD cell receptive fields exhibit both clockwise and counterclockwise rotations, do these correspond to the clockwise or anticlockwise rotations of the cue, or is the realignment not dependent on the direction of cue rotation?</p><p>The manuscript often uses a number of trials as their sample size for statistical analyses and the methods state that tetrodes were regularly advanced, but there is no indication of whether multiple trials at the same tetrode position were included in the same statistical comparison (except for recordings '4 days apart' for the HD tuning and synaptic connectivity analyses). Multiple trials with a high likelihood of recording the same cell population should not be counted as separate samples when calculating statistical significance. The authors should clarify whether tetrodes were moved between recording sessions and, if that was not the case, correct their statistical analyses to, e.g. perform statistical tests on average values per recorded population over multiple sessions.</p><p>[Editors' note: further revisions were suggested prior to acceptance, as described below.]</p><p>Thank you for resubmitting your work entitled &quot;Coordinated Head Direction Representations in Mouse Anterodorsal Thalamic Nucleus and Retrosplenial Cortex&quot; for further consideration by <italic>eLife</italic>. Your revised article has been evaluated by Laura Colgin (Senior Editor) and a Reviewing Editor.</p><p>The manuscript has been improved but reviewer #2 has some remaining issues that need to be addressed (mostly clarification of result interpretation and discussion), as outlined below.</p><p><italic>Reviewer #2 (Recommendations for the authors):</italic></p><p>In response to my concern #1, the authors state: &quot;We agree that the 20ms temporal resolution prevents the observation of a temporal offset occurring at shorter timescales, for example, that of direct excitatory drive between the two regions&quot;. This potential limitation should be specifically acknowledged in the discussion, e.g. by stating that the temporal resolution of the decoding approach (20 ms) might have prevented the resolution of faster (monosynaptic) dynamics, which are approx one order of magnitude faster. Again, I believe that saying &quot;our results provide direct evidence against the hypothesis that visually guided updates in the HD reference would first appear in the RSC&quot; (lines 343ff) is a very strong statement. The authors provide evidence consistent with this hypothesis but do not formally rule out alternative updating mechanisms that might occur on faster timescales, i.e. beyond the authors' temporal resolution. Faster dynamics (&lt;20ms) might have gone undetected in the authors' work. This limitation should at least be acknowledged in the discussion.</p><p>The sentence in the abstract &quot;with surprisingly little reciprocal drive in the corticothalamic direction&quot; is not supported by the authors' data, nor by previous anatomical work showing strong RS deep layer-to-ADn connectivity. This is also clear from the authors' tracing data (from retrograde tracings, RS L6 shows up prominently). At some points, the authors make granular vs agranular RS distinctions (e.g. lines 377ff), but this is not done consistently throughout the manuscript, and the above sentence in the abstract generally refers to RS. The authors also refer to &quot;asymmetry&quot; in RS – ADn connectivity; I do not see what the authors mean by 'asymmetry', since the connectivity follows the classical thalamocortical rules (e.g. L6 back to thalamus). As for the functional data, more extensive sampling of RS L6 is needed to support claims about asymmetric connectivity. Hence, such strong claims (as the one in the abstract) should at least be moderated throughout the manuscript.</p></body></sub-article><sub-article article-type="reply" id="sa2"><front-stub><article-id pub-id-type="doi">10.7554/eLife.82952.sa2</article-id><title-group><article-title>Author response</article-title></title-group></front-stub><body><disp-quote content-type="editor-comment"><p>Essential revisions:</p><p>While each reviewer has raised a number of specific concerns about the present study, there was an agreement that the following essential revisions needed to be addressed to warrant the publication of the manuscript.</p><p>1) The study claims that the 0-lag correlation in decoding error demonstrates a near-synchronous encoding of HD in the AD-RSC network. However, this observation may arise from erroneous decoding and video tracking. Specifically, the decoding seems quite unreliable at times, and concomitant errors in HD tracking and/or decoding would lead to a high 0-lag correlation. This problem can be addressed by measuring correlation at times of reliable decoding only and possibly using decoding techniques depending less on the neuron's tuning curves (i.e. unsupervised techniques).</p></disp-quote><p>We have addressed this concern in multiple ways:</p><p>1) We first changed the overall metric for decoding accuracy to the median of the absolute decoded error instead of the 75<sup>th</sup> percentile. This new metric, which better reflects the reader’s expectation, is much lower than what we previously showed, and more comparable to other studies.</p><p>2) For our cross-correlation analysis, we have corroborated the coordination results with a revised rotation threshold and number of independent ensembles in Figure 2D and E. We also performed the same analysis by excluding points of low (below 30°/second, <xref ref-type="fig" rid="sa2fig1">Author response image 1A</xref> and B) or high (above 30°/second, <xref ref-type="fig" rid="sa2fig1">Author response image 1C</xref> and D) angular velocity (AV). Higher AV is associated with a small but significant reduction in decoding accuracy (shown in Figure 2 – Supplement 1E and F), thus suggesting a more reliable quantification of the lag between the two regions when considering only time points with low AV. However, the exclusion of several data points, on average halved at 0-time lags and further exacerbated at lags away from zero, resulted in higher variability in the cross-correlation traces (<xref ref-type="fig" rid="sa2fig1">Author response image 1C</xref>). This variability was more pronounced when we considered points of high AV (<xref ref-type="fig" rid="sa2fig1">Author response image 1A</xref>). In both cases, the average correlation traces pointed to a peak at 0-time lags, more pronounced in the high AV case and much smoother in the low AV case, as expected, and the histograms of the peaks showed a majority at 0-time lag.</p><fig id="sa2fig1" position="float"><label>Author response image 1.</label><caption><title>Correlation of decoded HD errors at different angular velocity.</title><p>(<bold>A</bold>): Individual trials (grey traces, n=108) and averages of the unique ensembles (n=28) of the cross correlations between decoded errors composed only of the time points with high AV (more than 30°/s). (<bold>B</bold>): Distribution of the time lags corresponding to the cross-correlation peaks from A, in 20 ms bins. Wilcoxon Signed-Rank test between before and after rotation p=0.537 and two-sample Kolmogorov-Smirnov test, p&lt;0.0001 for both stable and shifted versus the null distributions in grey, n=28 ensembles. (<bold>C</bold>): Same as A, but for decoded errors composed of time points with low AV. (<bold>D</bold>): Same as <bold>B</bold>, but for the peaks in <bold>C</bold>. Wilcoxon Signed-Rank test between before and after rotation p=0.131 and two-sample Kolmogorov-Smirnov test, p&lt;0.05 for both stable and shifted versus the null distributions in grey, n=28 ensembles.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-sa2-fig1-v1.tif"/></fig><p>3) Reviewer 3 suggested an alternative method to the cross correlation in order to test for the coordination between the two regions, namely comparing the difference between the decoded HD of the two regions to that at different time lags. We did this and present the results in Figure 2 – Supplement 3B. Each trial (n=108, grey traces) is the median of the median absolute difference between ADn and RSC decoded HD calculated for sliding 5s windows of 35s decoded traces at up to +/- 5s time lags. This approach was taken to circumvent the possible problems of leading or lagging of the decoded HD depending on the head rotations (clockwise or counterclockwise) and the overall smearing of possible temporal offsets for long traces. However, in contrast to the cross correlation of the decoded error, the difference on the decoded HD does not consider opposing scenarios of lead/lag of the HD representations following positive and negative cue rotations. Therefore, we still resorted to the difference of the decoded HD errors (with some flipped to be on the same sign of the rotations), in Figure 2 – Supplement 3C-F. As in Figure 2 – Supplement 3B and as a mirror image of the cross-correlation results, we observed a trough, in other words a point of minimum error between the two regions, at 0-time lags, both on the individual (Figure 2 – Supplement 3C and D) as well as on the unique ensembles (Figure 2 – Supplement 3E and F) traces averages, resulting in a majority of 0-time lags of the trough histograms both during stable cues and after cue rotation.</p><p>4) We have replicated the cross-correlation results by using a different decoding strategy, namely a long-short-term memory network (LSTM) with a single hidden layer of 50 units trained on the neural activity of each trial, which, as suggested in the main points of the reviewers, relies less on the tuning curves of the individual units. We included this approach in the method section of the manuscript but decided to present the GLM decoding results in the main manuscript because of the overall higher decoding accuracy in the test period observed with the GLM. In <xref ref-type="fig" rid="sa2fig2">Author response image 2</xref> similar panels as those shown throughout the manuscript for this decoding method, with a detailed legend. We note that at times the number of ensembles or trials is different from that of the GLM-results because the spike shuffling control was not applied in this instance and because averages based on the value of the decoded rotations might differ from those obtained with the GLM-decoder.</p><p>In the course of the revisions we have also implemented several other changes that have improved the quality of the decoding and the robustness of the results: (a) We have extended the test period used for quantifying this accuracy from 80s to 120 s; (b) For our GLM decoding, we have excluded sessions that did not pass our threshold for decoding accuracy in comparison to spike shuffling for individual sessions, as suggested by reviewer 3; (c) We have revisited the dataset with stricter criteria for units selection and inclusion of sessions and trials that had good heading occupancy; (d) We have averaged across trials from the same sessions and from sessions with overlapping recorded ensembles to yield statistical comparisons between independent samples.</p><p>Altogether, our new analyses and substantial refinements to both the data inclusion criteria and our existing analyses addresses the concerns about spurious correlations, and demonstrates the robustness of our results.</p><fig id="sa2fig2" position="float"><label>Author response image 2.</label><caption><title>LSTM-based decoding of HD recapitulates GLM-based decoding results.</title><p>(<bold>A</bold>): Mean and 95% CI of the absolute decoding error distribution for ADn (blue) and RSC (red) for each region from the test period from rotation trials (n=37 unique ensembles ADn, N=30 for RSC). (<bold>B</bold>): Violin plots of the medians of the absolute decoded errors for ADn and RSC ensembles (p&lt;0.001, Mann-Whitney test, medians highlighted in black 35.69° in ADn, n=37, and 50.88° in RSC, n=30). (<bold>C</bold>): Left: scatter plot with error bars of the mean rotations from simultaneous ADn HD neurons tuning curves versus the mean rotations calculated from decoding HD from ADn neurons (circular correlation coefficient=0.82, p&lt;0.0001, n=114 ensembles averaged across trials of positive and negative small and large rotations). Right: Same as <bold>E</bold> but for RSC (circular correlation coefficient=0.80, p&lt;0.0001, n=60 ensembles). (<bold>D</bold>): (left) Correlation of the decoded rotations from simultaneous ADn and RSC ensembles (circular correlation coefficient r=0.58, p&lt;0.001, n=97 trials averaged across the same ensembles and for similar small positive, small negative, large positive, large negative and null rotations, from 8 mice).(Right) the correlation value is above the 99<sup>th</sup> of 100 correlation values calculated for shuffled RSC rotation values. (<bold>E</bold>): Cross correlations of ADn vs RSC decoded HD errors are on average highest at 0 s time lags both in the 75s stable test period (left) and in the 75s after cue rotation (grey traces are the individual trials, n=110, colored black and green are the mean and the 95% CI of the unique ensembles, n=31). (<bold>F</bold>): Distributions of time lags corresponding to the cross-correlation peaks from the ensemble traces from stable periods (left) and after cue rotation (right) vs in grey the distributions from cross correlations with 100 times shuffled RSC decoded errors (n=31, p&lt;0.0001 Kolmogorov-Smirnov test between the true and the shuffled distributions for both stable and realignment data, p=0.832 Wilcoxon Signed-Rank test between stable and realignment time lags of peak correlations). Insets show the same distributions zoomed in the -0.5 to 0.5 s range. Left y-axis and right y-axis are on different scales to show the values of the correlations from shuffled trials. (<bold>G</bold>): Distributions of the time lags corresponding to the minimum absolute decoded error of the median differences shown in K (p=0.618 Wilcoxon Signed-Rank test between stable and realignment time lags of peak correlations). (<bold>H</bold>): Left, comparison of the correlation values for the 13 unique ensembles between cue on and cue off periods (Wilcoxon Signed-Rank test p=0.7353). Middle and right, the mean correlation values for cue on and cue off are above the 99<sup>th</sup> of 100 mean correlations with shuffled RSC drifts.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-sa2-fig2-v1.tif"/></fig><disp-quote content-type="editor-comment"><p>2) Cue rotation did not necessarily lead to a shift in the internal HD signal. It seems like the animals after some time ignored the position changes of the visual cue. In this context, it doesn't make much sense to qualify the update of the HD reference as &quot;successful&quot;. It would perhaps be better to include the first rotations or include only the trials that led to a substantial rotation of the internal HD.</p></disp-quote><p>We have eliminated from the text the word successful and changed it to “significant change”. We have also raised the threshold for detecting small rotations to 17.2°. To determine whether initial sessions/experiments are indeed more predictive of better cue control, we plotted for each mouse and for the two regions the neural rotations calculated from the difference between the decoded HD with the GLM and the tracked HD over the session numbers and we labeled the data points according to the size of the cue rotation (see response to specific point 1 of reviewer 1). While for some mice the size of the decoded rotation was reduced over time for others this trend was not obvious. We show in <xref ref-type="fig" rid="sa2fig3">Author response image 3</xref> the distributions of decoded rotations from ADn (for ADn or ADn-RSC simultaneous recordings) or RSC (for RSC only recordings) ensembles (left 2 graphs) and or the mean rotations from HD units (right 2 graphs) normalized by the cue rotation value (purple for small cue rotations, green for large cue rotations). Only rotations above an absolute minimum of 17.2° were included and in addition, for the decoded ensembles, only those that surpassed the accuracy threshold from spike shuffling. We can observe, similarly to the analysis presented in Figure 2 – Supplement 2B, that cue control is stronger for small cue rotations, as the rotations are clustered around 1, whereas the large cue rotations result in more variable, but nonetheless significant, HD realignment.</p><p>Screening the rotations combined with stricter quality parameters supports our subsequent analyses of the coordination between ADn and RSC.</p><fig id="sa2fig3" position="float"><label>Author response image 3.</label><caption><title>Normalized decoded rotations.</title><p>Left 2 graphs, distribution of the decoded rotations, normalized by the size of the cue rotation, from ADn ensembles, right 2 graphs from RSC ensembles. Purple indicates the small cue rotations, green the large cue rotations.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-sa2-fig3-v1.tif"/></fig><disp-quote content-type="editor-comment"><p>3) There are some concerns about the quality of the spike sorting and criteria used for the identification of HD cells, as example tuning curves seem broader than what has been previously reported. Additional examples and quantification of sorting quality could address this problem.</p></disp-quote><p>Units were manually selected based on the spike template shapes resembling action potentials with asymmetric waveform and afterhyperpolarization and inter-spike interval (ISI) distribution away from the refractory period. We have revisited the sorted units in our recordings and the HD selection criterion to be more stringent together with a more accurate sampling of non-overlapping recorded ensembles. As a result, the percentage of RSC HD units is lower than in the previous version of the manuscript, while that of ADn slightly increased, with medians for RSC HD group improved for directional information and resultant length (Figure 1 – Supplement 3B and C). In response to reviewers’ suggestions, we show several new analyses that confirm different properties of HD units in ADn and RSC. Specifically, in Figure 1 – Supplement 2F we show the stability of the HD peaks between two segments of a stable cue period and the similarity of the resultant between cue on and cue off and between cue rotations.</p><p>We have added more examples of tuning curves of ADn and RSC from different mice in Figure 1 – Supplement 2A-C, where we show the tuning curves of the same unit with the cue at two different angular positions. For each unit we also show the waveforms on the 4 channels of the tetrodes as means and standard errors and the spike auto correlograms in the -15 to 15 ms. In Figure 1 – Supplement 2C, we show different ADn units from the same session. To answer the concerns about spike sorting quality, we show in Figure 1 – Supplement 2D the distributions of noise overlap, isolation metrics and mean firing rates as extracted for each unit cluster from the mountainsort spike sorting. We labeled HD and Non-HD units from RSC and ADn and show that for these classes the distributions of the different metrics are largely overlapping.</p><disp-quote content-type="editor-comment"><p>4) Considering how critical the number of simultaneously recorded neurons is to evaluate the reliability of decoding, the study should include a detailed table of the number of neurons per session, etc.</p></disp-quote><p>We thank the reviewers for the suggestion and have added a table (Supplementary File 1) in which, for each mouse, we list the recording sessions and the session types, the tetrode locations and movements, the total number of units and the number of classified HD units in each region, the total number of possible ADn-RSC pairs and the number of connections. We also show in response to reviewer 1 the relationship between the number of recorded units and the quality of the decoding.</p><disp-quote content-type="editor-comment"><p>5) Along the same lines, whether recordings at the same tetrode depth were included as independent samples is unclear. A detailed table of sessions, tetrode position, number of cells, etc. would be very informative.</p></disp-quote><p>We have noted in Supplementary file 1 for each tetrode the fraction of turns done after the recording session. We have adjusted the criterion for identifying independent sessions to more closely follow these tetrode movements and the number of recorded units, which may change also as a result of drift and movement due to attaching/detaching of the headstage between recording sessions. This was done independently for RSC and ADn tetrodes. For Figure 1C,F,G,H, and Figure 1 – Supplement 3 and Figure 2 – Supplement 1, where HD unit quantifications, HD coding properties, decoding, and rotation accuracies are shown, the presented data comes from sessions sampling different units in each region according to the tetrode movement and the number of units recorded. For analyses addressing the regional coordination (in Figure 2 and Figure 2 – Supplement 3, Figure 3D,E,G, and Figure 3 – Supplement 1A and B) and the functional connectivity (Figure 4 and Figure 4 – Supplement 2), sessions where either RSC or ADn tetrodes where moved or the number of units substantially differed were counted as independent samples. In the cases of Figure 1H, 2B, Figure 2 – Supplement 1 F&amp;G and in the above figure of the LSTM results panel E, averages of trials across the same ensembles were calculated by separating the individual the ADn rotation values according to whether they were large negative small negative, null, small positive and large positive.</p><disp-quote content-type="editor-comment"><p>6) The limitations regarding RSC-to-AD connectivity should be carefully discussed as RSC projecting neurons are likely in layer 6 only and may not have been sampled as well as other layers. Furthermore, only one tracing technique was used, not ruling out the possibility that these viruses have a poor tropism for this specific pathway.</p></disp-quote><p>We have extended the discussion on the RSC-to-ADn anatomical tracing data to consider potential tropism of the rabies virus and compare our results to past retrograde tracings using other techniques. Along those lines, we show in Figure 4 – Supplement 1B that injected retrobeads in ADn do label deep layers, particularly layer 6, of mostly granular RSC. The difference in density of the presynaptic labeling may result not only from viral tropism but also from the density of ADn labeling: in fact, the virus cocktail used for ADn rabies tracing consists of AAV1-Syn-Cre and two helper viruses, thus diluting the chances of co-infection necessary for retrograde labeling.</p><p>We acknowledge that a denser sampling of the deeper layers of granular RSC may provide a more definitive answer to the degree of functional connectivity between the two regions. We want to point out however that 9 out of 48 RSC tetrodes in mice with simultaneous ADn-RSC recordings were located in the deepest layers, and nonetheless only 4 connections were found. It is possible that we have missed more posterior hotspots in the granular RSC bordering postsubiculum, another region with known direct connections to ADn and with a functional role in controlling visual anchoring of ADn HD (Goodridge and Taube 1997). Regardless of the exact connectivity rate, a striking asymmetry exists between corticothalamic and thalamocortical connections, as previously assessed in postsubiculum (Peyrache et al. 2015). Moreover, our conclusions highlight that the most economical explanation to the coordination of the HD representations decoded from the ensemble activity we recorded relies on a feedforward drive of HD in the thalamocortical direction.</p><disp-quote content-type="editor-comment"><p>The authors are invited to address as much as possible specific comments from the reviewers, appended below.</p><p>Reviewer #1 (Recommendations for the authors):</p><p>While I believe there are very strong points to this manuscript as noted above, some concerns about the experimental design have dampened my enthusiasm a bit. I have a series of specific questions.</p><p>1. The design of the behavioral protocols is not ideal to draw conclusions on visual landmark updating, as the visual cue was not presented as a reliable landmark for the animal. (It had shifted repeatedly while the animal was in the arena, and therefore probably underwent 'devaluation' (line 428) over time, and 90{degree sign} cue rotations often gave rotations of the neural representation of HD around 0 (cf line 1069)). If I understand correctly, this means that the animals after some time ignored the position changes of the visual cue. In this context, it doesn't make much sense to qualify the update of the HD reference as &quot;successful&quot; (line 261), after cue rotation, when an HD shift of &gt; x{degree sign} is observed. It is a mismatch situation, and the mouse might rely more on self-information, proprioceptive and vestibular, than on the moving visual cue. I suggest changing the wording (&quot;successful&quot;). Beyond that, could it be helpful to include only the first few cue rotation experiments for a given animal? Before it considers the visual cue as unreliable.</p></disp-quote><p>We understand the reviewer’s concern about the behavioral design, however we also point out that other studies have approached the visual updating without disorientation before cue rotation and observed rotations (Knight et al. 2014 and, though the rotation was done on the animal through a rotating platform, also Knierim et al. 1998). Our behavioral design choice was also motivated by the possibility to closely compare the influence of the cue position on the changes of the neural activity, without adding other behavioral conditions. However, in light of the reduced cue control, especially for the 90° rotations, we have deleted the word “successful” update of the reference frame to “change”. In <xref ref-type="fig" rid="sa2fig4">Author response image 4</xref> we show for each mouse and for the two regions (ADn in panel A and RSC in panel B) the neural rotations calculated from the difference between the decoded and the tracked HD over the session numbers, While for some mice the size of the decoded rotation was reduced over time (see Mouse 4 both ADn, panel A, and RSC, panel B), as expected from a progressive devaluation of the cue, for others this trend was not obvious, suggesting that taking only the first rotations might not necessarily imply perfect HD rotations. We believe that this screening focused on the rotations, together with stricter quality parameters, can support the following analyses of the coordination between ADn and RSC.</p><fig id="sa2fig4" position="float"><label>Author response image 4.</label><caption><title>Rotations over time.</title><p>(<bold>A</bold>): Decoded rotations from ADn ensembles plotted over trials for each mouse. We have labeled the data points according to the size of the cue rotation (green for large cue rotations and purple for small cue rotations). The filled markers are trials included in the analyses presented in Figure 2 and in Figure 2 – Supplements 1, 2 and 3; open markers are trials rejected by the threshold for decoding accuracy in comparison with the decoded HD from shuffled spikes or by a decoded rotation less than 17.2°. (<bold>B</bold>): Same as <bold>A</bold>, but for RSC ensembles.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-sa2-fig4-v1.tif"/></fig><disp-quote content-type="editor-comment"><p>There might be an opportunity to investigate more deeply the effects of learning cue reliability (or unreliability) over time.</p></disp-quote><p>We thank the reviewer for raising this interesting point. Many previous studies have tested (Yoganarasimha and Knierim, 2006, Zugaro et al., 2003, Jeffery 1998, Knierim et al. 1998) or modeled (Yan, Burgess and Bicanski, 2021, Page and Jeffery, 2018) the conditions and the under which cues can be used to anchor the HD depending on their reliability. Sit and Goard, 2023 and previously Jacob et al. 2017 reported in RSC firing patterns and proposed possible circuit mechanisms that could process landmarks, however further experimental evidence of the conditions of reliability and processing of visual inputs are needed. We show that ensemble ADn and RSC cells rotate with the cue rotations, especially to the smaller cue rotations, where the mismatch with the internal HD is smaller (Figure 2 – Supplement 2B), but with large cue rotations, where the mismatch is larger, the HD reference does not always follow the cue rotations even though a realignment from the previous reference is observed, somewhat similarly to what Knight et al. 2014 observed. Besides being a topic that would require a separate research article, we believe that we don’t have the right dataset to fully explore the question of cue reliability for several reasons: (1) because we have presented only one visual cue in our behavioral arena, to which the mice were already habituated for a lengthy period (but not exactly the same for each mouse) before we recorded sufficient HD cells, it is not clear how much more in depth than previous studies we could investigate the learning reliability; (2) more detailed camera tracking of the mouse visual field would also be better suited to explore the relationship between reliable and unreliable cues; (3) denser RSC ensembles, similar to what the Sit and Goard 2023 study have reported, should be recorded.</p><disp-quote content-type="editor-comment"><p>2. Can you rule out potentially confounding effects of recordings obtained during early or late phases of the repeated exposures to the visual stimuli, that would affect the coherence between the AD and RSC HD representations? Are there more or less HD cells over time, when the animals have more prior experience with the environment?</p></disp-quote><p>We present in <xref ref-type="fig" rid="sa2fig5">Author response image 5</xref> an additional analysis by mouse where we track the number of recorded HD cells over time (A for ADn, B for RSC). Mice were also habituated to the environment for several days, even weeks before the recording sessions, while tetrodes were lowered until a substantial number of HD cells was detected. We note that some changes of the number of HD cells can also occur as a result of moving the tetrodes between sessions, and we refer the reviewers to Supplementary File 1 that tracks tetrode movements and several other parameters. Therefore, between the change in tetrode location and the already lengthy exposure to the arena, pinning the relationship between the number of HD cells to environmental exposure would be difficult in this dataset.</p><fig id="sa2fig5" position="float"><label>Author response image 5.</label><caption><title>Number of HD cells over time.</title><p>(<bold>A</bold>): Number of HD cells recorded in ADn over trials plotted by mouse. As in Rebuttal Figure 4, the open markers are trials rejected by the threshold for decoding accuracy in comparison with the decoded HD from shuffled spikes or by a decoded rotation less than 17.2°. Green indicates the large cue rotations, purple the small cue rotations. (<bold>B</bold>): Number of HD cells recorded in RSC over trials, as in <bold>A</bold>.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-sa2-fig5-v1.tif"/></fig><disp-quote content-type="editor-comment"><p>3. To help the reader to better understand how the experiments were structured, I suggest including an overview table, indicating, per mouse, for each of the 12 mice of this study:</p><p>Mouse id;</p><p>Tetrode positions in Suppl Figure 1;</p><p>Which experimental protocols were run;</p><p>How many sessions/trials;</p><p>How many units in AD and/or in RSC were recorded;</p><p>How many of them were HD or nonHD cells;</p><p>Number of possible AD – AD pairs;</p><p>Number of possible RSC – RSC pairs;</p><p>Number of possible AD – RSC pairs.</p></disp-quote><p>We thank the reviewer for the suggestion, as it will clarify several details about the study and the dataset. We have included in Supplementary File 1 the metrics requested for each session and we will make this table available on Dryad together with the data for interested readers. Because we have not looked at the connectivity between pairs from the same region, we have not included those numbers – we do not believe it is within the scope of this manuscript or that would contribute to testing the hypothesis of the relationship between the two regions. Rather it might answer general local network arrangement, which, especially for a large region like RSC, might need higher density recordings.</p><disp-quote content-type="editor-comment"><p>4. Often times persistence of directional firing in the dark is used as a criterion for Head direction firing, and it may be useful to distinguish HD cells from visually responsive cells for example. I saw that 3 mice were tested in the dark (Figure 3), does it mean 9 mice were not? (How sure would you be to qualify directionally tuned cells as HD cells, and not visually responsive cells, if a dark condition was missing?)</p></disp-quote><p>We thank the reviewer for raising this point – and agree this may be a shortcoming of the study. Indeed, because not all mice were tested in dark condition, we cannot use this criterion for identifying HD cells and we rely only on directional tuning properties described. We have however restricted the criterion for directional tuning by making sure that directional information calculated as bits/spike, resultant and concentration parameters are above 98% of the shuffled control, thus raising the threshold from the previous assessment. Moreover, only cells for which these conditions were met in two distinct trials within the session were selected as HD cells. In Figure 1 – Supplement 3B and C we show the distribution of these parameters. As an additional quality assurance, we also assessed the stability of the preferred firing direction (Figure 1 – Supplement 3F) between the first and second half of a trials, as suggested elsewhere. We also showed that the position of the cue was not a determinant of the preferred firing directions of HD cells (Figure 1 – Supplement 3D). Additionally, we show in <xref ref-type="fig" rid="sa2fig6">Author response image 6</xref> the HD information calculated as bits/spike plotted against the egocentric angle with respect to the cue for our selected HD cells in ADn and RSC, to address the potential confound of selectivity to the visual cue. Given that the egocentric information falls below the unity line for the vast majority of ADn HD cells, we are confident in our HD classification. RSC HD units are more variable, as already indicated throughout the manuscript and as suggested in the previous literature, likely owing to the conjunctive nature of associative cortical neurons, and therefore a clear-cut distinction is not as apparent as in ADn.</p><fig id="sa2fig6" position="float"><label>Author response image 6.</label><caption><title>Egocentric information of HD cells.</title><p>Left, ADn (n=150) HD directional information (bits/spike) of classified HD cells vs egocentric directional information with respect to the angular position of the cue, with both axes on the logarithmic scale. Units for which egocentric information is not above 95% of the shuffled spikes were marked as open circles. Right, same analysis applied to RSC HD cells (n=73).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-sa2-fig6-v1.tif"/></fig><disp-quote content-type="editor-comment"><p>Furthermore, the criteria for HD cells typically include cue control. Because of the lack of a disorientation period during the cue rotation, this may be difficult to affirm for the protocols used here. Do you think it is still justified to qualify all the directionally tuned neurons as HD cells?</p></disp-quote><p>In the experiment design, we did not include a disorientation protocol for technical reasons but also to allow a training and testing of the HD decoding on stable cue conditions and assess directly the effect of the rotation on the HD representation by looking at the decoded error. We agree that not including this criterion might be a shortcoming for HD classification, especially of RSC units, which have been shown in previous studies to have different responses to cue and environmental manipulations (Chen, et al., 1994; Jacob, et al., 2017). However, we show correlated mean HD rotations calculated from the tuning curves in dual area recordings in Figure 1H (where trials from the same ensembles but different size of rotations were averaged), even though very few sessions were included, given that RSC HD cells are sparse. This suggests that on average HD cells from the two regions respond similarly with cue rotations and that our classification based on information, resultant and concentration parameters, and the peak stability quantifications largely captures HD cells.</p><disp-quote content-type="editor-comment"><p>Did you examine if units identified as HD might change and become nonHD (or vice versa) across different recording conditions?</p><p>In the dark recordings, do you find that some directionally tuned cells become silent, and might those be cells responding to the visual cue?</p></disp-quote><p>We have compared the resultant of HD cells tuning curves during light condition with those from the first 2 minutes of dark conditions (before significant drifting could be observed) to address this point in Figure 1 – Supplement 3J, and show that this parameter does not significantly change as assessed by Wilcoxon Signed-Rank test. Similarly, we have compared the peak firing rate in Figure 1 – Supplement 3I and show that it is largely stable across conditions.</p><disp-quote content-type="editor-comment"><p>5. Please show more examples of tuning curves of HD and nonHD cells in addition to those in Figure 1B. I would find it more convincing and also a helpful resource, for reference, to see the range of different shapes of the tuning curves in AD and in RSC, their width, and peak firing rates.</p><p>How many HD cells have more than 1 peak (suppl Figure 2A), in AD and in RSC?</p></disp-quote><p>We have added more examples of HD tuning curves both for RSC and for ADn in Figure 1 – Supplement 2 and have added the number of peaks for ADn and RSC HD cells in the main text.</p><disp-quote content-type="editor-comment"><p>6. All head direction cells were pooled together to produce suppl Figure 2D. In an ideal setting, one would expect the diagonal of preferred peak firing directions to be straight and to show uniform coverage of the 360{degree sign}, at least for ADn. This is not entirely the case. Could some of the HD cells be cells that are tuned to the visual cue? Can you indicate the cue position(s) on the graph, and might they be overrepresented?</p></disp-quote><p>We thank the reviewer for suggesting this analysis to strengthen the point of the independence of the HD cells from the visual tuning. We have added the cue position for the reference trials from which the tuning curve is calculated to the original Supplementary Figure 2D – which is now Figure 1 – Supplement 3D. We observe no overrepresentation of tuning.</p><disp-quote content-type="editor-comment"><p>7. Decoding: how many neurons were included? A range is given in the Discussion section, line 423, this information should rather be moved to the methods, and the actual number of simultaneously recorded units for each ensemble (Figures2, 3, S6) indicated in the results (or figure legends). How may this number influence the accuracy of the decoding?</p></disp-quote><p>Details about the number of HD cells as well as total number of neurons recorded can be found in Supplementary File 1. We also present in <xref ref-type="fig" rid="sa2fig7">Author response image 7</xref> the relationship between accuracy of decoding and number of HD cells recorded. As expected, the decoded error increases with fewer HD cells and also fewer total number of neurons, as captured by the exponential relationship.</p><fig id="sa2fig7" position="float"><label>Author response image 7.</label><caption><title>Decoding accuracy over the number of cells.</title><p>Left, decoding accuracy of ADn ensembles (n=36) over the number of ADn HD cells (light blue line exponential fit and 95% confidence interval, filled markers) and over the total number of recorded ADn cells (dark blue line exponential fit and 95% confidence interval, open markers). Right, same plot but for RSC (n=29), with bright red and dark red, respectively, to indicate the relationship over the number of classified HD cells (filled markers) and total number of units (open markers).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-sa2-fig7-v1.tif"/></fig><disp-quote content-type="editor-comment"><p>8. What is the firing frequency in light and in dark (Figure 3, suppl Figure 6), and is decoding still reliably carried out at low firing frequencies?</p></disp-quote><p>We have included in Figure 1 – Supplement 3H a comparison of all the mean firing rate of the recorded ensembles and in Figure 1 – Supplement 3I of the peak firing rate of unique HD units in both regions between cue on and cue off conditions. While the mean firing rate of the whole ensembles marginally change only for RSC ensembles, the peak firing rates of HD units are slightly decreased in darkness as opposed to cue on conditions in both regions (p=0.0027 for ADn, p=0.0004 for RSC, Wilcoxon Signed-Rank test). To quantify the decoding accuracy in darkness, in a similar approach as that taken in Figure 2 – Supplement 1G and H for the cue rotations, we compare in <xref ref-type="fig" rid="sa2fig8">Author response image 8</xref> the decoded drift calculated every 2 min during cue-on and cue-off against that of the cells’ tuning curves, calculated from the preferred peak during the first stable period. We observed that, while during cue-on both for ADn and RSC the values are clustered around 0 (such that circular cross correlations are close to 0 and with p values&gt;0.05), during cue-off there is more drift outside of 0, and the decoded and the mean ensemble drifts from the tuning curves are significantly correlated (p&lt;0.0001). The correlation is more evident for the ADn HD ensemble, as more values are concentrated along the unity line. The slight decrease in firing rates in darkness therefore does not affect the accuracy of the decoding.</p><fig id="sa2fig8" position="float"><label>Author response image 8.</label><caption><title>Accuracy of decoded drift in darkness.</title><p>Top, the decoded drift from individual ADn trials during cue-on (left) and cue-off (right) periods, calculated every 2 minutes, plotted against that calculated from the tuning curves of HD units. Bottom, same analysis but for RSC HD ensembles.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-82952-sa2-fig8-v1.tif"/></fig><disp-quote content-type="editor-comment"><p>9. Figure 2C. It may be misleading to label the Y axis as a 'decoded error' with respect to a visual cue when the visual cue might not function as a visual landmark (see point 1, the mouse might rely more on self-information, proprioceptive and vestibular, than the visual cue). Figure 2C would benefit from showing more time before 0 (baseline).</p></disp-quote><p>We thank the reviewer for helping us improve on the readability of Figure 2 and have added more baseline to the examples in Figure 2C. We also want to clear any confusion within the labeling in this figure and have adjusted it to label in green the Cue rotation and time 0 rather than just “Cue”, and adjusted the text accordingly, to clarify that the decoded HD error is not calculated with respect to the cue position but rather as a subtraction to the tracked HD.</p><disp-quote content-type="editor-comment"><p>10. Line 359 states that AD-to-RSC connectivity was divergent, but in Figure 4H it appears that four differently tuned AD neurons, in blue, contact two (same?) RSC neurons (same-shaped tuning curves 1-2, and 3-4). Is this a mistake? Also, can you confirm that the RSC (red) traces all qualified as HD units (it looks quite untuned by the eye)?</p></disp-quote><p>We thank the reviewer for the correction and have removed the statement about “divergent connections”, as indeed a small number of ADn units make connections to the same RSC unit (as exemplified in the previous Figure 4H, which was not a mistake). We have revisited the dataset to provide more examples.</p><disp-quote content-type="editor-comment"><p>11. In addition to the connectivity rates indicated in Figure 4, I would suggest also including the numbers for ADn-ADn and RSC-RSC pairwise connectivity rates, for comparison, and for the sake of completeness.</p></disp-quote><p>As stated above, we did not run the within region functional connectivity pairs as it does not provide evidence of the relationship between ADn and RSC.</p><disp-quote content-type="editor-comment"><p>12. line 274, &quot;highly synchronized&quot; – please indicate the time scale.</p></disp-quote><p>We have added 20 ms time scale in the text and have removed the word “highly”.</p><disp-quote content-type="editor-comment"><p>13. It is not easy to read the color codes in some instances, including Figure 4G FS vs RS; especially when histograms overlap, also in Figure S2BC and Figure S6A.</p></disp-quote><p>We thank the reviewer for pointing this out and we have separated the overlapping histograms in the original S2BC to improve the visibility. We have changed the colors for Figure 4G FS vs RS and revisited the original Supplementary Figure 6A, now Figure 3F.</p><disp-quote content-type="editor-comment"><p>14. Figure 4 rabies tracing: There is only one example for each, please indicate n = 1, unless there are more experiments that are not shown (in which case, please show them in the supplementary data). In B, why are the presynaptically labelled cells in RSC red? Shouldn't they be green?</p></disp-quote><p>We have now added a second rabies tracing experiment for RSC in Figure 4 – Supplement 1A and a red retrobeads experiment in ADn in Figure 4 – Supplement 1B to respond to point 6 of the necessary revision points and reviewer’s 2 concern of viral tropism. To avoid any confusion we have noted in the figure legend that different constructs with opposing colors were used for the rabies tracing experiments, namely pAAV-syn-FLEX-splitTVA-EGFP-tTA + pAAV-TREtight-mTagBFP2-B19G and then (EnvA)SAD-ΔG-mCherry (Wickersham) for the ADn rabies tracing, thus giving rise to red pre-synaptically labeled cells, versus AAV1-hsyn-DIO-TVA66T-dTom-CVS-N2C(g) then EnvAdGCVS-N2CHistone-eGFP (Allen Institute) for the RSC rabies tracing, as we found out this latter construct was not working for ADn rabies tracing.</p><disp-quote content-type="editor-comment"><p>Figure 4G: Is there really similar tuning between connected Ad and RSC HD units (line 451)? Even if the circular mean of the RS peak differences is at -7.44{degree sign} (Figure 4G), very few pairs seem to have such a small difference in preferred head direction.</p></disp-quote><p>We have revisited the dataset and the HD selection criterion, resulting in refinement of our HD unit pairs and narrowing of the overall peak differences (mean peak difference = -5.4°). We have adjusted the text to more carefully argue that there is a bias, however with some variance.</p><disp-quote content-type="editor-comment"><p>15. Suppl F1b: Why are there so many tetrode locations in RSC, the text said 11 mice were recorded in RSC. Give AP levels for thalamic sites, to help the reader to situate the lesions.</p></disp-quote><p>We apologize for the confusion, and we have adjusted Figure 1 – Supplement 1B accordingly, with different colors for different mice. All RSC tetrode locations (obtained from the lesions) from all 11 mice with tetrodes in RSC are plotted in the figure. We have added the coordinates of each lesion in Figure 1 – Supplement 1A.</p><disp-quote content-type="editor-comment"><p>16. Mouse numbers:</p><p>Line 74, 9 mice were simultaneously recorded ;</p><p>Line 97, 8 mice… which is correct?</p></disp-quote><p>The text was changed accordingly. One mouse with simultaneous ADn-RSC recording did not pass the threshold for 8 RSC units to be included in the decoding dataset, but it does contribute to the spike correlation pair numbers and in the tetrode locations figure.</p><disp-quote content-type="editor-comment"><p>Reviewer #2 (Recommendations for the authors):</p><p>1. The authors state that 'our results provide direct evidence against the hypothesis that visually guided updates in the HD reference would first appear in the RSC' (page 17 lines 416ff). This is indeed a strong statement, but I am not sure it is entirely supported by the authors' data. I wonder if a temporal offset in cue-rotation responses between AD and RSC HD cells might have gone undetected in the authors' study (see also point 2 below). For example, the visual update drive – in the form of e.g. an excitatory input from RCS that realigns HD cells in the AD- could be difficult to detect, considering the temporal resolution of the authors' experimental design. Hence, it is difficult to prove a 'negative result' here. The authors refer to two possible limitations (page 20 lines 491-492): 'cue devaluation with repeated trials' and 'temporal control of the cue rotation'. Is it conceivable that these limitations might have prevented the observation of a temporal delay between the shifts in HD representations between retrosplenial and AD?</p></disp-quote><p>We want to first clarify that the two limitations mentioned in the final section of the conclusion apply to the characterization of landmark encoding cells, whose contribution to internal HD representations is not addressed in this study, but would indeed be of interest in future recordings. Specifically, a tight control of the entering of the cue in the visual field of the mouse (for example in a head fixed setting on a rotating platform, such as that described in Sit, and Goard, 2023) would most likely be necessary in characterizing the firing fields of landmark-encoding cells. We have however eliminated this sentence to avoid confusions.</p><p>We do not believe those limitations would prevent the observation of a temporal delay between HD representations because: a) if there was no rotation of the HD reference then the trial was excluded; b) because of the slow time course of the rotations a temporal offset would most likely be observed regardless of the exact (+/- 500 ms) control of the visual field. As stated in the discussion, it is unclear what behavioral conditions lead to a slow realignment of the HD reference in contrast to the Zugaro et al. 2003 study, where rapid realignment (80 ms) was observed, but slower timescales have been reported by Knierim et al. 1998 and by Ajabi et al. 2021. How the time scale of the realignment is related to the activity of RSC (or postsubiculum, as an alternative brain region for visual/HD integration) is unknown, but the Ajabi et al. 2021 study related the time course needed to differences in ADn network gains, with an initial spike possibly reflecting visual inputs.</p><p>We agree that the 20ms temporal resolution prevents the observation of a temporal offset occurring at shorter timescales, for example that of direct excitatory drive between the two regions. To observe this case, enough deep layers ADn-projecting neurons have to be recorded and these neurons have to encode HD to allow accurate decoding specifically from this ensemble at 1 ms resolution. Alternatively, one would have to search for specific combinations of ADn-RSC HD cells pairs with the same tuning and cue rotations events in which the mouse keeps the head still in the preferred orientation (as described in Zugaro et al. 2003). It is unclear whether the neurons described in Jacob et al. 2017 (as indicated in point 2) would be directly involved in conveying updated HD information to ADn, given that most RSC presynaptic neurons to ADn are found in granular and not in dysgranular cortex. However, they could be involved in locally updating HD (Page et al. 2018), as suggested by the study of Sit and Goard 2023, where the realignment to repeated rotations was supported by a subpopulation of cells with distinct firing fields, likely through inputs from both external visual and HD inputs and local RSC inputs carrying specific spatial and visual information. A more detailed study of the circuit connectivity and the operations carried by individual RSC circuit components would answer these questions and resolve whether these visual/HD transformations can occur at a smaller temporal resolution than the one we used in this study.</p><p>We also want to point out that in addition to local and long-range inputs to RSC carrying information necessary for these transformation, previous literature has shown that HD reference update in behavioral settings similar to that described here depend on postsubicular activity (Goodridge et al. 1998) and on cortico-mamillary inputs (Yoder et al. 2015), whereby HD update can occur upstream of thalamus. This evidence points to a coordinated action of multiple brain regions to keep the HD in register across the brain, suggesting that substantial HD reference offsets are unlikely to be observed when decoding from the large ensemble levels.</p><p>Following the main suggestions and the comments of the other reviewers, we have (1) systematically checked our dataset and set stricter criteria for including trials and units; (2) we have averaged across trials with overlapping ensembles to perform statistical assessments on independent samples; and (3) we have offered an alternative method for checking the 0-ms time lag of HD coordination between the two regions in Figure 2 – Supplement 3. Our results are similar to those previously presented, suggesting the robustness of our data and methods. Moreover, we have decoded the internal HD representation of both regions with an alternative method, namely a LSTM network with only one hidden layer. Even in this case, the coordination between the decoded HD of the two regions by calculating the cross-correlation occurs at a 0-ms time lag. Because of the higher sensitivity of the difference between decoded errors to moment to moment variability in the 5s segments and the slightly lower decoder accuracy from the LSTM prediction, more variable distributions of time lags of minimum median error were observed; however, most of the traces had troughs at 0 ms time lags.</p><disp-quote content-type="editor-comment"><p>2. It is surprising that the authors recorded in the retrosplenial cortex, but do not comment upon nor describe bidirectional HD cells (Jakob et al., 2017). Since these neurons are regarded as prime candidates for the sensory-HD integration the authors aim to study, I think they should focus their analysis on these firing patterns specifically.</p></disp-quote><p>We have extended the discussion to consider the potential sensory-HD integration neurons proposed in the Jacob et al. 2017 study as candidates for landmark-based update of HD representation in RSC. However, we believe that these bi-or multidirectional firing patterns, as discussed in Jacob et al. 2017, are coupled to specific environmental configurations, i.e. the two distinct symmetrical rooms that can be closed and through which the animals can continuously navigate. Similarly, in the studies of Sit and Goard, 2023 and LaChance et al. 2022 bidirectionally tuned cells were identified in retrosplenial and postrhinal cortex, respectively, in environments with symmetric cues, and suggested this class of cells could discriminate between visual cues and process landmarks that anchor the HD. However, because these set-ups are not proposed in our study, a search for these patterns in our dataset does not seem feasible.</p><disp-quote content-type="editor-comment"><p>3. The tuning curves of HD cells in the AD nucleus are very broad (e.g. Figure S2E, Figure 1B, E), which seems to be at odds with prior literature, and this is potentially concerning. I wonder if this might be accounted for by the authors' definition of HD cells, and/or by spike sorting quality. The authors should try to quantify and exclude systematic spike sorting issues. As a 'control' they should maybe apply more stringent inclusion criteria, restrict the analysis to 'good' sharply tuned and nicely sorted HD units, and see if their conclusions hold for this refined dataset as well. They should also comment on whether and how (possibly suboptimal?) sorting might have impacted the 'negative result' of the present study, i.e. the fact that against predictions from prior literature, the authors did not find evidence for a visual update drive in the RSC cortex.</p></disp-quote><p>We provide in Figure 1 – Supplement 2A-C additional tuning curves of selected HD cells from different mice in ADn and RSC for two distinct angular positions of the visual cue, together with the corresponding spike autocorrelation histograms and the waveforms on all 4 channels of the tetrode where the units were detected. In Figure 1 – Supplement 2D we also show the distributions of the noise overlap and isolation metric, as directly extracted from spike sorting, of all our HD and non HD cells and we highlight: (1) the isolation metric is strongly skewed toward the maximum (on a scale from 0 to 1); (2) the noise overlap, in contrast, is skewed toward 0, with a small subset of units having a 0.0-0.4 overlap; and (3) these metrics are largely overlapping across all 4 categories.</p><p>We have refined the HD unit selection with stricter criteria: in addition to raising the threshold of resultant length and spike information to 98% of those obtained from spike shuffling, we included the concentration of the tuning curves as an additional parameter and, together with the sampling of unique ensembles following the tetrode movement more closely for both RSC and ADn, indeed the percentage of RSC HD units decreased and that of ADn HD units slightly increased.</p><disp-quote content-type="editor-comment"><p>4. The authors state that &quot;the RSC is not wired to drive visual reference update&quot; (page 17 line 413). However, connectivity RSC◊ AD has been demonstrated in several prior studies, and this is somewhat not recapitulated by the authors' tracing experiments with rabies viruses (I wonder if this finding needs to be confirmed with more conventional tracers, to exclude suboptimal tropism or synapse-specific effects of the viral transynaptic tracing, e.g. Rogers and Beier J Neurosc Methods 2021). The authors' statement is also supported by functional connectivity data (cross-correlations). The 'apparent sparsity' of connectivity could however be biased by cellular sampling since most thalamic projecting neurons are expected to be found in the deep layers (mostly L6) which seem not to have been systematically sampled with tetrode recordings.</p></disp-quote><p>We have expanded our discussion to clarify this point, and rephrased the quoted sentence to express that RSC, while playing a major role in encoding landmarks and translating between internal and external spaces, in our experimental paradigm and through our data analysis does not seem to anticipate, at the ensemble level and at the time resolution of 20 ms, the HD reference with respect to ADn during cue rotations.</p><p>We have provided an alternative anatomical tracing strategy to overcome potential poor tropism of the virus, or, as discussed in point 6 of the essential revisions, potentially low number of infected starter ADn neurons. With retrobeads injected into ADn, we show results in line with those from previous literature (Shibata, 1998), with deep layers, especially in granular RSC, labeled. As for the sparsity from the functional connectivity in the RSC-to-ADn direction, we agree with the reviewers that a more focused sampling of layer 6 of RSC and possibly also in more posterior RSC closer to the postsubiculum would have revealed more connections. However, based on the ensembles we have recorded, with 9 tetrodes out of 48 in the mice with simultaneous ADn-RSC recordings, the internal HD we have decoded from the two regions and the temporal coordination are supported by the functional connections we have observed. Furthermore, these connections were determined with a high threshold (99.9% probability from a convolved distribution, used as baseline).</p><disp-quote content-type="editor-comment"><p>5. The authors state that they have performed 'widespread sampling of RCS locations' (page 18 line 449). This is to some extent true; however, the retrosplenial cortex goes well beyond the recording locations sampled by the authors. I think the authors should reword these statements and acknowledge the possibility that other subfields of the retrosplenial cortex (which were not extensively sampled by the authors) could in principle be responsible for the visual update drive to the thalamus.</p></disp-quote><p>We agree with the reviewer that particularly more posterior locations in RSC, where the granular portion borders with postsubiculum, have not been substantially sampled. We have reworded our discussion to highlight the need of extensive recording of RSC in the anterior-posterior axis in future studies to test their roles in these visual realignment tasks, especially given that RSC is already known to display a gradient in encoding egocentric versus allocentric navigational variables (Hennestad et al. 2021). As mentioned in the discussion, there are however several different pathways through which HD in ADn can be updated: 1) direct postsubiculum to ADn connections, and 2) cortical (postsubiculum) to LMN connections. It is unclear whether different behavioral conditions would prioritize one pathway as supposed to another or whether, regardless of the behavioral demands, a coordinated HD representation is ensured at different levels in the HD circuitry through multiple connections.</p><disp-quote content-type="editor-comment"><p>Reviewer #3 (Recommendations for the authors):</p><p>Decoding errors: Average decoding error in RSC seems very high – 90.83 degrees for fast head turns seems like a chance level and I am not sure if it is still appropriate to talk about successful decoding of HD in that case. Since the quality of decoding is critically dependent on the number and tuning of HD cells recorded in each session, could the authors provide evidence that in each session included in the dataset both ADN and RSC decoders perform significantly better than chance as estimated from spike shuffles?</p></disp-quote><p>We want to clarify that in the original version of the paper (Supplementary Figure 3C) we presented the degree value corresponding to the 75 percentile of the error distribution. We realized that the median of the absolute decoded error is a better metric for this analysis and have thus adjusted the graphs to reflect this (now Figure 2 – Supplement 1D), which has brought the accuracy metric to lower values. We also followed the reviewer’s suggestion to eliminate sessions for which the median decoded error was higher than the 10th of 100 values calculated from shuffled spikes (shown in Figure 2 – Supplement 1B).</p><disp-quote content-type="editor-comment"><p>Examples in Figure 2A show many gaps in the tracked HD of the mouse, which to me indicates the sub-optimal quality of the behavioural tracking. This is especially important for analyses of decoding errors like the one in Figure 2D that shows that internal HD representations in ADN and RSC are coordinated at zero lag (+/- 20ms). The observed zero-lag peak could be instead explained by errors in behavioural tracking dominating the analysis, which would affect both representations simultaneously and show spurious zero-lag positive correlations. However, coordination could also be shown by computing the difference between internal HD decoded from ADN and RSC at different time lags, without reference to the HD tracked behaviourally. Could the authors include this sanity check in the manuscript?</p></disp-quote><p>There might be at times gaps in the HD tracking if the sensors on the headstage are obscured, for example during grooming bouts, or by the connecting cable. HD is tracked through the HTC Vive Base Station system detection from 3 receivers in 9 mice – 2 in 3 mice – placed on top of the headstage, at a 30 Hz frequency. To reach the 50Hz sampling resolution we use throughout the manuscript, we interpolate between data points. We have provided a new example in Figure 2A and have not median-smoothed the HD tracking as we did in the previous version of the figure.</p><p>As for the zero-lag between HD representations, we followed the reviewer’s suggestion, and plotted the difference between the decoded HD of each region in Figure 2 – Supplement 3B. Specifically we have taken the absolute median of the difference between 5 s segments and temporally offset them up to +/- 5 s, and repeated this to cover the length of 75s of decoded trace. We note that there are however some factors that contribute to the high variability and would potentially obscure effects in the scenarios of either region leading the HD reference change: 1) the direction of the cue rotation; b) the direction of the head rotations (clockwise vs counterclockwise). For these reasons, initially we took the cross correlation of the decoded errors. The sign and the magnitude of the angular velocity are the major factor leading to large error differences in the -180 to 180 range at around 5s temporal lags, therefore we decided to take the absolute median error. Finally, to combine our results in the face of the different directions of the rotations, we made all the decoded errors have the same sign. We can see from the histogram of the troughs from unique ensembles that the majority lies at 0, recapitulating the temporal cross correlation results.</p><disp-quote content-type="editor-comment"><p>The percentage of HD cells in RSC reported in the literature is generally low (~10%), but those RSC HD cells often show very narrow HD tuning. Yet, judging by the examples, the HD tuning of RSC cells recorded in the study seems worse than expected. Could the authors provide some statistical measure of HD tuning stability for each cell (i.e. correlating the first and second half of the baseline recording) as a sanity check? Canonical HD cells should show very good tuning stability under constant conditions.</p></disp-quote><p>We have included the suggested analysis of peak stability in Figure 1 – Supplement 3F and indeed found that the peak is quite stable (circular correlation = 0.93 for ADn, n=150, for RSC 0.79, n=73, p&lt;0.0001 for both). We have also revised the HD selection criterion to be more stringent. As suggested by other reviewers and by the essential revision, we have also added more examples in Figure 1 – Supplement 2.</p><disp-quote content-type="editor-comment"><p>Supplementary Figure 2F seems to show an overrepresentation of HD cells with similar preferred directions, especially so in RSC. If this is indeed the case, I am wondering if this apparent HD tuning could be explained by any other behavioural variable that in this session happens to be correlated with HD, as in my experience sometimes happens when a tuning curve shows weak HD tuning. I find that such spurious HD tuning often disappears if only epochs when the animal is moving are included in computing the HD curve, could the authors demonstrate that HD tuning does not change if stationary epochs are excluded?</p></disp-quote><p>We have rerun the HD cells selection by refining the criteria (namely selecting bits/spike, resultant and concentration parameters above 98% of those from shuffled spikes for both ADn and RSC units in 2 distinct segments of the recording sessions) and by selecting only time points within a period of stable cue where the animal is moving, as here suggested.</p><disp-quote content-type="editor-comment"><p>Could the authors provide the breakdown of overall cell numbers recorded per animal (including nonHD/HD cells), for example as a table?</p></disp-quote><p>We have provided in the essential revision point 4 the Supplementary File 1 summarizing total number of cells and number of HD cells in each region per recording session, per mouse, as well as the number of ADn-RSC pairs tested for functional connectivity and the tetrode movements.</p><disp-quote content-type="editor-comment"><p>Are there any differences in HD modulation across layers and sub-regions of RSC?</p></disp-quote><p>We agree with the reviewer that this would be an interesting avenue of research to better understand the organization of RSC. However, we think that this characterization of HD within cortical layers would be better addressed with high density laminar probes where layer identification is more accurate and sampling much higher.</p><disp-quote content-type="editor-comment"><p>Figure 1J shows that HD cell receptive fields exhibit both clockwise and counterclockwise rotations, do these correspond to the clockwise or anticlockwise rotations of the cue, or is the realignment not dependent on the direction of cue rotation?</p></disp-quote><p>No, indeed sometimes the ensemble/decoded rotation is in the opposite direction or overshoots (as can be seen in Figure 2 – Supplement 2B) and, as a consequence of the circularity, it seems the HD representation goes in the opposite direction as the imposed cue rotation.</p><disp-quote content-type="editor-comment"><p>The manuscript often uses a number of trials as their sample size for statistical analyses and the methods state that tetrodes were regularly advanced, but there is no indication of whether multiple trials at the same tetrode position were included in the same statistical comparison (except for recordings '4 days apart' for the HD tuning and synaptic connectivity analyses). Multiple trials with a high likelihood of recording the same cell population should not be counted as separate samples when calculating statistical significance. The authors should clarify whether tetrodes were moved between recording sessions and, if that was not the case, correct their statistical analyses to, e.g. perform statistical tests on average values per recorded population over multiple sessions.</p></disp-quote><p>Indeed, unlike in the HD quantification and spike correlation analyses where we originally took recordings 4 days apart, all trials were included in the previous versions of Figure 2 and 3, whether they were within the same recording session (as shown in the examples) or in next day session. In our revised manuscript we have followed the reviewer’s suggestion and have adjusted Figures 2 DandE, 3D-G and Figure 2 – Supplements 1 and 3 and Figure 3 – Supplement 1 to average across sessions containing largely overlapping ensembles and perform statistical tests on unique ensembles following more closely the tetrode movements and changes in recorded unit numbers. Similarly, we have sampled sessions with different ensembles (or combinations of RSC-ADn ensembles for the functional connectivity) to present and perform statistical analysis for the data in Figures 1 and 4 and Figure 1 – Supplement 3 and Figure 4 – Supplement 2. We have adjusted in the figures and figure labels the identification of n to ensembles.</p><p>[Editors’ note: what follows is the authors’ response to the second round of review.]</p><disp-quote content-type="editor-comment"><p>The manuscript has been improved but reviewer #2 has some remaining issues that need to be addressed (mostly clarification of result interpretation and discussion), as outlined below.</p><p>Reviewer #2 (Recommendations for the authors):</p><p>In response to my concern #1, the authors state: &quot;We agree that the 20ms temporal resolution prevents the observation of a temporal offset occurring at shorter timescales, for example, that of direct excitatory drive between the two regions&quot;. This potential limitation should be specifically acknowledged in the discussion, e.g. by stating that the temporal resolution of the decoding approach (20 ms) might have prevented the resolution of faster (monosynaptic) dynamics, which are approx one order of magnitude faster. Again, I believe that saying &quot;our results provide direct evidence against the hypothesis that visually guided updates in the HD reference would first appear in the RSC&quot; (lines 343ff) is a very strong statement. The authors provide evidence consistent with this hypothesis but do not formally rule out alternative updating mechanisms that might occur on faster timescales, i.e. beyond the authors' temporal resolution. Faster dynamics (&lt;20ms) might have gone undetected in the authors' work. This limitation should at least be acknowledged in the discussion.</p></disp-quote><p>We thank the reviewer for raising this point to more precisely and carefully communicate our results in light of potential limitations. We have eliminated the sentence “Together, our results provide direct evidence against the hypothesis that the updated HD reference from visual cue rotations would first appear in RSC, at the ensemble level, and then be directly conveyed to ADn” in the discussion and, as the reviewer requested, added the sentence “However, the temporal resolution of the decoding occludes potential faster dynamics, at the scale of monosynaptic connections (ms range)” to acknowledge the limitation of our 20ms window.</p><disp-quote content-type="editor-comment"><p>The sentence in the abstract &quot;with surprisingly little reciprocal drive in the corticothalamic direction&quot; is not supported by the authors' data, nor by previous anatomical work showing strong RS deep layer-to-ADn connectivity. This is also clear from the authors' tracing data (from retrograde tracings, RS L6 shows up prominently). At some points, the authors make granular vs agranular RS distinctions (e.g. lines 377ff), but this is not done consistently throughout the manuscript, and the above sentence in the abstract generally refers to RS. The authors also refer to &quot;asymmetry&quot; in RS – ADn connectivity; I do not see what the authors mean by 'asymmetry', since the connectivity follows the classical thalamocortical rules (e.g. L6 back to thalamus). As for the functional data, more extensive sampling of RS L6 is needed to support claims about asymmetric connectivity. Hence, such strong claims (as the one in the abstract) should at least be moderated throughout the manuscript.</p></disp-quote><p>We have edited the abstract to tone down the concept of asymmetry in light of the L6 labeling in the retrobeads tracing, and have also changed the heading of the Results section accordingly. And in the discussion, we have specifically added the sentence “Further denser sampling of layer 6 in RSC, and more specifically in the granular portion, where ADn’s presynaptic partners in RSC are mostly found ((Shibata, 1998), Figure 4B, Figure 4 – Supplement 1B), are needed to clarify the role of the anatomically-identified corticothalamic projections in the visual updating of ADn-RSC HD reference”.</p></body></sub-article></article>