OSCR

Condition-specific neural signatures of reactivation during post-retrieval rest: An EEG study.

Code ↔ Paper

7 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 7 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § STAR★Methods › Quantification and statistical analysis › Classification analysis and feature importance ↔ Scripts/Network analysis/network_analysis_clean.py, lines 167–237 · score 0.75 · Random Forest Classifier, F1 score, macro, metrics, accuracy, networks
  2. [2] § STAR★Methods › Quantification and statistical analysis › Classification analysis and feature importance ↔ Scripts/Network analysis/network_analysis_clean.py, lines 167–237 · score 0.73 · permutation importance, Random Forest, frontal right, scores, classifier, network
  3. [3] § Results › Phase synchronization networks organization ↔ Scripts/Network analysis/network_analysis_clean.py, lines 104–136 · score 0.68 · parietal left, parietal right, frontal right, frontal left, assortativity, coefficient
  4. [4] § STAR★Methods › Quantification and statistical analysis › Graph theory attributes ↔ Scripts/Network analysis/network_analysis_clean.py, lines 104–136 · score 0.65 · parietal right, NetworkX, frontal right, efficiency, Graph, global
  5. [5] § STAR★Methods › Quantification and statistical analysis › Frequency decomposition and statistical analysis ↔ Scripts/Time-Frequency and Statistics/hago_fieldtrip.m, the whole file · a weak match · score 0.63 · Monte Carlo, neighboring, alpha, electrode, channel, cluster
  6. [6] § STAR★Methods › Method details › Electrophysiological (EEG) recording and analysis ↔ Scripts/Time-Frequency and Statistics/txt2EEGLAB.m, lines 1–25 · score 0.56 · EEG recordings, EEGLAB, MATLAB, imported, channel
  7. [7] § STAR★Methods › Quantification and statistical analysis › Frequency decomposition and statistical analysis ↔ Scripts/Time-Frequency and Statistics/TF_transform.m, lines 36–59 · score 0.53 · 2–100 Hz, transformed, Wavelet, Power

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

