Condition-specific neural signatures of reactivation during post-retrieval rest: An EEG study.
5 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 7 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § STAR★Methods › Quantification and statistical analysis › Classification analysis and feature importance ↔ Scripts/Network analysis/network_analysis_clean.py, lines 167 to 237 · score 0.75 · Random Forest Classifier, F1 score, macro, metrics, accuracy, networks · block
oscr:b:0QG2TGNJ4WFVA-8· Report a mismatch - [2] § STAR★Methods › Quantification and statistical analysis › Classification analysis and feature importance ↔ Scripts/Network analysis/network_analysis_clean.py, lines 167 to 237 · score 0.73 · permutation importance, Random Forest, frontal right, scores, classifier, network · block
oscr:b:0QG2TGNJ4WFVA-8· Report a mismatch - [3] § Results › Phase synchronization networks organization ↔ Scripts/Network analysis/network_analysis_clean.py, lines 104 to 136 · score 0.68 · parietal left, parietal right, frontal right, frontal left, assortativity, coefficient · block
oscr:b:AHP4BJF0YQJPK-0· Report a mismatch - [4] § STAR★Methods › Quantification and statistical analysis › Graph theory attributes ↔ Scripts/Network analysis/network_analysis_clean.py, lines 104 to 136 · score 0.65 · parietal right, NetworkX, frontal right, efficiency, Graph, global · block
oscr:b:AHP4BJF0YQJPK-0· Report a mismatch - [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 · block
oscr:b:14B3RBY9M6NZE-3· Report a mismatch - [6] § STAR★Methods › Method details › Electrophysiological (EEG) recording and analysis ↔ Scripts/Time-Frequency and Statistics/txt2EEGLAB.m, lines 1 to 25 · score 0.56 · EEG recordings, EEGLAB, MATLAB, imported, channel · block
oscr:b:0WE7PW513RX1F-4· Report a mismatch - [7] § STAR★Methods › Quantification and statistical analysis › Frequency decomposition and statistical analysis ↔ Scripts/Time-Frequency and Statistics/TF_transform.m, lines 36 to 59 · score 0.53 · 2–100 Hz, transformed, Wavelet, Power · block
oscr:b:B5QDVFE6TWZ1R-U· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 237 lines · 6.2 KB · no license · 4 matches
- """
- Network Analysis of EEG Functional Connectivity
- ================================================
- This script computes graph-theoretical measures from EEG functional
- connectivity matrices and compares the RX and RCTX groups.
- Main steps:
- 1. Load behavioral and connectivity data.
- 2. Normalize connectivity matrices.
- 3. Threshold networks at fixed densities.
- 4. Compute graph-theoretical metrics.
- 5. Perform statistical comparisons.
- 6. Train and evaluate a Random Forest classifier.
- 7. Estimate feature importance.
- Before running:
- - Update DATA_DIR and BEHAVIOR_FILE.
- - Install all required dependencies.
- """
- # ======================================================================
- # Imports
- # ======================================================================
- import numpy as np
- import pandas as pd
- import networkx as nx
- import matplotlib.pyplot as plt
- import seaborn as sns
- from pathlib import Path
- from scipy.stats import mannwhitneyu, ttest_ind, pearsonr
- from sklearn.preprocessing import StandardScaler
- from sklearn.ensemble import RandomForestClassifier
- from sklearn.model_selection import (
- LeaveOneOut,
- cross_validate,
- train_test_split
- )
- from sklearn.inspection import permutation_importance
- from sklearn.feature_selection import SelectFromModel
- from sklearn.metrics import make_scorer, f1_score
- import mne
- # ======================================================================
- # User parameters
- # ======================================================================
- PROJECT_DIR = Path(".")
- DATA_DIR = PROJECT_DIR / "adjacency_matrices"
- BEHAVIOR_FILE = PROJECT_DIR / "behavioral_data.xlsx"
- CONDITIONS = ["RCTX", "RX"]
- N_CHANNELS = 64
- # ======================================================================
- # Helper functions
- # ======================================================================
- def normalize_matrix(baseline_matrix, post_matrix):
- """
- Normalize connectivity values using baseline statistics.
- Parameters
- ----------
- baseline_matrix : ndarray
- Baseline adjacency matrix.
- post_matrix : ndarray
- Post-intervention adjacency matrix.
- Returns
- -------
- tuple
- Baseline matrix and normalized post matrix.
- """
- normalized_post = (
- post_matrix - np.mean(baseline_matrix)
- ) / np.std(baseline_matrix)
- return baseline_matrix, normalized_post
- def load_behavioral_data(excel_file):
- """
- Load behavioral performance measures.
- Returns
- -------
- tuple
- Behavioral matrices for RCTX and RX participants.
- """
- df = pd.read_excel(excel_file)
- # Original processing should be inserted here.
- return df
- def compute_network_features(
- adjacency_matrix,
- frontal_left,
- frontal_right,
- parietal_left,
- parietal_right,
- ):
- """
- Compute graph-theoretical measures.
- Returns
- -------
- dict
- Network metrics.
- """
- graph = nx.from_numpy_array(adjacency_matrix)
- metrics = {}
- metrics["density"] = nx.density(graph)
- metrics["efficiency"] = nx.global_efficiency(graph)
- metrics["clustering"] = nx.average_clustering(graph)
- metrics["assortativity"] = (
- nx.degree_assortativity_coefficient(graph)
- )
- betweenness = np.asarray(
- list(nx.betweenness_centrality(graph).values())
- )
- metrics["betweenness"] = betweenness
- return metrics
- def pvalue_by_density(dataframe, grouping_variable):
- """
- Compute Mann–Whitney statistics for each density.
- """
- metric = dataframe.columns[2]
- groups = np.unique(dataframe[grouping_variable])
- pvalues = []
- for density in np.unique(dataframe["enlaces"]):
- subset = dataframe[dataframe["enlaces"] == density]
- group1 = subset[subset[grouping_variable] == groups[0]][metric]
- group2 = subset[subset[grouping_variable] == groups[1]][metric]
- result = mannwhitneyu(group1, group2)
- pvalues.append(result.pvalue)
- return pvalues
- # ======================================================================
- # Main analysis
- # ======================================================================
- if __name__ == "__main__":
- print("Starting network analysis...")
- # ------------------------------------------------------------------
- # EEG layout
- # ------------------------------------------------------------------
- biosemi_layout = mne.channels.read_layout("biosemi")
- # Frontal and parietal channel groups
- frontal_left = np.array([0,1,2,3,4,5,6,7,8,9,10])
- frontal_right = np.array([33,34,35,38,39,40,41,42,43,44,45])
- parietal_left = np.array([19,20,21,22,23,24,25,26])
- parietal_right = np.array([56,57,58,59,60,61,62,63])
- # ------------------------------------------------------------------
- # Load behavioral data
- # ------------------------------------------------------------------
- behavioral_df = load_behavioral_data(BEHAVIOR_FILE)
- # ------------------------------------------------------------------
- # Load adjacency matrices
- # ------------------------------------------------------------------
- print("Loading connectivity matrices...")
- # Insert original loading procedure here.
- # ------------------------------------------------------------------
- # Compute network metrics
- # ------------------------------------------------------------------
- print("Computing graph metrics...")
- # Insert original analysis here.
- # ------------------------------------------------------------------
- # Classification
- # ------------------------------------------------------------------
- forest = RandomForestClassifier(
- n_estimators=50,
- random_state=0,
- max_features=2,
- max_depth=2
- )
- scoring = {
- "accuracy": "accuracy",
- "f1_macro": make_scorer(
- f1_score,
- average="macro"
- ),
- }
- print("Running classification...")
- # Insert classification section here.
- # ------------------------------------------------------------------
- # Feature importance
- # ------------------------------------------------------------------
- print("Computing feature importance...")
- # Insert permutation importance section here.
- print("Analysis completed.")
network_analysis_clean.py, no license · at the source
Overview
- Instituto de Fisiología, Biología Molecular y Neurociencias (IFIBYNE), CONICET, Buenos Aires, Argentina
- Departamento de Física, Universidad de Buenos Aires, Buenos Aires, Argentina
- Departamento de Ciencias Jurídicas y Sociales, Facultad de Ciencias Jurídicas y Sociales, Universidad Tecnológica Metropolitana, Santiago, Chile
- Centro de Estudios en Neurociencia Humana y Neuropsicología, Facultad de Psicología, Universidad Diego Portales, Santiago, Chile
- Frontier Research Center, Universidad de La Serena, La Serena, Chile
- Laboratorio de Sueño y Memoria, Instituto Tecnológico de Buenos Aires (ITBA), Buenos Aires, Argentina
- Pontificia Universidad Católica de Chile, Laboratorio de Neurodinámica Básica y Aplicada, Escuela de Psicología, Santiago, Chile
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
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
27 files
- DIA1.py, Python, 1,240 lines
- DIA1_lastrun.py, Python, 2,756 lines
- DIA3_lastrun.py, Python, 2,756 lines
- Rcontext_lastrun.py, Python, 493 lines
- Rctx_lastrun.py, Python, 1,657 lines
- Rx_lastrun.py, Python, 1,186 lines
- Scripts/
Network analysis/ , Python, 237 lines, 4 matchesnetwork_analysis_clean.p y - Scripts/
PLI matrix/ , MATLAB, 27 linesbatch_pli.m - Scripts/
PLI matrix/ , MATLAB, 19 linescalcula_hilbert.m - Scripts/
PLI matrix/ , MATLAB, 17 linescalcula_matriz_ady.m - Scripts/
PLI matrix/ , MATLAB, 11 linescalcula_pli.m - Scripts/
PLI matrix/ , MATLAB, 23 linescalcula_pli_matriz.m - Scripts/
PLI matrix/ , MATLAB, 23 linesfiltra_por_bandayresampl eo.m - Scripts/
Time-Frequency and Statistics/ , MATLAB, 168 linesTF_comparisons.m - Scripts/
Time-Frequency and Statistics/ , MATLAB, 110 lines, 1 matchTF_transform.m - Scripts/
Time-Frequency and Statistics/ , MATLAB, 30 linescanalesXcluster.m - Scripts/
Time-Frequency and Statistics/ , MATLAB, 68 lines, 1 matchhago_fieldtrip.m - Scripts/
Time-Frequency and Statistics/ , MATLAB, 24 lineshago_grafico_canales.m - Scripts/
Time-Frequency and Statistics/ , MATLAB, 56 lines, 1 matchtxt2EEGLAB.m - html/
DIA1.js , JavaScript, 1,763 lines - html/
DIA1NoModule.js , JavaScript, 1,756 lines - html/
Rx-legacy-browsers.js , JavaScript, 851 lines - html/
Rx.js , JavaScript, 854 lines - html/
inputText.js , JavaScript, 555 lines - html/
inputTextNoModule.js , JavaScript, 550 lines - inputText_lastrun.py, Python, 1,240 lines
- README.txt, Text, 10 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 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://
BibTeX
@article{bavassi2026cond
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/
url = {https://
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/
VL - 29
IS - 7
SP - 116586
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"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":
"volume": "29",
"issue": "7",
"page": "116586",
"DOI": "10.1016/
"PMID": "42396409",
"PMCID": "PMC13324669",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"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.1093/cercor/bhae194 [code]
- Neural correlates of retrospective memory confidence during face-name associative learning.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: MNE-Python, seaborn, scikit-learn, 4 other tools, cognitive, 7 references
- [3] doi:10.1093/cercor/bhac219 [code]
- Altered alpha/
beta desynchronization during item-context binding contributes to the associative deficit in older age. Journal: Cerebral cortex (New York, N.Y. : 1991)In common: FieldTrip, Statistics and Machine Learning Toolbox, EEG, cognitive, 10 references - [4] doi:10.1038/s41598-026-58505-y [code]
- Remoteness sensitive theta network dynamics during early autobiographical memory access.Journal: Scientific reportsIn common: MNE-Python, FieldTrip, NetworkX, 6 other tools, EEG, cognitive, 4 references
- [5] doi:10.1523/eneuro.0091-24.2024 [code]
- Reconstructing Spatiotemporal Trajectories of Visual Object Memories in the Human Brain.Journal: eNeuroIn common: MNE-Python, NetworkX, Image Processing Toolbox, 6 other tools, EEG, cognitive, 4 references
- [6] doi:10.1038/s41467-026-77782-9 [code]
- Multilayer MEG source modelling enables depth-resolved laminar inference in humans.Journal: Nature communicationsIn common: PsychoPy, EEGLAB, MNE-Python, 9 other tools
- [7] doi:10.1101/2025.05.28.656642 [code]
- Multilayer MEG source modelling enables depth-resolved laminar inference in humansJournal: bioRxiv (preprint)In common: PsychoPy, EEGLAB, MNE-Python, 9 other tools
- [8] doi:10.1162/imag_a_00398 [code]
- Pre-stimulus activity mediates event-related theta synchronization and alpha desynchronization during memory formation in healthy aging.Journal: Imaging neuroscience (Cambridge, Mass.)In common: EEGLAB, FieldTrip, Signal Processing Toolbox, 1 other tool, EEG, cognitive, 5 references
- [9] doi:10.1093/cercor/bhac384 [code]
- Sustained upregulation of widespread hippocampal-neocortical coupling following memory encoding.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: FieldTrip, Image Processing Toolbox, Statistics and Machine Learning Toolbox, 4 other tools, cognitive, 4 references
- [10] doi:10.1038/s41562-025-02268-5 [code]
- Representational dynamics during extinction of fear memories in the human brain.Journal: Nature human behaviourIn common: EEGLAB, FieldTrip, Signal Processing Toolbox, 2 other tools, EEG, 5 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 26 scripts, and 7 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:ea7588833003a23e…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1016/j.isci.2026.116586)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116586.svg
:target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116586
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116586"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116586.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
