OSCR

Learning induces activation-mechanism-dependent neural plasticity in an intracortical microstimulation task.

Code ↔ Paper

28 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 28 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] § MATERIALS AND METHODS › Spike sorting during stimulation ↔ processing/preprocessing/icms_pipeline.py, lines 18–127 · score 0.87 · bandpass filter, Cubic interpolation, preprocessing pipeline, polynomial, subtract, Hz
  2. [2] § MATERIALS AND METHODS › Unit tracking via electrophysiological recording ↔ processing/batch_process/postprocessing/run_unitmatch.py, lines 175–281 · score 0.81 · naive Bayes, UnitMatch, connected component, concatenated, cross, position
  3. [3] § MATERIALS AND METHODS › Population coupling ↔ processing/pop_coupling/pop_coupling_control.py, lines 43–114 · score 0.77 · zero lag, Population coupling, population rate, Gaussian, shuffle, stPR
  4. [4] § RESULTS › Longitudinal tracking of individual neurons reveals learning-sensitive subpopulations ↔ matlab/fig3/fig3_stats.m, lines 115–158 · score 0.76 · Kruskal Wallis, Tukey Kramer post, recruited neurons, spike onset, Fmax, hoc
  5. [5] § MATERIALS AND METHODS › Population coupling ↔ processing/pop_coupling/pop_coupling_v2.py, lines 73–149 · score 0.73 · zero lag, population rate, circular, Gaussian, shuffle, stPR
  6. [6] § MATERIALS AND METHODS › Unit tracking via electrophysiological recording ↔ python/fig_s8/generate_figure.py, lines 269–374 · score 0.71 · tracked pairs, matching unit, waveform distance, nearby, ratio, cross
  7. [7] § RESULTS › Longitudinal tracking of individual neurons reveals learning-sensitive subpopulations ↔ matlab/fig3/fig3_stats.m, lines 115–158 · score 0.69 · Kruskal Wallis, Tukey Kramer post, recruited neurons, spike onset, Fmax, hoc
  8. [8] § RESULTS › Differential behavioral correlates of PL and NPL neurons ↔ python/fig6/hit_miss_histograms.py, lines 51–162 · score 0.69 · KL divergence, hit miss, FDR BH, pulse locking, NPL, correlates
  9. [9] § MATERIALS AND METHODS › Detection and quantification of ICMS-evoked Ca2+ activation ↔ processing/imaging/volumetric/NeuroAnalysis_BehavioralParametricSweepBlockExtractTest.m, lines 911–951 · score 0.66 · ImageJ, iterative thresholding, FIJI, variance, MATLAB, segmented
  10. [10] § RESULTS › Millisecond pulse-locking dynamics differentiate learning-induced plasticity ↔ processing/imaging/movement_control/export_recruited_traces.m, lines 1–127 · score 0.64 · Wheel movement, activation threshold, tracked neurons, recruitment, frames, PL
  11. [11] § RESULTS › Differential behavioral correlates of PL and NPL neurons ↔ python/fig6/hit_miss_histograms.py, lines 51–162 · score 0.62 · KL divergence, Hit Miss, FDR BH, IQR, NPL, correlates
  12. [12] § RESULTS › Differential behavioral correlates of PL and NPL neurons ↔ python/fig6/stats_table.py, lines 48–111 · score 0.62 · KL divergence, FDR BH, pulse locking, Mann Whitney, NPL, correlates
  13. [13] § RESULTS › Millisecond pulse-locking dynamics differentiate learning-induced plasticity ↔ python/fig5/generate_figure5.py, lines 97–153 · score 0.61 · Pyramidal cells, pulse locking, PL units, Fisher, interneurons, NPL
  14. [14] § MATERIALS AND METHODS › Quantifying neuromodulation metrics via electrophysiology ↔ processing/batch_process/postprocessing/responses_v2/pulse_locked_response_metrics.py, lines 138–193 · score 0.59 · pulse locked, spike probability, PLIs, Blanking, binned, metrics
  15. [15] § RESULTS › Differential behavioral correlates of PL and NPL neurons ↔ processing/pop_coupling/pop_coupling_control.py, lines 43–114 · score 0.58 · spike triggered population, population coupling, stPR, window, neuron
  16. [16] § RESULTS › Millisecond pulse-locking dynamics differentiate learning-induced plasticity ↔ python/fig5/generate_figure5.py, lines 97–153 · score 0.58 · pyramidal cell, pulse locked, PL unit, Fisher, NS, Filled
  17. [17] § RESULTS › Differential behavioral correlates of PL and NPL neurons ↔ processing/pop_coupling/pop_coupling_v2.py, lines 20–70 · score 0.57 · stPR, population coupling, population rate, window, neuron, spike
  18. [18] § MATERIALS AND METHODS › Analysis of behavioral data ↔ python/fig_s1/generate_figure.py, lines 202–249 · score 0.56 · psychometric curves, stimulation amplitude, block, python, thresholds, channel
  19. [19] § RESULTS › Millisecond pulse-locking dynamics differentiate learning-induced plasticity ↔ processing/batch_process/postprocessing/responses_v2/pulse_locked_response_metrics.py, lines 138–193 · score 0.56 · phase locking, pulse locked, spike probability, ms
  20. [20] § RESULTS › Millisecond pulse-locking dynamics differentiate learning-induced plasticity ↔ processing/imaging/movement_control/export_subset_traces.m, the whole file · a weak match · score 0.55 · Wheel movement, increasing subset, frames, recruitment, tracked, amplitude
  21. [21] § RESULTS › Millisecond pulse-locking dynamics differentiate learning-induced plasticity ↔ python/fig_s4/generate_figure.py, lines 45–155 · score 0.54 · Latency jitter, pulse locking, monotonically, fits, segment, distance
  22. [22] § MATERIALS AND METHODS › Spike sorting during stimulation ↔ processing/control/stage1_sort.py, lines 48–94 · score 0.53 · SpikeInterface, spike sorted, Mountainsort5, curation, preprocessed
  23. [23] § RESULTS › Differential behavioral correlates of PL and NPL neurons ↔ python/fig6/stats_table.py, lines 48–111 · score 0.52 · KL divergence, FDR BH, Mann Whitney, NPL, correlates, median
  24. [24] § MATERIALS AND METHODS › Spike sorting during stimulation ↔ processing/preprocessing/custom_preprocessors.py, lines 142–212 · score 0.52 · custom preprocessing, polynomial, subtract, artifacts, blanked, fits
  25. [25] § MATERIALS AND METHODS › Spike sorting during stimulation ↔ processing/control/stage2_curate.py, lines 355–404 · score 0.52 · waveform curation, spike sorted, accuracy, preprocessed
  26. [26] § RESULTS › Millisecond pulse-locking dynamics differentiate learning-induced plasticity ↔ python/fig_s8/generate_figure.py, lines 530–580 · score 0.51 · Waveform distances, tracked unit, S8, position, modulation, animals
  27. [27] § RESULTS › Longitudinal tracking of individual neurons reveals learning-sensitive subpopulations ↔ matlab/fig3/fig3jlmn_subset_analysis.m, lines 179–239 · score 0.51 · Kruskal Wallis, spike onset, Fmax, 2–4, recruited, Figure 3
  28. [28] § RESULTS › Millisecond pulse-locking dynamics differentiate learning-induced plasticity ↔ python/fig4/probe_diagram.py, lines 25–102 · score 0.50 · probe diagram, contact sites, firing rate, circles, Filled, bars

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 · 335 lines · 12 KB · no license · 2 matches

  1. """
  2. Population coupling analysis for control animals.
  3. Adapted from pop_coupling_v2.py for experimental animals.
  4. Computes STPR (spike-triggered population rate) and shuffle-normalized
  5. population coupling (pc_norm) — matching the experimental pipeline output.
  6. Uses session_responses.pkl for PL/NPL classification and
  7. condensed_trials.csv for trial windows (to segment spikes).
  8. Output: pop_coupling/{animal}_pop_coupling_control.pkl
  9. """
  10. import sys
  11. import os
  12. import ast
  13. import traceback
  14. from pathlib import Path
  15. from collections import OrderedDict
  16. # Project root for imports (needed to unpickle session_responses.pkl)
  17. PROJECT_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  18. if PROJECT_ROOT not in sys.path:
  19. sys.path.insert(0, PROJECT_ROOT)
  20. import dill as pickle
  21. import numpy as np
  22. import pandas as pd
  23. from scipy.ndimage import gaussian_filter1d
  24. # ─── Config ───────────────────────────────────────────────────────────
  25. CONTROL_ROOT = Path("E:/ICMS plasticity control")
  26. ANIMAL_IDS = ["ICMS43", "ICMS45", "ICMS48", "ICMS54", "ICMS56"]
  27. FS = 30000.0
  28. OUT_DIR = Path("pop_coupling")
  29. MIN_SPIKES = 50 # minimum spikes for valid STPR
  30. # ─── STPR + PC computation (from pop_coupling_v2.py) ─────────────────
  31. def compute_stpr_and_pc(pop_raster, neuron_id, bin_size=0.001, win=0.10,
  32. gauss_sigma=0.01, n_shuffles=200, rng=None):
  33. """
  34. Spike-triggered population rate and population coupling.
  35. Returns: lags (s), stpr (array), pc (float), n_spikes_used (int), pc_norm (float or None)
  36. pc_norm is pc normalized by median(|pc_shuffled|) if n_shuffles>0.
  37. """
  38. T = max((spikes.max() if len(spikes) else 0.0)
  39. for spikes in pop_raster.values())
  40. if T <= 0:
  41. return None, None, np.nan, 0, None
  42. edges = np.arange(0.0, T + bin_size, bin_size)
  43. nbins = edges.size - 1
  44. # Population rate (exclude target neuron)
  45. pop_counts = np.zeros(nbins, dtype=float)
  46. for j, spikes in pop_raster.items():
  47. if j == neuron_id or len(spikes) == 0:
  48. continue
  49. pop_counts += np.histogram(spikes, bins=edges)[0]
  50. pop_rate = pop_counts / bin_size
  51. sigma_bins = max(1e-9, gauss_sigma / bin_size)
  52. pop_rate_smooth = gaussian_filter1d(pop_rate, sigma=sigma_bins, mode='nearest')
  53. # Mean-center
  54. pop_mc = pop_rate_smooth - np.mean(pop_rate_smooth)
  55. # Spike-triggered average around neuron i's spikes
  56. spikes_i = np.asarray(pop_raster.get(neuron_id, []), float)
  57. win_bins = int(round(win / bin_size))
  58. lags = np.arange(-win_bins, win_bins + 1) * bin_size
  59. if spikes_i.size == 0:
  60. return lags, np.full(lags.size, np.nan), np.nan, 0, None
  61. spike_bins = np.floor(spikes_i / bin_size).astype(int)
  62. windows = []
  63. for sb in spike_bins:
  64. a, b = sb - win_bins, sb + win_bins
  65. if a < 0 or b >= nbins:
  66. continue
  67. windows.append(pop_mc[a:b + 1])
  68. if len(windows) == 0:
  69. return lags, np.full(lags.size, np.nan), np.nan, 0, None
  70. stpr = np.vstack(windows).mean(axis=0)
  71. pc = float(stpr[win_bins]) # value at zero lag
  72. n_used = len(windows)
  73. # Shuffle normalization
  74. pc_norm = None
  75. if n_shuffles and n_used > 0:
  76. if rng is None:
  77. rng = np.random.default_rng()
  78. shuf_vals = []
  79. for _ in range(int(n_shuffles)):
  80. shift = rng.integers(low=win_bins + 1, high=nbins - win_bins - 1)
  81. pop_mc_sh = np.roll(pop_mc, shift)
  82. vals = [pop_mc_sh[sb - win_bins: sb + win_bins + 1][win_bins]
  83. for sb in spike_bins
  84. if (sb - win_bins) >= 0 and (sb + win_bins) < nbins]
  85. if len(vals):
  86. shuf_vals.append(np.mean(vals))
  87. if len(shuf_vals):
  88. den = np.median(np.abs(shuf_vals))
  89. pc_norm = np.nan if den <= 1e-12 else float(pc / den)
  90. return lags, stpr, pc, n_used, pc_norm
  91. # ─── Helper: concatenate spike segments rebased ──────────────────────
  92. def concat_segments_rebased(spike_train, segments):
  93. """Concatenate spikes from segments, rebasing each to start at 0."""
  94. out = []
  95. offset = 0.0
  96. for a, b in segments:
  97. seg = spike_train[(spike_train >= a) & (spike_train < b)]
  98. if seg.size:
  99. out.append((seg - a) + offset)
  100. offset += (b - a)
  101. return np.concatenate(out) if out else np.array([], dtype=float)
  102. # ─── Control-specific helpers ─────────────────────────────────────────
  103. def discover_sessions(animal_dir):
  104. """Find spike_sorting dirs with session_responses.pkl + condensed_trials.csv."""
  105. sessions = []
  106. for spike_dir in sorted(animal_dir.rglob("spike_sorting")):
  107. sr_path = spike_dir / "session_responses.pkl"
  108. csv_path = spike_dir / "condensed_trials.csv"
  109. analyzer_path = spike_dir / "analyzer_final.zarr"
  110. if sr_path.exists() and csv_path.exists() and analyzer_path.exists():
  111. sessions.append(spike_dir)
  112. return sessions
  113. def get_session_date(spike_sorting_dir):
  114. """Extract session date string from path."""
  115. exp_dir = spike_sorting_dir.parent
  116. return exp_dir.parent.name
  117. def parse_stim_timestamps(ts_str):
  118. """Parse stim_timestamps string from CSV."""
  119. if isinstance(ts_str, str):
  120. try:
  121. return ast.literal_eval(ts_str)
  122. except (ValueError, SyntaxError):
  123. return []
  124. if isinstance(ts_str, (list, np.ndarray)):
  125. return list(ts_str)
  126. return []
  127. def get_trial_windows_per_condition(csv_path):
  128. """
  129. Build trial windows from condensed_trials.csv.
  130. Returns: dict[(current, channel)] -> list of (start_s, end_s) tuples
  131. """
  132. df = pd.read_csv(csv_path)
  133. condition_windows = {}
  134. for (cur, ch), sub_df in df.groupby(['current_uA', 'channel']):
  135. segments = []
  136. for _, row in sub_df.iterrows():
  137. ts = parse_stim_timestamps(row['stim_timestamps'])
  138. if not ts or len(ts) == 0:
  139. continue
  140. segments.append((ts[0], ts[-1]))
  141. if segments:
  142. condition_windows[(int(cur), int(ch))] = segments
  143. return condition_windows
  144. def get_pl_npl_unit_ids(session_responses, channel, current):
  145. """Get PL and NPL unit IDs for a given (channel, current)."""
  146. pl_ids = []
  147. npl_ids = []
  148. for uid, ur in session_responses.unit_responses.items():
  149. key = (channel, current)
  150. if key not in ur.stim_responses:
  151. continue
  152. scr = ur.stim_responses[key]
  153. if scr.pulse_response.is_pulse_locked:
  154. pl_ids.append(int(uid))
  155. else:
  156. npl_ids.append(int(uid))
  157. return pl_ids, npl_ids
  158. def get_pop_coupling_session(spike_sorting_dir):
  159. """
  160. Compute STPR-based population coupling for PL vs NPL units.
  161. Matches experimental pop_coupling_v2.py output format:
  162. condition_results[(cur, ch)] = {
  163. "pl_stpr_dict": {unit_id: stpr_array},
  164. "pl_pc_dict": {unit_id: pc_hz},
  165. "pl_pc_norm_dict": {unit_id: pc_normalized},
  166. "npl_stpr_dict": {unit_id: stpr_array},
  167. "npl_pc_dict": {unit_id: pc_hz},
  168. "npl_pc_norm_dict": {unit_id: pc_normalized},
  169. }
  170. """
  171. from spikeinterface import full as si
  172. # Load session responses for PL/NPL labels
  173. sr_path = spike_sorting_dir / "session_responses.pkl"
  174. with open(sr_path, 'rb') as f:
  175. session_responses = pickle.load(f)
  176. # Load spike trains from analyzer
  177. analyzer_path = spike_sorting_dir / "analyzer_final.zarr"
  178. analyzer = si.load_sorting_analyzer(str(analyzer_path))
  179. unit_spike_train_dict = {
  180. int(uid): analyzer.sorting.get_unit_spike_train(uid)
  181. for uid in analyzer.unit_ids
  182. }
  183. # Get trial windows per condition from CSV
  184. csv_path = spike_sorting_dir / "condensed_trials.csv"
  185. condition_windows = get_trial_windows_per_condition(csv_path)
  186. condition_results = {}
  187. for (cur, ch), segments in condition_windows.items():
  188. if len(segments) < 3:
  189. continue
  190. # Get PL/NPL unit IDs for this condition
  191. pl_unit_ids, npl_unit_ids = get_pl_npl_unit_ids(session_responses, ch, cur)
  192. mod_ids = sorted(set(pl_unit_ids + npl_unit_ids))
  193. if len(mod_ids) < 2:
  194. continue
  195. # Build pop_raster: concatenate stim segments rebased
  196. segments_s = [(float(a), float(b)) for a, b in segments]
  197. pop_raster = {}
  198. for uid in mod_ids:
  199. if uid not in unit_spike_train_dict:
  200. continue
  201. st = np.asarray(unit_spike_train_dict[uid]).astype(float) / FS
  202. pop_raster[uid] = concat_segments_rebased(st, segments_s)
  203. if len(pop_raster) < 2:
  204. continue
  205. pl_stpr_dict, pl_pc_dict, pl_pc_norm_dict = {}, {}, {}
  206. npl_stpr_dict, npl_pc_dict, npl_pc_norm_dict = {}, {}, {}
  207. rng = np.random.default_rng(0)
  208. for uid in pop_raster:
  209. lags, stpr, pc, n_used, pc_norm = compute_stpr_and_pc(
  210. pop_raster, uid, win=0.1, n_shuffles=200, rng=rng
  211. )
  212. if n_used < MIN_SPIKES:
  213. stpr = None
  214. pc = np.nan
  215. pc_norm = np.nan
  216. if uid in pl_unit_ids:
  217. pl_stpr_dict[uid] = stpr
  218. pl_pc_dict[uid] = pc
  219. pl_pc_norm_dict[uid] = pc_norm
  220. elif uid in npl_unit_ids:
  221. npl_stpr_dict[uid] = stpr
  222. npl_pc_dict[uid] = pc
  223. npl_pc_norm_dict[uid] = pc_norm
  224. condition_results[(cur, ch)] = {
  225. "pl_stpr_dict": pl_stpr_dict,
  226. "pl_pc_dict": pl_pc_dict,
  227. "pl_pc_norm_dict": pl_pc_norm_dict,
  228. "npl_stpr_dict": npl_stpr_dict,
  229. "npl_pc_dict": npl_pc_dict,
  230. "npl_pc_norm_dict": npl_pc_norm_dict,
  231. }
  232. return condition_results
  233. # ─── Main ─────────────────────────────────────────────────────────────
  234. if __name__ == "__main__":
  235. OUT_DIR.mkdir(exist_ok=True)
  236. for animal_id in ANIMAL_IDS:
  237. print(f"\nProcessing {animal_id}...")
  238. animal_dir = CONTROL_ROOT / animal_id
  239. sessions = discover_sessions(animal_dir)
  240. if not sessions:
  241. print(f" No sessions found")
  242. continue
  243. session_dict = OrderedDict()
  244. for spike_dir in sessions:
  245. session_date = get_session_date(spike_dir)
  246. print(f" {session_date}...", end=" ", flush=True)
  247. try:
  248. condition_results = get_pop_coupling_session(spike_dir)
  249. session_dict[session_date] = condition_results
  250. n_conds = len(condition_results)
  251. n_pl = sum(
  252. len(v["pl_pc_dict"]) for v in condition_results.values()
  253. )
  254. n_npl = sum(
  255. len(v["npl_pc_dict"]) for v in condition_results.values()
  256. )
  257. print(f"{n_conds} conditions, {n_pl} PL, {n_npl} NPL responses")
  258. except Exception as e:
  259. print(f"[WARN] {e}")
  260. traceback.print_exc()
  261. out_pkl = OUT_DIR / f"{animal_id}_pop_coupling_control.pkl"
  262. with open(out_pkl, "wb") as f:
  263. pickle.dump(session_dict, f)
  264. print(f" -> Saved {out_pkl}")

