OSCR

Inferring brain-wide interactions using data-constrained recurrent neural network models.

Code ↔ Paper

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

The 8 matches · 3 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
  1. [1] § STAR★METHODS › METHOD DETAILS › Multi-region electrophysiology recordings in humans › Behavioral task ↔ README.m, the whole file · a weak match · score 0.88 · button presses, human faces, memory blocks, monkey faces, fruits, yes
  2. [2] § STAR★METHODS › METHOD DETAILS › Multi-region electrophysiology recordings in humans › Neural recordings ↔ README.m, the whole file · a weak match · score 0.82 · pre SMA, dACC, firing rate, cortex, hippocampus, amygdala
  3. [3] § STAR★METHODS › METHOD DETAILS › Multi-region electrophysiology recordings in humans › Neural recordings ↔ main_spikes.m, lines 1–11 · score 0.62 · pre SMA, dACC, hippocampus, amygdala, spike
  4. [4] § RESULTS › CURBD applied to single-cell spiking data from humans during memory retrieval ↔ main_spikes.m, lines 1–11 · score 0.59 · dACC, preSMA, hippocampus, amygdala, spiking, memory
  5. [5] § STAR★METHODS › METHOD DETAILS › Multi-region recurrent neural networks › Analyzing the Directed Interaction matrix after training ↔ classes/@Acquisition2P/selectROIs.m, the whole file · a weak match · score 0.59 · square root, standard deviation, histograms, matrix
  6. [6] § STAR★METHODS › METHOD DETAILS › Multi-region recurrent neural networks › Analyzing the Directed Interaction matrix after training ↔ trainMultiRegionRNN.m, lines 107–171 · score 0.56 · standard deviation, directed interaction matrix, trained, neuron, RNN, Model
  7. [7] § STAR★METHODS › METHOD DETAILS › Multi-region calcium fluorescence recordings in mice › Pre-processing of imaging data ↔ common/Motion Correction Files/lucas-kanade/doLucasKanade.m, lines 1–98 · score 0.54 · motion artifacts, motion correction, warping
  8. [8] § STAR★METHODS › METHOD DETAILS › Multi-region recurrent neural networks › Model RNN training ↔ trainMultiRegionRNN.m, lines 174–313 · score 0.53 · pVar, variance explained, training, error, RNNs, model