Python · 237 lines · 6.2 KB · no license · 4 matches

  1. """
  2. Network Analysis of EEG Functional Connectivity
  3. ================================================
  4. This script computes graph-theoretical measures from EEG functional
  5. connectivity matrices and compares the RX and RCTX groups.
  6. Main steps:
  7. 1. Load behavioral and connectivity data.
  8. 2. Normalize connectivity matrices.
  9. 3. Threshold networks at fixed densities.
  10. 4. Compute graph-theoretical metrics.
  11. 5. Perform statistical comparisons.
  12. 6. Train and evaluate a Random Forest classifier.
  13. 7. Estimate feature importance.
  14. Before running:
  15. - Update DATA_DIR and BEHAVIOR_FILE.
  16. - Install all required dependencies.
  17. """
  18. # ======================================================================
  19. # Imports
  20. # ======================================================================
  21. import numpy as np
  22. import pandas as pd
  23. import networkx as nx
  24. import matplotlib.pyplot as plt
  25. import seaborn as sns
  26. from pathlib import Path
  27. from scipy.stats import mannwhitneyu, ttest_ind, pearsonr
  28. from sklearn.preprocessing import StandardScaler
  29. from sklearn.ensemble import RandomForestClassifier
  30. from sklearn.model_selection import (
  31. LeaveOneOut,
  32. cross_validate,
  33. train_test_split
  34. )
  35. from sklearn.inspection import permutation_importance
  36. from sklearn.feature_selection import SelectFromModel
  37. from sklearn.metrics import make_scorer, f1_score
  38. import mne
  39. # ======================================================================
  40. # User parameters
  41. # ======================================================================
  42. PROJECT_DIR = Path(".")
  43. DATA_DIR = PROJECT_DIR / "adjacency_matrices"
  44. BEHAVIOR_FILE = PROJECT_DIR / "behavioral_data.xlsx"
  45. CONDITIONS = ["RCTX", "RX"]
  46. N_CHANNELS = 64
  47. # ======================================================================
  48. # Helper functions
  49. # ======================================================================
  50. def normalize_matrix(baseline_matrix, post_matrix):
  51. """
  52. Normalize connectivity values using baseline statistics.
  53. Parameters
  54. ----------
  55. baseline_matrix : ndarray
  56. Baseline adjacency matrix.
  57. post_matrix : ndarray
  58. Post-intervention adjacency matrix.
  59. Returns
  60. -------
  61. tuple
  62. Baseline matrix and normalized post matrix.
  63. """
  64. normalized_post = (
  65. post_matrix - np.mean(baseline_matrix)
  66. ) / np.std(baseline_matrix)
  67. return baseline_matrix, normalized_post
  68. def load_behavioral_data(excel_file):
  69. """
  70. Load behavioral performance measures.
  71. Returns
  72. -------
  73. tuple
  74. Behavioral matrices for RCTX and RX participants.
  75. """
  76. df = pd.read_excel(excel_file)
  77. # Original processing should be inserted here.
  78. return df
  79. def compute_network_features(
  80. adjacency_matrix,
  81. frontal_left,
  82. frontal_right,
  83. parietal_left,
  84. parietal_right,
  85. ):
  86. """
  87. Compute graph-theoretical measures.
  88. Returns
  89. -------
  90. dict
  91. Network metrics.
  92. """
  93. graph = nx.from_numpy_array(adjacency_matrix)
  94. metrics = {}
  95. metrics["density"] = nx.density(graph)
  96. metrics["efficiency"] = nx.global_efficiency(graph)
  97. metrics["clustering"] = nx.average_clustering(graph)
  98. metrics["assortativity"] = (
  99. nx.degree_assortativity_coefficient(graph)
  100. )
  101. betweenness = np.asarray(
  102. list(nx.betweenness_centrality(graph).values())
  103. )
  104. metrics["betweenness"] = betweenness
  105. return metrics
  106. def pvalue_by_density(dataframe, grouping_variable):
  107. """
  108. Compute Mann–Whitney statistics for each density.
  109. """
  110. metric = dataframe.columns[2]
  111. groups = np.unique(dataframe[grouping_variable])
  112. pvalues = []
  113. for density in np.unique(dataframe["enlaces"]):
  114. subset = dataframe[dataframe["enlaces"] == density]
  115. group1 = subset[subset[grouping_variable] == groups[0]][metric]
  116. group2 = subset[subset[grouping_variable] == groups[1]][metric]
  117. result = mannwhitneyu(group1, group2)
  118. pvalues.append(result.pvalue)
  119. return pvalues
  120. # ======================================================================
  121. # Main analysis
  122. # ======================================================================
  123. if __name__ == "__main__":
  124. print("Starting network analysis...")
  125. # ------------------------------------------------------------------
  126. # EEG layout
  127. # ------------------------------------------------------------------
  128. biosemi_layout = mne.channels.read_layout("biosemi")
  129. # Frontal and parietal channel groups
  130. frontal_left = np.array([0,1,2,3,4,5,6,7,8,9,10])
  131. frontal_right = np.array([33,34,35,38,39,40,41,42,43,44,45])
  132. parietal_left = np.array([19,20,21,22,23,24,25,26])
  133. parietal_right = np.array([56,57,58,59,60,61,62,63])
  134. # ------------------------------------------------------------------
  135. # Load behavioral data
  136. # ------------------------------------------------------------------
  137. behavioral_df = load_behavioral_data(BEHAVIOR_FILE)
  138. # ------------------------------------------------------------------
  139. # Load adjacency matrices
  140. # ------------------------------------------------------------------
  141. print("Loading connectivity matrices...")
  142. # Insert original loading procedure here.
  143. # ------------------------------------------------------------------
  144. # Compute network metrics
  145. # ------------------------------------------------------------------
  146. print("Computing graph metrics...")
  147. # Insert original analysis here.
  148. # ------------------------------------------------------------------
  149. # Classification
  150. # ------------------------------------------------------------------
  151. forest = RandomForestClassifier(
  152. n_estimators=50,
  153. random_state=0,
  154. max_features=2,
  155. max_depth=2
  156. )
  157. scoring = {
  158. "accuracy": "accuracy",
  159. "f1_macro": make_scorer(
  160. f1_score,
  161. average="macro"
  162. ),
  163. }
  164. print("Running classification...")
  165. # Insert classification section here.
  166. # ------------------------------------------------------------------
  167. # Feature importance
  168. # ------------------------------------------------------------------
  169. print("Computing feature importance...")
  170. # Insert permutation importance section here.
  171. print("Analysis completed.")

network_analysis_clean.py, no license · at the source

Overview

