OSCR

Unraveling the Dynamics of Oxytocin in Hypothalamic Neurons.

Code ↔ Paper

9 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.

6 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 9 matches · 5 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Materials and Methods › Trajectory Analysis and Machine Learning Classification › Machine Learning Models ↔ step_CNN.m, lines 64 to 92 · score 0.89 · fully connected layer, softmax layer, CNN architecture, batch normalization, ReLU, Convolutional · block oscr:b:ZCK9KERCZTRYW-A · Report a mismatch
  2. [2] § Materials and Methods › Trajectory Analysis and Machine Learning Classification › Synthetic Dataset ↔ generate_fgn_daviesharte.m, the whole file · a weak match · score 0.78 · fractional Gaussian noise, Hurst exponent, Davies Harte, correlated · block oscr:b:3Y2NPX6MBKRQJ-4 · Report a mismatch
  3. [3] § Materials and Methods › Trajectory Analysis and Machine Learning Classification › Synthetic Dataset ↔ generate_synthetic_trajectories.m, the whole file · a weak match · score 0.76 · fractional Brownian Motion, physical constraints, anomalous diffusion, position, matrix, superdiffusion · block oscr:b:H55SD3PBN17CQ-S · Report a mismatch
  4. [4] § Materials and Methods › Trajectory Analysis and Machine Learning Classification ↔ MSD.m, the whole file · a weak match · score 0.76 · power law relationship, Squared Displacement, MSD curve, lag, fitting, particle · block oscr:b:YRW0Q7R458C9R-9 · Report a mismatch
  5. [5] § Materials and Methods › Trajectory Analysis and Machine Learning Classification › Synthetic Dataset ↔ generate_synthetic_trajectories.m, the whole file · a weak match · score 0.72 · Davies Harte algorithm, Hurst exponent, Gaussian, fractional, noise, motion · block oscr:b:H55SD3PBN17CQ-S · Report a mismatch
  6. [6] § Materials and Methods › Trajectory Analysis and Machine Learning Classification ↔ MSD.m, the whole file · a weak match · score 0.64 · generalized diffusion coefficient, log fit, intercept, particle, Trajectory · block oscr:b:YRW0Q7R458C9R-9 · Report a mismatch
  7. [7] § Results › Machine Learning Classification ↔ main.m, lines 1 to 9 · score 0.59 · Convolutional Neural Network, Random Forest, machine learning, RF, synthetic, trained · block oscr:b:3BN8YR05CJZ20-2 · Report a mismatch
  8. [8] § Materials and Methods › Trajectory Analysis and Machine Learning Classification › Machine Learning Models ↔ main.m, lines 86 to 106 · score 0.56 · Random Forest, RF model, ensemble, trees, Machine, trained · block oscr:b:M7C2QNVCT5D71-V · Report a mismatch
  9. [9] § Results › Machine Learning Classification ↔ main.m, lines 86 to 106 · score 0.55 · OOB error, RF model, Bag, prediction, Machine, trained · block oscr:b:M7C2QNVCT5D71-V · 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