Paper

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

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 152 lines · 7.9 KB · no license · 2 matches

  1. %{
  2. =================================
  3. This project contains the raw data on which this paper is based:
  4. J.Minxha, R.Adolphs, S.Fusi, A.N.Mamelak, U.Rutishauser. Flexible recruitment of memory-based choice representations by human medial-frontal cortex. Science, 2020 (in press).
  5. Permanent URL for data: http://doi.org/10.17605/OSF.IO/U3KCP
  6. Please see http://www.rutishauserlab.org/ for up-to-date contact information.
  7. This work has been made possible by grants from the National Institutes of Health (NIMH R01MH110831; The NIH BRAIN initiative U01NS103792; the National Science Foundation CAREER BCS-1554105; and a Memory&Cognitive Disorders Award from the McKnight Endowment for the Neurosciences).
  8. =================================
  9. ********* Main Files *********
  10. There are two main files, "main_sfc.m" which reproduces the spike-field
  11. coherence results in Figure 5 and "main_spikes.m", which reproduces all the raster and PSTHs. The cell indices for the rasters plotted in the main
  12. figures of the paper are included in the file. The purpose of these files
  13. is to illustrate how to load and utilize the data rather than to reproduce
  14. all the figures in the paper. Note that all the data needed to produce the
  15. findings in the paper is included.
  16. ********* Spiking data structures *********
  17. The spiking folder, "spikes" contains three files, "ha.mat" (amygddala and
  18. hippocampus), "mfc.mat" (preSMA and dACC), and "mfc_cell_annotations.mat"
  19. which contains annotations for the MFC population (indeces for choice cells, weights for the MFC population as assinged by the choice decoder, etc.) The structures in "ha.mat" and "mfc.mat" have the following fields:
  20. sessionID: unique identifier for the sessions (can be usd to index into
  21. other data structures, ex. SFC)
  22. behavior: contains all the relevant behavior from the session in which the
  23. cell was recorded. It is itself a structure with the following
  24. fields:
  25. RT: response time (in seconds)
  26. iscorrect: boolean indicating if trial was correct
  27. nr_appearances: ranges from 0 to 7, indicates the number of
  28. times this image has been presented before in
  29. this session. This can be converted into a
  30. boolian variable indicating new/old by
  31. thresholding at 1. So any image with an index of
  32. 1 or greater, is part of the "old" set of stimuli.
  33. categories: can take 4 possible values, 1 = cars, 4 = fruits,
  34. 5 = human face, 7 = monkey face
  35. target: this is relevant only for the categorization trials,
  36. indicates target image category. For example, if the
  37. value for a trial is "5" that means that for that trial,
  38. the subject has to respond with "yes" if the stimulus
  39. shown was a human face. the target changed by blocks.
  40. For memory blocks, the values are "NaN"
  41. response: the subjects response, "1" = yes, "0" = no.
  42. trial_type: what task was being performed, two columns which are
  43. the complement of each other. Column one indexes all
  44. categorization trials, column two all memory trials.
  45. block_nr: block number of the trial, should be 1-8, with the
  46. exception of one session where there was an extra block
  47. for training purposes.
  48. gt: ground truth for the response.
  49. response_type: indicates the effector to be used, 2 = eye or
  50. 1 = button press.
  51. ts: time stamps organized into trials, provided either aligned to
  52. stimulus onset or to the response.
  53. binsize : indicates the size of the bin in milliseconds, used to compute
  54. firing rate for PSTHs
  55. stepSize: for internal use, indicates the stepsize of the moving window
  56. used to estimate firing rate for PSTHs, expressed as a fraction
  57. of the bin size.
  58. cellinfo: row 1 = cluster number (internal use), row 2 = channel number
  59. (internal use), row 3 = area code of the brain area this cell
  60. was in.
  61. is_control: boolean indicating if this session was a control session.
  62. See Figure S6 of the paper.
  63. ********* Spike-field coherence (SFC) data structures *********
  64. The folder "sfc" contains two subdirectories called "baseline" and "stim".
  65. These names refer to the time window within which the spike-field coherence
  66. was measured. In the case of "baseline" it's [-1 0] seconds relative to
  67. stimulus onset. For "stim" it's [0.2 1.2] seconds after stimulus onset.
  68. All SFC analysis in the paper is done during the baseline, with the
  69. exception of the contrast between true positive trials and false negative
  70. trials, which was done after the stimulus onset. The "stim" folder contains
  71. an additional file, called "session_raw_stats". For the SFC analysis after
  72. stimulus onset, we only used sessions where the referencing was done
  73. locally, i.e. within the same cluster of electrodes as the one the cell was
  74. recorded from. The reason for this, is that ERPs (event related potentials)
  75. are significantly diminished for locally referenced sessions. The
  76. referencing (local vs. distal) information is given in
  77. "session_raw_stats.mat".
  78. session_raw_stats.mat (in stim subdirectory) contains two structures,
  79. "stats_amy" and "stats_hippo" containing referencing information for
  80. amygdala and hippocampus respectively. The fields are:
  81. name: this is the session identifier
  82. areas: the area the electrodes were in, will read 'uLA','uRA' or 'uLH',
  83. 'uRH' for left and right amygdala/hippocampus.
  84. is_local: a boolean indicating if the session was locally referenced.
  85. tp_vs_fn.mat (in stim subdirectory) contains two structures, "sfc_mfc_amy"
  86. and "sfc_mfc_hippo" the coherence and spike-triggered power for all mfc
  87. cells with respect to amygdala and hippmpus LFP respectively. These
  88. structures apply to different LFP recordings but the structure is the same,
  89. with the following fields:
  90. f: the frequencies sampled (logarithmically from 2 t0 125Hz)
  91. cellinfo: first row = cluster number (internal use only), second row =
  92. channel number (internal),
  93. third row = identifier for the brain area where it was recorded
  94. 4,8 = left and right preSMA
  95. 2,6 = left and right dACC
  96. sessionid: unique identifier for the recording session
  97. coh: contains PPC data, a cell array that has the same length as the
  98. number of MFC cells (767).
  99. If one entry in the array is empty, it is because that cell did
  100. not meet requirements to be included. The main exclusion
  101. criteria is that there must be at least 25 spikes per condition.
  102. Given that false negatives are rare, this reduces the number of
  103. cells included in the analysis. If the cell did meet the
  104. requirements, then there will be N subarrays, where N is the
  105. number of conditions +1. So for the TN vs. FN contrast, there
  106. will be 3 subarrays at each location, where the first condition
  107. is the union of the spikes used in TN and FN (the "all spikes"
  108. condition).
  109. stp : same as "coh" but contains the spike triggered power instead of
  110. the PPC. The spike triggered power is estimated (like the
  111. coherence) from the complex values returned by the fourier
  112. transform of the around the spikes.
  113. params: contains information on how the analysis was performed.
  114. Contains subfields like "min_nr_spikes" which is the main
  115. criteria used to determine if a cell is included in teh analysis.
  116. In the "baseline" subdirectory, "sfc_data_task" contains two structures
  117. that have exactly the same layout as what is described above for
  118. "tp_vs_fn.mat"
  119. ********* Area codes for brain regions *********
  120. 1 = left amygdala
  121. 2 = left dACC
  122. 3 = left hippocampus
  123. 4 = left preSMA
  124. 5 = right amygdala
  125. 6 = right dACC
  126. 7 = right hippocampus
  127. 8 = right preSMA
  128. %}