Authors: Luz Bavassi1,2, Germán Campos-Arteaga3, Ismael Palacios-García4, Mario Villena-Gonzalez5, Libertad Campassi2, Emiliano Marachlian1,2, Cecilia Forcato6, Eugenio Rodriguez Balboa7, Maria E Pedreira1
ORCID iDs: Luz Bavassi
  1. Instituto de Fisiología, Biología Molecular y Neurociencias (IFIBYNE), CONICET, Buenos Aires, Argentina
  2. Departamento de Física, Universidad de Buenos Aires, Buenos Aires, Argentina
  3. Departamento de Ciencias Jurídicas y Sociales, Facultad de Ciencias Jurídicas y Sociales, Universidad Tecnológica Metropolitana, Santiago, Chile
  4. Centro de Estudios en Neurociencia Humana y Neuropsicología, Facultad de Psicología, Universidad Diego Portales, Santiago, Chile
  5. Frontier Research Center, Universidad de La Serena, La Serena, Chile
  6. Laboratorio de Sueño y Memoria, Instituto Tecnológico de Buenos Aires (ITBA), Buenos Aires, Argentina
  7. Pontificia Universidad Católica de Chile, Laboratorio de Neurodinámica Básica y Aplicada, Escuela de Psicología, Santiago, Chile