MATLAB · 150 lines · 5.5 KB · no license · 3 matches

  1. %% Analysis of Oxytocin (OT) Vesicle Dynamics via Machine Learning
  2. % This script:
  3. % 1. Preprocesses experimental trajectories.
  4. % 2. Generates synthetic trajectories (fBM) for training.
  5. % 3. Trains and evaluates a Random Forest (RF) classifier.
  6. % 4. Trains and evaluates a 1D Convolutional Neural Network (CNN).
  7. % 5. Classifies experimental data and evaluates model consensus.
  8. clearvars; close all; clc;
  9. %% 0. Configuration & Parameters
  10. % Define global parameters
  11. params.numSteps = 80; % Number of frames per trajectory
  12. params.timeStep = 1; % Seconds per frame
  13. params.numTrees = 300; % RF ensemble size
  14. params.numSynthetic = 1e5; % Size of synthetic training set
  15. params.rngSeed = 1; % For reproducibility
  16. % Global parameters used by synthetic generation and training
  17. N_synthetic = 1e5; % Total number of synthetic trajectories
  18. numSteps = 80; % Frames per trajectory
  19. timestep = 1; % Seconds per frame (Delta T)
  20. % Target proportions for training (must sum to 1)
  21. N_nd = 0.35; % 35% Normal Diffusion
  22. N_sub = 0.40; % 40% Subdiffusion
  23. N_sup = 0.25; % 25% Superdiffusion
  24. params.numTrees = 300; % RF ensemble size
  25. params.rngSeed = 1; % For reproducibility
  26. % Create directories if they don't exist
  27. if ~exist('results', 'dir'), mkdir('results'); end
  28. %% 1. Data Loading and Preprocessing
  29. fprintf('--- Step 1: Experimental Data Preparation ---\n');
  30. dataPath = fullfile('data', 'prepared_data.mat');
  31. dimPath = fullfile('data', 'T_dim.mat');
  32. if exist(dataPath, 'file')
  33. fprintf('Loading prepared experimental data...\n');
  34. load(dataPath);
  35. else
  36. fprintf('Running data preparation pipeline...\n');
  37. data_preparation;
  38. end
  39. % Load diameter information (for the size-impact analysis)
  40. if exist(dimPath, 'file')
  41. load(dimPath);
  42. else
  43. error('Vesicle diameter data (T_dim.mat) not found.');
  44. end
  45. valid_D_indices = ~isnan(T.D) & T.D > 0;
  46. logD_real = log10(T.D(valid_D_indices));
  47. logD_mean_real = mean(logD_real);
  48. logD_std_real = std(logD_real);
  49. % Summary Statistics
  50. fprintf('Experimental Dataset: %d trajectories\n', height(T));
  51. fprintf('Mean Alpha: %.3f | Mean D: %.3f\n', mean(T.Alpha, 'omitnan'), mean(T.D, 'omitnan'));
  52. %% 2. Synthetic Data Generation
  53. fprintf('\n--- Step 2: Generating Synthetic Training Set ---\n');
  54. % Target proportions for training: 35% Normal, 40% Subdiffusive, 25% Superdiffusive
  55. propND = 0.35;
  56. propSub = 0.40;
  57. propSup = 0.25;
  58. % Generate fBM trajectories using the Davies-Harte algorithm
  59. % This call assumes 'step_synthetic' uses the proportions and params defined above
  60. step_synthetic;
  61. % --- Step 2.1: Integrate Vesicle Diameter into Training Data ---
  62. % To test if diameter influences classification, we bootstrap real
  63. % diameters into the synthetic training set (size-independent control)
  64. validDiameters = T_dim.diameter(~isnan(T_dim.diameter) & T_dim.diameter > 0);
  65. numSyntheticTotal = height(Training_T);
  66. rng(params.rngSeed);
  67. Training_T.Diameter = randsample(validDiameters, numSyntheticTotal, true);
  68. fprintf('Synthetic training set ready with %d samples.\n', numSyntheticTotal);
  69. %% 3. Machine Learning: Random Forest (RF)
  70. fprintf('\n--- Step 3: Training Random Forest Classifier ---\n');
  71. % Feature Matrix: [Alpha, log10(K_alpha), R-squared, Diameter]
  72. featuresTrain = [Training_T.Alpha, log10(Training_T.D), Training_T.Rsqrt, Training_T.Diameter];
  73. labelsTrain = Training_T.Label;
  74. % Train Random Forest (Bagged Trees)
  75. RF_Model = fitcensemble(featuresTrain, labelsTrain, ...
  76. 'Method', 'Bag', ...
  77. 'NumLearningCycles', params.numTrees, ...
  78. 'Learners', 'Tree');
  79. % Evaluate Out-of-Bag Error
  80. oobError = oobLoss(RF_Model, 'Mode', 'ensemble');
  81. fprintf('RF Out-of-Bag Classification Error: %.2f%%\n', oobError * 100);
  82. % Predict on Experimental Data
  83. % Note: Using T_dim.diameter for consistency with Training_T
  84. featuresReal = [T.Alpha, log10(T.D), T.R2, T_dim.diameter];
  85. T.Predicted_Label_RF = predict(RF_Model, featuresReal);
  86. %% 4. Deep Learning: 1D CNN
  87. fprintf('\n--- Step 4: Training 1D CNN Pipeline ---\n');
  88. % Training logic resides in step_CNN (processes raw MSD curves)
  89. step_CNN;
  90. % Predict experimental trajectories using CNN
  91. step_classification;
  92. %% 5. Results Visualization
  93. fprintf('\n--- Step 5: Generating Publication Figures ---\n');
  94. % Figure A: Alpha Distributions
  95. figure('Name', 'Trajectory Characteristics', 'Color', 'w');
  96. subplot(1,2,1);
  97. histogram(T.Alpha, 20, 'FaceColor', [0.2 0.4 0.6]);
  98. title('Experimental \alpha Distribution');
  99. xlabel('Anomalous Exponent (\alpha)'); ylabel('Frequency');
  100. grid on; axis square;
  101. % Figure B: Predictor Importance (Crucial for the "Size doesn't matter" finding)
  102. subplot(1,2,2);
  103. imp = predictorImportance(RF_Model);
  104. b = bar(imp, 'FaceAlpha', 0.8);
  105. b.FaceColor = 'flat';
  106. b.CData(4,:) = [0.8 0.2 0.2]; % Highlight Diameter in red
  107. set(gca, 'XTickLabel', {'\alpha', 'log_{10}(K_\alpha)', 'R^2', 'Diameter'});
  108. title('Predictor Importance Scores');
  109. ylabel('Importance Score');
  110. grid on; axis square;
  111. % Figure C: Model Consensus (Confusion Matrix)
  112. figure('Name', 'Model Comparison', 'Color', 'w');
  113. cc = confusionchart(categorical(T.Predicted_Label_RF), categorical(T.Predicted_Label_CNN), ...
  114. 'Title', 'Classification Consensus: RF vs. CNN', ...
  115. 'XLabel', 'CNN Prediction', 'YLabel', 'RF Prediction');
  116. cc.DiagonalColor = [0 0.45 0.74];
  117. set(gca, 'FontSize', 11);
  118. %% 6. Data Export
  119. outputFile = fullfile('results', 'classified_trajectories.mat');
  120. save(outputFile, 'T', 'RF_Model', 'params', '-v7.3');
  121. fprintf('\nAnalysis Complete. Results saved to: %s\n', outputFile);