README.m, no license · at the source

Overview

Authors: Matthew G Perich1,2, Charlotte Arlt3, Sofia Soares3, Siyan Zhou3, Manuel Beiran4, Aaron S Andalman5, Tyler Benster6, Megan E Young7, Clayton P Mosher7,8, Juri Minxha8,9, Eugene Carter7, Ueli Rutishauser8,9, Peter H Rudebeck7, Christopher D Harvey3, Karl Deisseroth5,10,11,12, Kanaka Rajan3,13,12,14
ORCID iDs: Matthew G Perich
14 affiliations
  1. Département des neurosciences, Université de Montréal, Montréal, QC, Canada
  2. Quebec Artificial Intelligence Institute (Mila), Montreál, QC, Canada
  3. Department of Neurobiology, Harvard Medical School, Boston, MA 02115, USA
  4. Zuckerman Mind Brain Behavior Institute, Columbia University, New York, NY, USA
  5. Department of Bioengineering, Stanford University, Stanford, CA, USA
  6. Neurosciences Graduate Program, Stanford University, Stanford, CA, USA
  7. Nash Family Department of Neuroscience and Friedman Brain Institute, Icahn School of Medicine at Mount Sinai, New York, NY, USA
  8. Cedars-Sinai Medical Center, Los Angeles, CA, USA
  9. California Institute of Technology, Pasadena, CA, USA
  10. Department of Psychiatry and Behavioral Sciences, Stanford University, Stanford, CA, USA
  11. Howard Hughes Medical Institute, Stanford University, Stanford, CA, USA
  12. These authors contributed equally
  13. Kempner Institute for Natural and Artificial Intelligence, Harvard University, Boston, MA 02134, USA
  14. Lead contact
