Neural manifolds in spinal networks that orchestrate walking and stopping
2 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 2 matches · all tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
- [1] § Theory of walk-to-stop transition ↔ Model Code Manifold of walking/DeNovoPerturbation.m, the whole file · a weak match · score 0.63 · low dimensional, firing rate, candidates, perturbation, PCA, activated · block
oscr:b:6RGNZ575NJYAJ-0· Report a mismatch - [2] § Theory of walk-to-stop transition ↔ Model Code Manifold of walking/DeNovoBase.m, the whole file · a weak match · score 0.60 · low dimensional, firing rate, candidates, PCA, activated, instantiated · block
oscr:b:4W3XKV39C6QEE-J· 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 · 78 lines · 4.3 KB · GPL-3.0 · 1 match
- clear;
- % Instantiate network and baseline simulation parameters
- run BaseNet.m
- run BaseParameterSetup.m
- dur = 100; % Perturbation duration
- subset = 400; % Perturbation population subset
- % Freeze-inducing input for population candidate
- I_e = ones(Length,t_steps)*GlobalIe + repmat(normrnd(0,2,[size(N.ConnMat,1) 1]),[1 t_steps]); % Input noise across network
- POI = Pop2;
- deltainput = 18;
- for ii = 1:length(Segs)
- I_e(POI,(Segs(ii)-FreezeP):Segs(ii)) =I_e(POI,(Segs(ii)-FreezeP):Segs(ii)) - repmat(normrnd(deltainput,2,[nnz(POI) 1]),[1 FreezeP+1]); % Freeze
- I_e(randperm(Length,subset)',(Segs(ii)-FreezeP/2):(Segs(ii)-((FreezeP/2)-dur))) = repmat(normrnd(80,5,[1 subset]),[dur+1,1])'; % Random input perturbation to subset
- FreezeT = [FreezeT (Segs(ii)-FreezeP):Segs(ii)];
- StimT = [StimT (Segs(ii)-FreezeP/2):(Segs(ii)-((FreezeP/2)-dur))];
- end
- N.SimulateLine(t_steps,'gain',Gain,'I_e',I_e,'gain_noise',false,...
- 'threshold',threshold,'fmax',fmax,'noise_ampl',0.5); % Simulate with parameter setup
- N.ComputeSpikes; N.Voltage = []; N.Rates = []; % Generate spikes from firing rates
- N.FilterSpikes(25,1000); % Filter into continuous traces
- run GetStructure.m % Build PCA space from "mean cycle" and package parameters and low-dimensional traces
- % Plotting
- figure;
- subplot(1,3,1);
- run Plot.m
- title("Silencing sp2/V1",'FontWeight','normal','FontSize',15);
- Data_sp2_perturb = Data; clearvars Data
- % Freeze-inducing input for population candidate
- I_e(:,:) = repmat(I_e(:,1), [1 t_steps]); % Reuse global input structure
- POI = Pop3;
- deltainput = 12;
- for ii = 1:length(Segs)
- I_e(POI,(Segs(ii)-FreezeP):Segs(ii)) =I_e(POI,(Segs(ii)-FreezeP):Segs(ii)) - repmat(normrnd(deltainput,2,[nnz(POI) 1]),[1 FreezeP+1]); % Freeze
- I_e(randperm(Length,subset)',(Segs(ii)-FreezeP/2):(Segs(ii)-((FreezeP/2)-dur))) = repmat(normrnd(80,5,[1 subset]),[dur+1,1])'; % Random input perturbation to subset
- FreezeT = [FreezeT (Segs(ii)-FreezeP):Segs(ii)];
- StimT = [StimT (Segs(ii)-FreezeP/2):(Segs(ii)-((FreezeP/2)-dur))];
- end
- N.SimulateLine(t_steps,'gain',Gain,'I_e',I_e,'gain_noise',false,...
- 'threshold',threshold,'fmax',fmax,'noise_ampl',0.5); % Simulate with parameter setup
- N.ComputeSpikes; N.Voltage = []; % Generate spikes from firing rates
- N.FilterSpikes(25,1000); % Filter into continuous traces
- run GetStructure.m % Build PCA space from "mean cycle" and package parameters and low-dimensional traces
- % Plotting
- subplot(1,3,2);
- run Plot.m
- title("Silencing sp3/V2a",'FontSize',15,'FontWeight','normal');
- Data_sp3_perturb = Data; clearvars Data
- % Freeze-inducing input for population candidate
- I_e(:,:) = repmat(I_e(:,1), [1 t_steps]); % Reuse global input structure
- POI = Pop4;
- deltainput = 21;
- for ii = 1:length(Segs)
- I_e(POI,(Segs(ii)-FreezeP):Segs(ii)) =I_e(POI,(Segs(ii)-FreezeP):Segs(ii)) + repmat(normrnd(deltainput,2,[nnz(POI) 1]),[1 FreezeP+1]); % Freeze
- I_e(randperm(Length,subset)',(Segs(ii)-FreezeP/2):(Segs(ii)-((FreezeP/2)-dur))) = repmat(normrnd(80,5,[1 subset]),[dur+1,1])'; % Random input perturbation to subset
- FreezeT = [FreezeT (Segs(ii)-FreezeP):Segs(ii)];
- StimT = [StimT (Segs(ii)-FreezeP/2):(Segs(ii)-((FreezeP/2)-dur))];
- end
- N.SimulateLine(t_steps,'gain',Gain,'I_e',I_e,'gain_noise',false,...
- 'threshold',threshold,'fmax',fmax,'noise_ampl',0.5); % Simulate with parameter setup
- N.ComputeSpikes; N.Voltage = []; % Generate spikes from firing rates
- N.FilterSpikes(25,1000); % Filter into continuous traces
- run GetStructure.m % Build PCA space from "mean cycle" and package parameters and low-dimensional traces
- % Plotting
- subplot(1,3,3);
- run Plot.m
- title("Activating sp4/V2b",'FontSize',15,'FontWeight','normal');
- Data_sp4_perturb = Data;
- clearvars -except Data_sp2_perturb Data_sp3_perturb Data_sp4_perturb
DeNovoPerturbation.m at commit 4c54e58, under GPL-3.0 · at the source
Overview
Abstract
Walking, stopping, and postural control are fundamental motor behaviors whose dynamical underpinnings remain poorly understood despite extensive characterization of the underlying circuitry. Here, we investigate neural activity behind locomotion and stopping by recording neuronal population activity with Neuropixels probes in the lumbar spinal cord of freely moving rats where walk-to-stop transitions are controlled by brainstem optogenetic stimulation. During walking, the population activity occupies a ring-shaped manifold with limit cycle attractor properties on which a single phase coordinate captures the kinematic variables, hence a “locomotor” manifold. Prior to stopping, the neural state undergoes a bifurcation onto a distinct region composed of non-trivial fixed point attractors whose structure encodes body posture, i.e. a “postural” manifold. Mechanical perturbations confirm the stability of both regimes. Finally, we show that a previously proposed linear network model with Mexican-hat recurrent connectivity accurately predicts both attractor regimes and their transitions. These findings demonstrate both how the spinal cord can operate as an autonomous dynamical system, and how descending controls and change between states of this system.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
BergLab/ManifoldsofWalking
4c54e580435a346bec50254c7d4d4231fb888904, 14 February 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
23 files
- Model Code Manifold of walking/
BaseNet.m , MATLAB, 10 lines - Model Code Manifold of walking/
BaseParameterSetup.m , MATLAB, 35 lines - Model Code Manifold of walking/
DeNovoBase.m , MATLAB, 70 lines, 1 match - Model Code Manifold of walking/
DeNovoPerturbation.m , MATLAB, 78 lines, 1 match - Model Code Manifold of walking/
GetStructure.m , MATLAB, 29 lines - Model Code Manifold of walking/
HelperFunctions/ , MATLAB, 16 lines@Colors/ Colors.m - Model Code Manifold of walking/
HelperFunctions/ , MATLAB, 44 linesBalanceConnectivity.m - Model Code Manifold of walking/
HelperFunctions/ , MATLAB, 20 linesBalanceNormalize.m - Model Code Manifold of walking/
HelperFunctions/ , MATLAB, 16 linesGaussianFilter.m - Model Code Manifold of walking/
HelperFunctions/ , MATLAB, 8 linesGetMeanCycleFiring.m - Model Code Manifold of walking/
HelperFunctions/ , MATLAB, 7 linesGetNormalizeMatrixColumn .m - Model Code Manifold of walking/
HelperFunctions/ , MATLAB, 27 linesGetResampSig.m - Model Code Manifold of walking/
HelperFunctions/ , MATLAB, 61 linesnonLinspace.m - Model Code Manifold of walking/
LineNetworkModel/ , MATLAB, 14 lines@LineNetwork/ ComputeSpikes.m - Model Code Manifold of walking/
LineNetworkModel/ , MATLAB, 3 lines@LineNetwork/ FilterSpikes.m - Model Code Manifold of walking/
LineNetworkModel/ , MATLAB, 159 lines@LineNetwork/ Instantiate.m - Model Code Manifold of walking/
LineNetworkModel/ , MATLAB, 57 lines@LineNetwork/ Instantiate2.m - Model Code Manifold of walking/
LineNetworkModel/ , MATLAB, 52 lines@LineNetwork/ LineNetwork.m - Model Code Manifold of walking/
LineNetworkModel/ , MATLAB, 90 lines@LineNetwork/ SimulateLine.m - Model Code Manifold of walking/
Plot.m , MATLAB, 14 lines - Model Code Manifold of walking/
denovoPopulationSubset.m , MATLAB, 71 lines - LICENSE, License, 674 lines
- README.md, Text, 24 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;
- 21 scripts, each with its path and the digest of its content;
- 2 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.
Data availability statement
All data presented in this study are available from the corresponding author, RWB, on reasonable request. Please find the relevant code associated with modeling and data analysis in the following github repository (https://
Reproduced under the paper's license (CC BY), 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, journal, dates, 9 authors, 1 funder, 51 references.
Cite
This paper
Komi, S., Kaur, J., Winther, A., Bonfils, M. C. A., Houser, G. A., Sørensen, R., Li, G., Sobriel, K., & Berg, R. W. (2026). Neural manifolds in spinal networks that orchestrate walking and stopping. Research Square (preprint). https://
BibTeX
@article{komi2026neural,
author = {Komi, Salif and Kaur, Jaspreet and Winther, August and Bonfils, Madelaine C. Adamsson and Houser, Grace A. and Sørensen, R.J.F. and Li, Guanghui and Sobriel, Karen and Berg, Rune W.},
title = {{Neural manifolds in spinal networks that orchestrate walking and stopping}},
journal = {Research Square (preprint)},
year = {2026},
month = jun,
publisher = {Research Square},
issn = {2693-5015},
doi = {10.21203/
url = {https://
}
RIS
TY - JOUR
AU - Komi, Salif
AU - Kaur, Jaspreet
AU - Winther, August
AU - Bonfils, Madelaine C. Adamsson
AU - Houser, Grace A.
AU - Sørensen, R.J.F.
AU - Li, Guanghui
AU - Sobriel, Karen
AU - Berg, Rune W.
TI - Neural manifolds in spinal networks that orchestrate walking and stopping
T2 - Research Square (preprint)
J2 - Res Sq
PY - 2026
DA - 2026/
SN - 2693-5015
PB - Research Square
DO - 10.21203/
UR - https://
ER -
CSL-JSON
{
"id": "10.21203/
"type": "article",
"title": "Neural manifolds in spinal networks that orchestrate walking and stopping",
"container-title": "Research Square (preprint)",
"author": [
{
"family": "Komi",
"given": "Salif"
},
{
"family": "Kaur",
"given": "Jaspreet"
},
{
"family": "Winther",
"given": "August"
},
{
"family": "Bonfils",
"given": "Madelaine C. Adamsson"
},
{
"family": "Houser",
"given": "Grace A."
},
{
"family": "Sørensen",
"given": "R.J.F."
},
{
"family": "Li",
"given": "Guanghui"
},
{
"family": "Sobriel",
"given": "Karen"
},
{
"family": "Berg",
"given": "Rune W."
}
],
"container-title-short":
"DOI": "10.21203/
"ISSN": "2693-5015",
"publisher": "Research Square",
"URL": "https://
"issued": {
"date-parts": [
[
2026,
6,
23
]
]
}
}
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.1101/2025.11.08.687367 [code]
- Neural manifolds that orchestrate walking and stoppingJournal: bioRxiv (preprint)In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 31 references, author Rune W. Berg
- [2] doi:10.1038/s41467-026-74228-0 [code]
- Spatial and network principles behind neural generation of locomotion.Journal: Nature communicationsIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 11 references, 3 authors
- [3] doi:10.1016/j.celrep.2025.115845 [code]
- The spinal premotor network driving scratching flexor and extensor alternation.Journal: Cell reportsIn common: systems, 8 references
- [4] doi:10.3389/fnhum.2021.719388 [code]
- Why Firing Rate Distributions Are Important for Understanding Spinal Central Pattern Generators.Journal: Frontiers in human neuroscienceIn common: systems, 3 references, author Rune W. Berg
- [5] doi:10.1038/s41467-023-36587-w
- Deconstructing the modular organization and real-time dynamics of mammalian spinal locomotor networks.Journal: Nature communicationsIn common: systems, 5 references
- [6] doi:10.1038/s41586-022-05385-7 [code]
- The neurons that restore walking after paralysis.Journal: NatureIn common: 2 references, author Salif Komi
- [7] doi:10.1523/jneurosci.1607-23.2024
- Excitatory Spinal Lhx9-Derived Interneurons Modulate Locomotor Frequency in Mice.Journal: The Journal of neuroscience : the official journal of the Society for NeuroscienceIn common: 5 references
- [8] doi:10.1038/s41586-023-06094-5 [code]
- Walking naturally after spinal cord injury using a brain-spine interface.Journal: NatureIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, author Salif Komi
- [9] doi:10.1371/journal.pcbi.1009677 [code]
- Asymmetric and transient properties of reciprocal activity of antagonists during the paw-shake response in the cat.Journal: PLoS computational biologyIn common: 4 references
- [10] doi:10.1016/j.nbd.2025.107253 [code]
- Spinal circuit mechanisms constrain therapeutic windows for ALS intervention: A computational modeling study.Journal: Neurobiology of diseaseIn common: 4 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, 21 scripts, and 2 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:d44be11a634a02c9…
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.21203/rs.3.rs-9914946/v1)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.21203/rs.3.rs-9914946/v1.svg
:target: https://openscicode.org/badge/doi/10.21203/rs.3.rs-9914946/v1
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.21203/rs.3.rs-9914946/v1"><img src="https://openscicode.org/badge/doi/10.21203/rs.3.rs-9914946/v1.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.