main.m at commit 64345ee, no license · at the source

Overview

Authors: Beatriz Aznar‐Escolano1, Vera Egorova2, José Villanueva1, Luis Miguel Gutiérrez1, Virginia González‐Vélez3, Amparo Gil2, Sandra Jurado1
  1. Instituto de Neurociencias, CSIC‐UMH, San Juan de Alicante, Spain
  2. Depto. de Matemática Aplicada y Ciencias de la Computación, Universidad de Cantabria, Santander, Spain
  3. Departamento de Ciencias Básicas, UAM Azcapotzalco, Mexico City, Mexico
Journal: Traffic (Copenhagen, Denmark), volume 27, issue 2, article e70034
Dates: received 7 November 2025; accepted 26 March 2026; published online 6 April 2026; in print June 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1111/tra.70034 · PMID 41942291 · PMCID PMC13053160 · OpenAlex W7151044107
Open access: hybrid, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: cellular / molecular (subfield)
Methods: Machine learning, Complexity, Statistics, fMRI & imaging, Single-unit activity, calcium imaging, Spectral & time-frequency
Keywords: anomalous diffusion, hypothalamic neurons, large dense‐core vesicles (LDCVs), machine learning, neuropeptide trafficking, oxytocin, single‐particle tracking (SPT)
MeSH: Hypothalamus*, Neurons*, Oxytocin*, Animals, Dense Core Vesicles, Machine Learning, Protein Transport (* major topic)
Topic: Neuroendocrine regulation and behavior (Endocrine and Autonomic Systems, Neuroscience), according to OpenAlex
Funding: CONAHCyT, Mexico (CVU 202622); Ministerio de Ciencia, Innovación y Universidades (PID2020-113878RB-I00/AEI/10.13039/501100011033, PID2020-114824GB-I00, PID2020‐114824GB‐I00, PID2023-146390NB-I00, PID2020‐113878RB‐I00/AEI/10.13039/501100011033, PID2023‐146390NB‐I00)
Citations: not cited yet (Europe PMC); 67 references in the paper
Research resources: RRID:SCR_001622

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 9 matches between paragraphs and lines of code.

ComputBio/oxytocin-dynamics-analysis

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 64345ee151a46bf138c12facde7ecf7faea69554, 6 April 2026
Languages: MATLAB (9)
Size: 11 files, 9 scripts
Software Heritage: not archived
Found in: “Data Availability Statement”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
10 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;
  • 9 scripts, each with its path and the digest of its content;
  • 9 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:

Read it in the paper: doi.org/10.1111/tra.70034.

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

  • Publisher: n/a → Wiley

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 7 keywords, 7 MeSH terms, 2 funders, 61 references, 1 RRID.

Cite

This paper

Aznar‐Escolano, B., Egorova, V., Villanueva, J., Gutiérrez, L. M., González‐Vélez, V., Gil, A., & Jurado, S. (2026). Unraveling the Dynamics of Oxytocin in Hypothalamic Neurons. Traffic (Copenhagen, Denmark), 27(2), e70034. https://doi.org/10.1111/tra.70034

BibTeX