pop_coupling_control.py at commit d1922d1, no license · at the source

Overview

Authors: Robin Kim1,2, Roy Lycke1,2, Pavlo Zolotavin1,2, Jon Montes2,3, Chong Xie1,2, Lan Luan1,2
  1. Department of Electrical and Computer Engineering, Rice University, Houston, TX 77005 USA
  2. Rice Neuroengineering Initiative, Rice University, Houston, TX 77005 USA
  3. Department of Bioengineering, Rice University, Houston, TX 77005 USA
Institutions: Rice University (United States)
Journal: Science advances, volume 12, issue 36, article eaef0343
Dates: received 26 December 2025; accepted 20 July 2026; published online 4 September 2026; in print September 2026
Type: Research article · Language: English
License: CC BY-NC
Identifiers: DOI 10.1126/sciadv.aef0343 · PMID 42696589 · PMCID PMC13544205 · OpenAlex W7208724621
Open access: gold, a free copy (OpenAlex)
Status: code verified
Methods: Spectral & time-frequency, Connectivity, Statistics, Smoothing, state filtering, decompositions, Preprocessing, Machine learning, fMRI & imaging, Single-unit activity, calcium imaging
MeSH: Learning*, Neuronal Plasticity*, Neurons*, Animals, Electric Stimulation, Male (* major topic)
Journal subjects: Neuroscience, Engineering
Topic: Neuroscience and Neural Engineering (Cellular and Molecular Neuroscience, Neuroscience), according to OpenAlex
Funding: U.S. Department of Health & Human Services | NIH | National Eye Institute (NEI) (R01EY036094); NINDS (U01NS115588, U01NS131086, R01NS102917)
Citations: not cited yet (Europe PMC); 72 references in the paper