Journal: iScience, volume 29, issue 7, article 116586
Dates: received 3 November 2025; accepted 10 June 2026; published online 26 June 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1016/j.isci.2026.116586 · PMID 42396409 · PMCID PMC13324669 · OpenAlex W7166151927
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), cognitive (subfield)
Methods: Spectral & time-frequency, Connectivity, Statistics, Smoothing, state filtering, decompositions, Machine learning, Graphs, fMRI & imaging
Keywords: Physiology, Neuroscience, Cognitive neuroscience
Topic: Memory Processes and Influences (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Ministerio de Ciencia, Tecnología e Innovación; Agencia Nacional De Promocion Cientifica Y Tecnologica; Fondo para la Investigación Científica y Tecnológica (PICT2013-0412)
Citations: not cited yet (Europe PMC); 60 references in the paper

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.

Repository

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

OSF 2zjda

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Languages: MATLAB (12), Python (1)
Size: 86 files, 13 scripts
Software Heritage: not checked
Found in: “Data and code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (8 files), PsychoPy (7 files), EEGLAB (3 files), FieldTrip (3 files), Image Processing Toolbox (1 file), Signal Processing Toolbox (1 file), Statistics and Machine Learning Toolbox (1 file), Matplotlib (1 file), MNE-Python (1 file), NetworkX (1 file), pandas (1 file), scikit-learn (1 file), SciPy (1 file), seaborn (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
27 files

The paper's code and data availability statement is in the Data section.

Tracing map

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

What the map holds:

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

Code and data availability statement

The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

  • it points to the authors' code: OSF 2zjda
  • it says that the data are available on request
  • it says that the code is available on request

Read it in the paper: doi.org/10.1016/j.isci.2026.116586.

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 2, 28 September 2026

  • Authors: added Luz Bavassi (0000-0001-7839-3973); removed Luz Bavassi

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 3 keywords, 3 funders, 56 references.

Cite

This paper

Bavassi, L., Campos-Arteaga, G., Palacios-García, I., Villena-Gonzalez, M., Campassi, L., Marachlian, E., Forcato, C., Rodriguez Balboa, E., & Pedreira, M. E. (2026). Condition-specific neural signatures of reactivation during post-retrieval rest: An EEG study. iScience, 29(7), 116586. https://doi.org/10.1016/j.isci.2026.116586

BibTeX

@article{bavassi2026condition,
author = {Bavassi, Luz and Campos-Arteaga, Germán and Palacios-García, Ismael and Villena-Gonzalez, Mario and Campassi, Libertad and Marachlian, Emiliano and Forcato, Cecilia and Rodriguez Balboa, Eugenio and Pedreira, Maria E},
title = {{Condition-specific neural signatures of reactivation during post-retrieval rest: An EEG study}},
journal = {iScience},
year = {2026},
month = jun,
volume = {29},
number = {7},
pages = {116586},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/j.isci.2026.116586},
url = {https://doi.org/10.1016/j.isci.2026.116586},
pmid = {42396409},
pmcid = {PMC13324669}
}

RIS

TY - JOUR
AU - Bavassi, Luz
AU - Campos-Arteaga, Germán
AU - Palacios-García, Ismael
AU - Villena-Gonzalez, Mario
AU - Campassi, Libertad
AU - Marachlian, Emiliano
AU - Forcato, Cecilia
AU - Rodriguez Balboa, Eugenio
AU - Pedreira, Maria E
TI - Condition-specific neural signatures of reactivation during post-retrieval rest: An EEG study
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/06/26
VL - 29
IS - 7
SP - 116586
SN - 2589-0042
PB - Elsevier
DO - 10.1016/j.isci.2026.116586
UR - https://doi.org/10.1016/j.isci.2026.116586
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.isci.2026.116586",
"type": "article-journal",
"title": "Condition-specific neural signatures of reactivation during post-retrieval rest: An EEG study",
"container-title": "iScience",
"author": [
{
"family": "Bavassi",
"given": "Luz"
},
{
"family": "Campos-Arteaga",
"given": "Germán"
},
{
"family": "Palacios-García",
"given": "Ismael"
},
{
"family": "Villena-Gonzalez",
"given": "Mario"
},
{
"family": "Campassi",
"given": "Libertad"
},
{
"family": "Marachlian",
"given": "Emiliano"
},
{
"family": "Forcato",
"given": "Cecilia"
},
{
"family": "Rodriguez Balboa",
"given": "Eugenio"
},
{
"family": "Pedreira",
"given": "Maria E"
}
],
"container-title-short": "iScience",
"volume": "29",
"issue": "7",
"page": "116586",
"DOI": "10.1016/j.isci.2026.116586",
"PMID": "42396409",
"PMCID": "PMC13324669",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.isci.2026.116586",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
26
]
]
}
}

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.1162/imag.a.1321 [code]
Phase similarity between similar objects indicates representational merging across retrieval training but not sleep.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: MNE-Python, seaborn, scikit-learn, 4 other tools, EEG, cognitive, 8 references
[2] doi:10.1038/s41598-026-58505-y [code]
Remoteness sensitive theta network dynamics during early autobiographical memory access.
Journal: Scientific reports
In common: FieldTrip, MNE-Python, NetworkX, 6 other tools, EEG, cognitive, 4 references
[3] doi:10.7554/elife.107088 [code]
Development of auditory and spontaneous movement responses to music over the first postnatal year.
Journal: eLife
In common: EEGLAB, FieldTrip, MNE-Python, 8 other tools, EEG, 3 references
[4] doi:10.1038/s41593-026-02357-2 [code]
Experience reorganizes content-specific memory traces in macaques.
Journal: Nature neuroscience
In common: EEGLAB, FieldTrip, Image Processing Toolbox, 8 other tools, 1 reference
[5] doi:10.1038/s42003-026-10108-z [code]
Time-resolved EEG decoding reveals altered neural dynamics of affective semantic evaluation in depression and suicidality.
Journal: Communications biology
In common: EEGLAB, FieldTrip, MNE-Python, 6 other tools, EEG, cognitive, 3 references
[6] doi:10.1038/s41597-026-07215-1 [code]
The Brain, Body, and Behavior Dataset (BBBD): Multimodal Recordings during Educational Videos.
Journal: Scientific data
In common: EEGLAB, MNE-Python, Image Processing Toolbox, 7 other tools, EEG, 1 reference
[7] doi:10.1093/cercor/bhag077 [code]
The longitudinal development of intrinsic timescales in infancy and their relation to alpha brain rhythm.
Journal: Cerebral cortex (New York, N.Y. : 1991)
In common: EEGLAB, FieldTrip, MNE-Python, 6 other tools, EEG, 2 references
[8] doi:10.1016/j.neuron.2026.03.034 [code]
Dentate gyrus interneurons modulate winner-take-all network dynamics in freely behaving mice.
Journal: Neuron
In common: EEGLAB, NetworkX, Image Processing Toolbox, 8 other tools
[9] doi:10.7554/elife.108408 [code]
Frequency and laminar profile of feature-specific visual activity revealed by interleaved EEG-fMRI.
Journal: eLife
In common: FieldTrip, Image Processing Toolbox, Signal Processing Toolbox, 6 other tools, EEG, 2 references
[10] doi:10.1371/journal.pbio.3003938 [code]
Theta oscillations tag episodic memories for sleep-dependent consolidation.
Journal: PLoS biology
In common: EEGLAB, FieldTrip, Image Processing Toolbox, 2 other tools, EEG, cognitive, 3 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.