Condition-specific neural signatures of reactivation during post-retrieval rest: An EEG study.
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] § 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] § 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] § 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] § 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] § 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] § 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] § 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
- """
- 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.1038/s41598-026-58505-y [code]
- Remoteness sensitive theta network dynamics during early autobiographical memory access.Journal: Scientific reportsIn 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: eLifeIn 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 neuroscienceIn 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 biologyIn 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 dataIn 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: NeuronIn 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: eLifeIn 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 biologyIn 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.
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:559545c50b3147ac…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
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.