Journal: Neuron, pages S0896-6273(26)00571-4
Dates: published online 7 August 2026; in print August 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1016/j.neuron.2026.07.016 · PMID 42567158 · PMCID PMC13565020 · OpenAlex W3114251522
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: computational modeling (no new data) (modality), mouse (organism), zebrafish (organism), systems (subfield)
Methods: Smoothing, state filtering, decompositions, Machine learning, Preprocessing, Statistics, fMRI & imaging, Single-unit activity, calcium imaging, Physiology & signal measures
Keywords: Mouse, Primate, Neural Dynamics, Computational Neuroscience, Recurrent Neural Networks, Larval Zebrafish, Multi-region Communication, Neural Population Interactions
Topic: Neural dynamics and brain function (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: NIMH NIH HHS (R01 MH110831, DP1 MH125776, R01 MH118638, R01 MH132064); NIBIB NIH HHS (R01 EB028166, R01 EB029858); NINDS NIH HHS (R37 NS089521, U01 NS117839); NIDA NIH HHS (RF1 DA056403)
Citations: cited by 9 papers (Europe PMC); 119 references in the paper
Research resources: C57BL/6J-Tg(Thy1-GCaMP6s)GP4.3 RRID:IMSR_JAX:024275

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repositories

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

HarveyLab/Acquisition2P_class

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: a366a2af6741a8e552b3ce10a32dd7134ae78dbd, 12 April 2019
Languages: MATLAB (135), C++ (8)
Size: 155 files, 143 scripts
Software Heritage: not archived
Found in: the resources table
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
145 files

OSF u3kcp

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Languages: MATLAB (11)
Size: 17 files, 11 scripts
Software Heritage: not checked
Found in: the text, “Footnotes”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
11 files
At the source: osf.io/u3kcp/

rajanlab/CURBD

License: GPL-3.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 08bb0192d919a9eb5e6ded42d0a0f15c128ed65e, 19 May 2026
Languages: MATLAB (5), Python (2)
Size: 10 files, 7 scripts
Software Heritage: not archived
Found in: the text, “Footnotes”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Matplotlib (2 files), NumPy (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
9 files

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 161 scripts, each with its path and the digest of its content;
  • 8 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 3, 28 September 2026

  • Publisher: n/a → Cell Press
  • Authors: added Matthew G Perich (0000-0001-9800-2386); removed Matthew G Perich

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, pages, dates, 16 authors, 8 keywords, 4 funders, 115 references, 1 RRID.

Cite

This paper

Perich, M. G., Arlt, C., Soares, S., Zhou, S., Beiran, M., Andalman, A. S., Benster, T., Young, M. E., Mosher, C. P., Minxha, J., Carter, E., Rutishauser, U., Rudebeck, P. H., Harvey, C. D., Deisseroth, K., & Rajan, K. (2026). Inferring brain-wide interactions using data-constrained recurrent neural network models. Neuron, S0896-6273(26)00571-4. https://doi.org/10.1016/j.neuron.2026.07.016

BibTeX

@article{perich2026inferring,
author = {Perich, Matthew G and Arlt, Charlotte and Soares, Sofia and Zhou, Siyan and Beiran, Manuel and Andalman, Aaron S and Benster, Tyler and Young, Megan E and Mosher, Clayton P and Minxha, Juri and Carter, Eugene and Rutishauser, Ueli and Rudebeck, Peter H and Harvey, Christopher D and Deisseroth, Karl and Rajan, Kanaka},
title = {{Inferring brain-wide interactions using data-constrained recurrent neural network models}},
journal = {Neuron},
year = {2026},
month = aug,
pages = {S0896--6273(26)00571--4},
publisher = {Cell Press},
issn = {0896-6273},
doi = {10.1016/j.neuron.2026.07.016},
url = {https://doi.org/10.1016/j.neuron.2026.07.016},
pmid = {42567158},
pmcid = {PMC13565020}
}

RIS

TY - JOUR
AU - Perich, Matthew G
AU - Arlt, Charlotte
AU - Soares, Sofia
AU - Zhou, Siyan
AU - Beiran, Manuel
AU - Andalman, Aaron S
AU - Benster, Tyler
AU - Young, Megan E
AU - Mosher, Clayton P
AU - Minxha, Juri
AU - Carter, Eugene
AU - Rutishauser, Ueli
AU - Rudebeck, Peter H
AU - Harvey, Christopher D
AU - Deisseroth, Karl
AU - Rajan, Kanaka
TI - Inferring brain-wide interactions using data-constrained recurrent neural network models
T2 - Neuron
J2 - Neuron
PY - 2026
DA - 2026/08/07
SP - S0896
EP - 6273(26)00571-4
SN - 0896-6273
PB - Cell Press
DO - 10.1016/j.neuron.2026.07.016
UR - https://doi.org/10.1016/j.neuron.2026.07.016
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.neuron.2026.07.016",
"type": "article-journal",
"title": "Inferring brain-wide interactions using data-constrained recurrent neural network models",
"container-title": "Neuron",
"author": [
{
"family": "Perich",
"given": "Matthew G"
},
{
"family": "Arlt",
"given": "Charlotte"
},
{
"family": "Soares",
"given": "Sofia"
},
{
"family": "Zhou",
"given": "Siyan"
},
{
"family": "Beiran",
"given": "Manuel"
},
{
"family": "Andalman",
"given": "Aaron S"
},
{
"family": "Benster",
"given": "Tyler"
},
{
"family": "Young",
"given": "Megan E"
},
{
"family": "Mosher",
"given": "Clayton P"
},
{
"family": "Minxha",
"given": "Juri"
},
{
"family": "Carter",
"given": "Eugene"
},
{
"family": "Rutishauser",
"given": "Ueli"
},
{
"family": "Rudebeck",
"given": "Peter H"
},
{
"family": "Harvey",
"given": "Christopher D"
},
{
"family": "Deisseroth",
"given": "Karl"
},
{
"family": "Rajan",
"given": "Kanaka"
}
],
"container-title-short": "Neuron",
"page": "S0896-6273(26)00571-4",
"DOI": "10.1016/j.neuron.2026.07.016",
"PMID": "42567158",
"PMCID": "PMC13565020",
"ISSN": "0896-6273",
"publisher": "Cell Press",
"URL": "https://doi.org/10.1016/j.neuron.2026.07.016",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
7
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s41467-026-71725-0 [code]
Interactions across hemispheres in prefrontal cortex reflect global cognitive processing.
Journal: Nature communications
In common: Parallel Computing Toolbox, Image Processing Toolbox, Statistics and Machine Learning Toolbox, 2 other tools, 14 references
[2] doi:10.1038/s41598-026-55225-1 [code]
Benchmarking criteria to determine latent linear dimensionality in neural data.
Journal: Scientific reports
In common: Statistics and Machine Learning Toolbox, computational modeling (no new data), 12 references
[3] doi:10.3390/biomimetics11080569 [code]
Pretraining of Embodied Recurrent Networks Bridges the Gap Between Artificial and Cortical Neural Activities.
Journal: Biomimetics (Basel, Switzerland)
In common: Matplotlib, NumPy, systems, 10 references
[4] doi:10.1080/26941899.2026.2619222
Neurodatascience: Past, Present, and Future.
Journal: Data science in science
In common: 12 references
[5] doi:10.1016/j.isci.2026.116776 [code]
Selective perturbation of mirror and non-mirror neurons in an in silico model of the action observation network.
Journal: iScience
In common: NumPy, computational modeling (no new data), 9 references
[6] doi:10.1371/journal.pcbi.1014719 [code]
Manifold-constrained plasticity enables stable learning in recurrent neural circuits.
Journal: PLoS computational biology
In common: 11 references
[7] doi:10.1371/journal.pbio.3003831 [code]
Disinhibitory signaling enables flexible coding of top-down information in cortical networks.
Journal: PLoS biology
In common: Image Processing Toolbox, Statistics and Machine Learning Toolbox, Matplotlib, 1 other tool, systems, mouse, 6 references
[8] doi:10.1038/s41467-026-73999-w [code]
Independence and coherence in temporal sequence computation across the fronto-parietal network.
Journal: Nature communications
In common: Matplotlib, NumPy, systems, mouse, 8 references
[9] doi:10.7554/elife.110370 [code]
Serotonergic modulation of motor subspace dynamics drives a sleep-independent quiescent state.
Journal: eLife
In common: Parallel Computing Toolbox, Image Processing Toolbox, Statistics and Machine Learning Toolbox, 2 other tools, zebrafish, systems, 4 references
[10] doi:10.1126/sciadv.aed6417 [code]
Intrinsic timing, not temporal prediction, underlies ramping dynamics in visual and parietal cortex during passive behavior.
Journal: Science advances
In common: Matplotlib, NumPy, systems, mouse, 8 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

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

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