@article{aznarescolano2026unraveling,
author = {Aznar‐Escolano, Beatriz and Egorova, Vera and Villanueva, José and Gutiérrez, Luis Miguel and González‐Vélez, Virginia and Gil, Amparo and Jurado, Sandra},
title = {{Unraveling the Dynamics of Oxytocin in Hypothalamic Neurons}},
journal = {Traffic (Copenhagen, Denmark)},
year = {2026},
month = jun,
volume = {27},
number = {2},
pages = {e70034},
publisher = {Wiley},
issn = {1398-9219},
doi = {10.1111/tra.70034},
url = {https://doi.org/10.1111/tra.70034},
pmid = {41942291},
pmcid = {PMC13053160}
}

RIS

TY - JOUR
AU - Aznar‐Escolano, Beatriz
AU - Egorova, Vera
AU - Villanueva, José
AU - Gutiérrez, Luis Miguel
AU - González‐Vélez, Virginia
AU - Gil, Amparo
AU - Jurado, Sandra
TI - Unraveling the Dynamics of Oxytocin in Hypothalamic Neurons
T2 - Traffic (Copenhagen, Denmark)
J2 - Traffic
PY - 2026
DA - 2026/06/01
VL - 27
IS - 2
SP - e70034
SN - 1398-9219
PB - Wiley
DO - 10.1111/tra.70034
UR - https://doi.org/10.1111/tra.70034
LA - en
ER -

CSL-JSON

{
"id": "10.1111/tra.70034",
"type": "article-journal",
"title": "Unraveling the Dynamics of Oxytocin in Hypothalamic Neurons",
"container-title": "Traffic (Copenhagen, Denmark)",
"author": [
{
"family": "Aznar‐Escolano",
"given": "Beatriz"
},
{
"family": "Egorova",
"given": "Vera"
},
{
"family": "Villanueva",
"given": "José"
},
{
"family": "Gutiérrez",
"given": "Luis Miguel"
},
{
"family": "González‐Vélez",
"given": "Virginia"
},
{
"family": "Gil",
"given": "Amparo"
},
{
"family": "Jurado",
"given": "Sandra"
}
],
"container-title-short": "Traffic",
"volume": "27",
"issue": "2",
"page": "e70034",
"DOI": "10.1111/tra.70034",
"PMID": "41942291",
"PMCID": "PMC13053160",
"ISSN": "1398-9219",
"publisher": "Wiley",
"URL": "https://doi.org/10.1111/tra.70034",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
1
]
]
}
}

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

Similar papers

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

[1] doi:10.1038/s41598-024-83602-1 [code]
Heterogeneous model for superdiffusive movement of dense core vesicles in C. elegans.
Journal: Scientific reports
In common: cellular / molecular, 4 references
[2] doi:10.1016/j.isci.2026.114692 [code]
Transcriptomics and functional genomics implicate WNT3 in hemispheric lateralization of speech production.
Journal: iScience
In common: Deep Learning Toolbox, Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, 1 reference
[3] doi:10.1038/s41467-024-51884-8
Cannabidiol ameliorates mitochondrial disease via PPARγ activation in preclinical models.
Journal: Nature communications
In common: cellular / molecular, author Sandra Jurado
[4] doi:10.1073/pnas.2314795121 [code]
Near-infrared nanosensors enable optical imaging of oxytocin with selectivity over vasopressin in acute mouse brain slices.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: Statistics and Machine Learning Toolbox, cellular / molecular, 3 references
[5] doi:10.1016/j.isci.2023.108243
Changes in neuropeptide large dense core vesicle trafficking dynamics contribute to adaptive responses to a systemic homeostatic challenge.
Journal: iScience
In common: cellular / molecular, 3 references
[6] doi:10.1016/j.isci.2021.103181 [code]
Real-time three-dimensional tracking of single vesicles reveals abnormal motion and pools of synaptic vesicles in neurons of Huntington's disease mice.
Journal: iScience
In common: cellular / molecular, 3 references
[7] doi:10.1038/s41467-026-71458-0 [code]
Early differential impact of MeCP2 mutations on functional networks in Rett syndrome patient-derived human cortical organoids.
Journal: Nature communications
In common: Deep Learning Toolbox, Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, cellular / molecular
[8] doi:10.3389/fnmol.2022.860275 [code]
Excitatory and Inhibitory Synaptic Imbalance Caused by Brain-Derived Neurotrophic Factor Deficits During Development in a Valproic Acid Mouse Model of Autism.
Journal: Frontiers in molecular neuroscience
In common: Deep Learning Toolbox, Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, cellular / molecular
[9] doi:10.3389/fgene.2021.806386 [code]
Predicting Mutational Status of Driver and Suppressor Genes Directly from Histopathology With Deep Learning: A Systematic Study Across 23 Solid Tumor Types.
Journal: Frontiers in genetics
In common: Deep Learning Toolbox, Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, cellular / molecular
[10] doi:10.1523/eneuro.0416-21.2021 [code]
Precision Mapping of Amyloid-β Binding Reveals Perisynaptic Localization and Spatially Restricted Plasticity Deficits.
Journal: eNeuro
In common: Deep Learning Toolbox, Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, cellular / molecular

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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1111/tra.70034.svg)](https://openscicode.org/badge/doi/10.1111/tra.70034)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1111/tra.70034.svg
   :target: https://openscicode.org/badge/doi/10.1111/tra.70034
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1111/tra.70034"><img src="https://openscicode.org/badge/doi/10.1111/tra.70034.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

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)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

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