Abstract

Electrical microstimulation provides high-resolution control of neural circuits for causal studies and restoration of impaired functions, yet how responses to artificial activation evolve with learning remains unclear. Here, we deploy a detection task and pair ultraflexible electrodes for stable intracortical microstimulation (ICMS) with longitudinal imaging and recordings to track single-cell and population responses across weeks of learning. Detection thresholds decreased with learning, indicating plasticity. Chronic imaging showed that stimulus-evoked recruitment expanded at a fixed current, while a consistent number of neurons continued to underlie behavioral responses. A subset of learning-sensitive cells enhanced modulation and reduced latency. Electrophysiological recordings further distinguished two forms of adaptation: Directly activated, pulse-locked neurons strengthened their excitability, whereas polysynaptically recruited neurons expanded in number and were predictive of behavioral outcomes. These results show that learning in an ICMS task reshapes cortical circuits through activation-mechanism–dependent plasticity, underscoring the need for stimulation paradigms that adapt to both cell-intrinsic and network dynamics.

Reproduced under the paper's license (CC BY-NC), from the paper cited above.

Repositories

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

XieLuanLab/icms-activation-plasticity

License: none: the authors keep all their rights
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: d1922d16913b50bf6338ff4e0c2953cb8ef43d15, 15 July 2026
Languages: Python (96), MATLAB (34)
Size: 135 files, 130 scripts
Software Heritage: not archived
Found in: “Data, code, and materials availability:”
Holds: README, environment (requirements.txt, processing/requirements.txt)
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (73 files), Matplotlib (53 files), pandas (39 files), SpikeInterface (32 files), SciPy (31 files), seaborn (21 files), Statistics and Machine Learning Toolbox (19 files), statsmodels (9 files), Image Processing Toolbox (7 files), scikit-learn (4 files), Signal Processing Toolbox (2 files), UMAP (2 files), Neo (1 file), Pillow (1 file), psignifit (1 file), XGBoost (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
131 files

Zenodo 21384216

License: CC-BY-4.0
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Data, code, and materials availability:”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (73 files), Matplotlib (53 files), pandas (39 files), SpikeInterface (32 files), SciPy (31 files), seaborn (21 files), Statistics and Machine Learning Toolbox (19 files), statsmodels (9 files), Image Processing Toolbox (7 files), scikit-learn (4 files), Signal Processing Toolbox (2 files), UMAP (2 files), Neo (1 file), Pillow (1 file), psignifit (1 file), XGBoost (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers (HTTP 200)
  • 26 September 2026: the link answers (HTTP 200)
131 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:

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

Datasets cited

Data, code, and materials availability

All data and code needed to evaluate and reproduce the results in the paper are present in the paper and/or the Supplementary Materials. Processed electrophysiology, behavioral, and 2P imaging data are available from the DANDI Archive at https://dandiarchive.org/dandiset/001868/0.260715.2016 (DOI: 10.48324/dandi.001868/0.260715.2016 (http://dx.doi.org/10.48324/dandi.001868/0.260715.2016)). Figure source data used to regenerate the figures are available from Zenodo at https://zenodo.org/records/21382755 (DOI: 10.5281/zenodo.21382755 (http://dx.doi.org/10.5281/zenodo.21382755)). Custom code for analysis and figure reproduction is available on GitHub at https://github.com/XieLuanLab/icms-activation-plasticity and archived on Zenodo at https://zenodo.org/records/21384216 (DOI: 10.5281/zenodo.21384216 (http://dx.doi.org/10.5281/zenodo.21384216)). This study did not generate new materials.

Reproduced under the paper's license (CC BY-NC), from the paper cited above.

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 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 6 MeSH terms, 2 funders, 69 references.

Cite

This paper

Kim, R., Lycke, R., Zolotavin, P., Montes, J., Xie, C., & Luan, L. (2026). Learning induces activation-mechanism-dependent neural plasticity in an intracortical microstimulation task. Science advances, 12(36), eaef0343. https://doi.org/10.1126/sciadv.aef0343

BibTeX

@article{kim2026learning,
author = {Kim, Robin and Lycke, Roy and Zolotavin, Pavlo and Montes, Jon and Xie, Chong and Luan, Lan},
title = {{Learning induces activation-mechanism-dependent neural plasticity in an intracortical microstimulation task}},
journal = {Science advances},
year = {2026},
month = sep,
volume = {12},
number = {36},
pages = {eaef0343},
publisher = {American Association for the Advancement of Science},
issn = {2375-2548},
doi = {10.1126/sciadv.aef0343},
url = {https://doi.org/10.1126/sciadv.aef0343},
pmid = {42696589},
pmcid = {PMC13544205}
}

RIS

TY - JOUR
AU - Kim, Robin
AU - Lycke, Roy
AU - Zolotavin, Pavlo
AU - Montes, Jon
AU - Xie, Chong
AU - Luan, Lan
TI - Learning induces activation-mechanism-dependent neural plasticity in an intracortical microstimulation task
T2 - Science advances
J2 - Sci Adv
PY - 2026
DA - 2026/09/04
VL - 12
IS - 36
SP - eaef0343
SN - 2375-2548
PB - American Association for the Advancement of Science
DO - 10.1126/sciadv.aef0343
UR - https://doi.org/10.1126/sciadv.aef0343
LA - en
ER -

CSL-JSON

{
"id": "10.1126/sciadv.aef0343",
"type": "article-journal",
"title": "Learning induces activation-mechanism-dependent neural plasticity in an intracortical microstimulation task",
"container-title": "Science advances",
"author": [
{
"family": "Kim",
"given": "Robin"
},
{
"family": "Lycke",
"given": "Roy"
},
{
"family": "Zolotavin",
"given": "Pavlo"
},
{
"family": "Montes",
"given": "Jon"
},
{
"family": "Xie",
"given": "Chong"
},
{
"family": "Luan",
"given": "Lan"
}
],
"container-title-short": "Sci Adv",
"volume": "12",
"issue": "36",
"page": "eaef0343",
"DOI": "10.1126/sciadv.aef0343",
"PMID": "42696589",
"PMCID": "PMC13544205",
"ISSN": "2375-2548",
"publisher": "American Association for the Advancement of Science",
"URL": "https://doi.org/10.1126/sciadv.aef0343",
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
4
]
]
}
}

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.1016/j.celrep.2026.117420 [code]
Neural population dynamics of direct electrical stimulation of neocortex.
Journal: Cell reports
In common: Pillow, statsmodels, seaborn, 5 other tools, 14 references
[2] doi:10.1016/j.patter.2026.101590 [code]
Density-based longitudinal neuron tracking in high-density electrophysiological recordings.
Journal: Patterns (New York, N.Y.)
In common: Neo, SpikeInterface, UMAP, 10 other tools, 2 references
[3] doi:10.1038/s41467-026-75347-4 [code]
Sleep reveals dynamics integrating and segregating movement and stimulus representations in V1.
Journal: Nature communications
In common: UMAP, Pillow, Image Processing Toolbox, 7 other tools, 4 references
[4] doi:10.7554/elife.110588 [code]
Opening the black box toward a modular approach to spike sorting.
Journal: eLife
In common: Neo, SpikeInterface, XGBoost, 8 other tools
[5] doi:10.1016/j.isci.2026.115488 [code]
An integrated &lt;i&gt;i&lt;/i&gt; &lt;i&gt;n vitro&lt;/i&gt; platform and biophysical modeling approach for studying synaptic transmission in isolated neuronal pairs.
Journal: iScience
In common: Neo, SpikeInterface, Pillow, 7 other tools, 1 reference
[6] doi:10.1038/s41593-026-02232-0 [code]
Entorhinal cortex represents task-relevant remote locations independently of CA1.
Journal: Nature neuroscience
In common: SpikeInterface, Pillow, Image Processing Toolbox, 9 other tools
[7] doi:10.1038/s42003-026-10957-8 [code]
Brain defence by the extracellular matrix protein Cochlin.
Journal: Communications biology
In common: XGBoost, UMAP, Pillow, 9 other tools
[8] doi:10.1038/s41467-026-76939-w [code]
HIPPIE: a generative model for electrophysiological analysis across species, technologies, and modalities.
Journal: Nature communications
In common: SpikeInterface, UMAP, Pillow, 7 other tools, 1 reference
[9] doi:10.3389/fncom.2026.1876230 [code]
Linking spatially distributed neuronal activation overlap to the limits of perceptual discrimination in rodent primary somatosensory cortex.
Journal: Frontiers in computational neuroscience
In common: Matplotlib, NumPy, 7 references
[10] doi:10.1038/s41467-026-71151-2 [code]
Common and distinct neural correlates of social interaction processing and theory of mind in narratives.
Journal: Nature communications
In common: UMAP, Pillow, Image Processing Toolbox, 9 other tools

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.