Unraveling the Dynamics of Oxytocin in Hypothalamic Neurons.
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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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] § 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
- %% Analysis of Oxytocin (OT) Vesicle Dynamics via Machine Learning
- % This script:
- % 1. Preprocesses experimental trajectories.
- % 2. Generates synthetic trajectories (fBM) for training.
- % 3. Trains and evaluates a Random Forest (RF) classifier.
- % 4. Trains and evaluates a 1D Convolutional Neural Network (CNN).
- % 5. Classifies experimental data and evaluates model consensus.
- clearvars; close all; clc;
- %% 0. Configuration & Parameters
- % Define global parameters
- params.numSteps = 80; % Number of frames per trajectory
- params.timeStep = 1; % Seconds per frame
- params.numTrees = 300; % RF ensemble size
- params.numSynthetic = 1e5; % Size of synthetic training set
- params.rngSeed = 1; % For reproducibility
- % Global parameters used by synthetic generation and training
- N_synthetic = 1e5; % Total number of synthetic trajectories
- numSteps = 80; % Frames per trajectory
- timestep = 1; % Seconds per frame (Delta T)
- % Target proportions for training (must sum to 1)
- N_nd = 0.35; % 35% Normal Diffusion
- N_sub = 0.40; % 40% Subdiffusion
- N_sup = 0.25; % 25% Superdiffusion
- params.numTrees = 300; % RF ensemble size
- params.rngSeed = 1; % For reproducibility
- % Create directories if they don't exist
- if ~exist('results', 'dir'), mkdir('results'); end
- %% 1. Data Loading and Preprocessing
- fprintf('--- Step 1: Experimental Data Preparation ---\n');
- dataPath = fullfile('data', 'prepared_data.mat');
- dimPath = fullfile('data', 'T_dim.mat');
- if exist(dataPath, 'file')
- fprintf('Loading prepared experimental data...\n');
- load(dataPath);
- else
- fprintf('Running data preparation pipeline...\n');
- data_preparation;
- end
- % Load diameter information (for the size-impact analysis)
- if exist(dimPath, 'file')
- load(dimPath);
- else
- error('Vesicle diameter data (T_dim.mat) not found.');
- end
- valid_D_indices = ~isnan(T.D) & T.D > 0;
- logD_real = log10(T.D(valid_D_indices));
- logD_mean_real = mean(logD_real);
- logD_std_real = std(logD_real);
- % Summary Statistics
- fprintf('Experimental Dataset: %d trajectories\n', height(T));
- fprintf('Mean Alpha: %.3f | Mean D: %.3f\n', mean(T.Alpha, 'omitnan'), mean(T.D, 'omitnan'));
- %% 2. Synthetic Data Generation
- fprintf('\n--- Step 2: Generating Synthetic Training Set ---\n');
- % Target proportions for training: 35% Normal, 40% Subdiffusive, 25% Superdiffusive
- propND = 0.35;
- propSub = 0.40;
- propSup = 0.25;
- % Generate fBM trajectories using the Davies-Harte algorithm
- % This call assumes 'step_synthetic' uses the proportions and params defined above
- step_synthetic;
- % --- Step 2.1: Integrate Vesicle Diameter into Training Data ---
- % To test if diameter influences classification, we bootstrap real
- % diameters into the synthetic training set (size-independent control)
- validDiameters = T_dim.diameter(~isnan(T_dim.diameter) & T_dim.diameter > 0);
- numSyntheticTotal = height(Training_T);
- rng(params.rngSeed);
- Training_T.Diameter = randsample(validDiameters, numSyntheticTotal, true);
- fprintf('Synthetic training set ready with %d samples.\n', numSyntheticTotal);
- %% 3. Machine Learning: Random Forest (RF)
- fprintf('\n--- Step 3: Training Random Forest Classifier ---\n');
- % Feature Matrix: [Alpha, log10(K_alpha), R-squared, Diameter]
- featuresTrain = [Training_T.Alpha, log10(Training_T.D), Training_T.Rsqrt, Training_T.Diameter];
- labelsTrain = Training_T.Label;
- % Train Random Forest (Bagged Trees)
- RF_Model = fitcensemble(featuresTrain, labelsTrain, ...
- 'Method', 'Bag', ...
- 'NumLearningCycles', params.numTrees, ...
- 'Learners', 'Tree');
- % Evaluate Out-of-Bag Error
- oobError = oobLoss(RF_Model, 'Mode', 'ensemble');
- fprintf('RF Out-of-Bag Classification Error: %.2f%%\n', oobError * 100);
- % Predict on Experimental Data
- % Note: Using T_dim.diameter for consistency with Training_T
- featuresReal = [T.Alpha, log10(T.D), T.R2, T_dim.diameter];
- T.Predicted_Label_RF = predict(RF_Model, featuresReal);
- %% 4. Deep Learning: 1D CNN
- fprintf('\n--- Step 4: Training 1D CNN Pipeline ---\n');
- % Training logic resides in step_CNN (processes raw MSD curves)
- step_CNN;
- % Predict experimental trajectories using CNN
- step_classification;
- %% 5. Results Visualization
- fprintf('\n--- Step 5: Generating Publication Figures ---\n');
- % Figure A: Alpha Distributions
- figure('Name', 'Trajectory Characteristics', 'Color', 'w');
- subplot(1,2,1);
- histogram(T.Alpha, 20, 'FaceColor', [0.2 0.4 0.6]);
- title('Experimental \alpha Distribution');
- xlabel('Anomalous Exponent (\alpha)'); ylabel('Frequency');
- grid on; axis square;
- % Figure B: Predictor Importance (Crucial for the "Size doesn't matter" finding)
- subplot(1,2,2);
- imp = predictorImportance(RF_Model);
- b = bar(imp, 'FaceAlpha', 0.8);
- b.FaceColor = 'flat';
- b.CData(4,:) = [0.8 0.2 0.2]; % Highlight Diameter in red
- set(gca, 'XTickLabel', {'\alpha', 'log_{10}(K_\alpha)', 'R^2', 'Diameter'});
- title('Predictor Importance Scores');
- ylabel('Importance Score');
- grid on; axis square;
- % Figure C: Model Consensus (Confusion Matrix)
- figure('Name', 'Model Comparison', 'Color', 'w');
- cc = confusionchart(categorical(T.Predicted_Label_RF), categorical(T.Predicted_Label_CNN), ...
- 'Title', 'Classification Consensus: RF vs. CNN', ...
- 'XLabel', 'CNN Prediction', 'YLabel', 'RF Prediction');
- cc.DiagonalColor = [0 0.45 0.74];
- set(gca, 'FontSize', 11);
- %% 6. Data Export
- outputFile = fullfile('results', 'classified_trajectories.mat');
- save(outputFile, 'T', 'RF_Model', 'params', '-v7.3');
- fprintf('\nAnalysis Complete. Results saved to: %s\n', outputFile);
main.m at commit 64345ee, no license · at the source
Overview
- Instituto de Neurociencias, CSIC‐UMH, San Juan de Alicante, Spain
- Depto. de Matemática Aplicada y Ciencias de la Computación, Universidad de Cantabria, Santander, Spain
- Departamento de Ciencias Básicas, UAM Azcapotzalco, Mexico City, Mexico
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
64345ee151a46bf138c12facde7ecf7faea69554, 6 April 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
10 files
- MSD.m, MATLAB, 76 lines, 2 matches
- data_preparation.m, MATLAB, 111 lines
- generate_fgn_daviesharte
.m , MATLAB, 63 lines, 1 match - generate_synthetic_traje
ctories.m , MATLAB, 103 lines, 2 matches - main.m, MATLAB, 150 lines, 3 matches
- step_CNN.m, MATLAB, 123 lines, 1 match
- step_classification.m, MATLAB, 92 lines
- step_syntetic.m, MATLAB, 85 lines
- step_synthetic.m, MATLAB, 85 lines
- README.md, Text, 97 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;
- 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:
- it points to the authors' code: ComputBio/
oxytocin-dynamics-analys is
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://
BibTeX
@article{aznarescolano20
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/
url = {https://
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/
VL - 27
IS - 2
SP - e70034
SN - 1398-9219
PB - Wiley
DO - 10.1111/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1111/
"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":
"volume": "27",
"issue": "2",
"page": "e70034",
"DOI": "10.1111/
"PMID": "41942291",
"PMCID": "PMC13053160",
"ISSN": "1398-9219",
"publisher": "Wiley",
"URL": "https://
"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 reportsIn 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: iScienceIn 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 communicationsIn 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 AmericaIn 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: iScienceIn 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: iScienceIn 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 communicationsIn 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 neuroscienceIn 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 geneticsIn 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: eNeuroIn 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.
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, 9 scripts, and 9 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:84719405d167e01a…
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.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:endHTML
<!-- 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.
