OSCR

Sensorimotor transformation of number in the primate parietal cortex.

Code ↔ Paper

3 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 3 matches
  1. [1] § Results › Behavioral relevance of motor planning activity for the motor counting process ↔ visualization_ErrorTrials.m, lines 17–71 · score 0.76 · incorrect trials, numerical distance, tuning curves, normalized activity, firing rate, boxplots
  2. [2] § Methods › Error trial analysis ↔ visualization_ErrorTrials.m, lines 17–71 · score 0.59 · incorrect trials, error trials, firing rates, activity, position
  3. [3] § Methods › Time-resolved population analyses ↔ visualization_TempDecoding.m, lines 212–241 · score 0.53 · cross phase, motor preparation, decoding, trained, instruction, accuracy

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

MATLAB · 170 lines · 6.7 KB · CC-BY-4.0 · 2 matches

  1. clear, clc
  2. load('data_ErrorActivity')
  3. load('data_SVMDecodingError.mat')
  4. fig = figure('Units','centimeters', 'Position',[2 2 20 22], 'Color','w');
  5. %% Define variables
  6. dist = -4:4;
  7. bx_col =[0.5 0.5 0.5; 0 0 0];
  8. m_col = { '-k','-w'};
  9. dirbx_col = [.7 .7 .7;.7 .7 .7;1 1 1;0 0 0;1 1 1];
  10. colbar = [1 1 1;.6 .6 .6;.6 .6 .6;1 1 1];
  11. colPL = [0.55 0.728 0.106; 0.3271 0.569 0.7819; 0.79 0 0];
  12. %% Error Analysis
  13. % Tuning curves correct and incorrect trials
  14. axDistErrTun = axes('Units','centimeters', 'Position',[1.5 13.5 8 6]);
  15. hold on
  16. % mean error tuning
  17. plot(dist, DistErrorTuning.meanErrTun, '-','Linewidth', 2, 'Color',[.5 .5 .5])
  18. errorbar(dist, DistErrorTuning.meanErrTun, DistErrorTuning.semErrTun,'Color',[.5 .5 .5],'LineStyle',...
  19. 'none','CapSize',0, 'LineWidth',1.5)
  20. % mean correct tuning
  21. plot(dist, DistErrorTuning.meanCorrTun,'k-','Linewidth',2)
  22. errorbar(dist, DistErrorTuning.meanCorrTun, DistErrorTuning.semCorrTun,'k','LineStyle','none',...
  23. 'CapSize',0,'LineWidth',1.5)
  24. % axis properties
  25. set(axDistErrTun, 'Box','off','TickDir','out', 'XLim',[-4.25 4.25],...
  26. 'YTick',.4:.2:1,'YLim',[.2 1.1 ], 'LineWidth', 2, 'XColor', [0 0 0], 'YColor', [0 0 0])
  27. xlabel('Numerical Distance', 'FontSize', 12)
  28. ylabel('Normalized Activity', 'FontSize', 12)
  29. % Create legend
  30. legend('Error', '', 'Correct', 'FontSize', 12)
  31. % Add average firing rate during correct and incorrect trials
  32. axAvAct = axes('Units', 'centimeters', 'Position',[5 14 1.3 2.6]);
  33. hold on
  34. boxplot(DistErrorTuning.avFR, 'PlotStyle','traditional','Symbol','','Widths',.5, 'Positions',[1,2])
  35. % get object handles and modify them
  36. boxes = findobj(gcf, 'type', 'line', 'Tag', 'Box');
  37. medians = findobj(gcf, 'type', 'line', 'Tag', 'Median');
  38. outliers = findobj(gcf, 'type', 'line', 'Tag', 'Outliers');
  39. whiskers_up = findobj(gcf, 'type', 'line', 'Tag', 'Upper Whisker');
  40. whiskers_dn = findobj(gcf, 'type', 'line', 'Tag', 'Lower Whisker');
  41. for box=1:length(boxes)
  42. patch(get(boxes(box),'XData'),get(boxes(box),'YData'),...
  43. bx_col(box,:),'FaceAlpha',.9, 'linew', 2);
  44. plot(medians(box).XData,medians(box).YData, m_col{box},'LineWidth',2);
  45. end
  46. set([whiskers_up;whiskers_dn], 'LineStyle','-', 'lineWidth', 2)
  47. delete(outliers)
  48. delete(medians)
  49. % Show significance
  50. line(axAvAct, [1 2], [31 31], 'LineWidth', 1.5, 'Color','k')
  51. text(axAvAct, 0.35, 0.95, '***', 'Units', 'normalized', 'FontSize', 12, 'FontWeight', 'bold')
  52. % axis properties
  53. set(axAvAct, 'Box','off','TickDir','out','XLim',[.5 2.5],...
  54. 'XTick',1:2,'XTickLabel',{'Correct','Error'},'YTick',0:5:30,...
  55. 'YLim',[0 35],'LineWidth', 2, 'XColor', [0 0 0], 'YColor', [0 0 0])
  56. ylabel(axAvAct, 'FR [Hz]')
  57. %% Error analysis based on direction of error made
  58. axDirErr = axes('Units','centimeters', 'Position',[11.5 13.5 8 6]);
  59. hold on
  60. % direction error
  61. boxplot(DirectionErr.peakActDirErr, [1.5,2.5], 'PlotStyle','traditional', 'Symbol','',...
  62. 'Widths',.3,'Labels',{'error(n-1)','error(n+1)'}, 'Positions',[1.5,2.5])
  63. % correct trials
  64. boxplot(DirectionErr.peakActCorr, [1:3],'PlotStyle','traditional','Symbol','',...
  65. 'Widths',.3,'Labels',{'n-1','n','n+1'},'Positions',1:3)
  66. % get object handles and modify them
  67. boxes = findobj(gca, 'type', 'line', 'Tag', 'Box');
  68. medians = findobj(gca, 'type', 'line', 'Tag', 'Median');
  69. outliers = findobj(gca, 'type', 'line', 'Tag', 'Outliers');
  70. whiskers_up = findobj(gca, 'type', 'line', 'Tag', 'Upper Whisker');
  71. whiskers_dn = findobj(gca, 'type', 'line', 'Tag', 'Lower Whisker');
  72. for box=1:length(boxes)
  73. patch(get(boxes(box),'XData'),get(boxes(box),'YData'),...
  74. dirbx_col((size(dirbx_col,1)+1)-box,:),'FaceAlpha',.9, 'lineWidth', 2);
  75. plot(medians(box).XData,medians(box).YData,'-k','LineWidth',2);
  76. end
  77. set([whiskers_up; whiskers_dn],'LineStyle','-','lineWidth',2)
  78. delete(outliers)
  79. delete(medians)
  80. % Significance minus
  81. line(axDirErr, [1 1.5], [1.3 1.3], 'LineWidth', 1.5, 'Color','k')
  82. text(axDirErr, 0.33, 0.83, '**', 'Units', 'normalized', 'FontSize', 14, 'FontWeight', 'bold')
  83. % Significance plus
  84. line(axDirErr, [2.5 3], [1.3 1.3], 'LineWidth', 1.5, 'Color','k')
  85. text(axDirErr, 0.75, 0.87, 'n.s.', 'Units', 'normalized', 'FontSize', 12, 'FontWeight', 'bold')
  86. % axis properties
  87. y_lim = ceil(max(max([DirectionErr.peakActDirErr'; DirectionErr.peakActCorr']))*10)/10;
  88. set(axDirErr, 'TickDir', 'out', 'Box', 'off', 'YLim', [0 1.6], 'YTick',.25:.25:1.5,...
  89. 'LineWidth', 2, 'XColor', [0 0 0], 'YColor', [0 0 0])
  90. xlabel('Preferred Number', 'FontSize', 12)
  91. ylabel('Normalized Activity', 'FontSize', 12)
  92. %% Decoding of error trials
  93. axErrDec = axes('Units','centimeters', 'Position',[1.5 1.5 5 10]);
  94. hold on
  95. errorbar([1,3],[ErrorDecoding.meanCorr, ErrorDecoding.meanErr],...
  96. [ErrorDecoding.semCorr, ErrorDecoding.semErr],...
  97. 'Marker','none','Color','k','CapSize',8,'LineWidth',1.5,...
  98. 'LineStyle','none')
  99. bar_h2 = bar([1,3],[ErrorDecoding.meanCorr, ErrorDecoding.meanErr],0.6,'FaceColor','flat');
  100. bar_h2.CData = colbar(1:2,:);
  101. plot([0, 4],[ErrorDecoding.ShflCorr, ErrorDecoding.ShflCorr], ...
  102. '--', 'Color',[.3 .3 .3],'LineWidth',2)
  103. % axis properties
  104. set(axErrDec,'YLim',[0,70],'TickDir','out','Box','off','XLim',[-.5;4.5],...
  105. 'XTick',[1,3],'XTickLabel',{'Correct','Error'},'YTick',10:20:70,...
  106. 'LineWidth', 2, 'XColor', [0 0 0], 'YColor', [0 0 0])
  107. ylabel(axErrDec,'Accuracy [%]', 'FontSize',12)
  108. xlabel(axErrDec,sprintf('Trial Prediction'), 'FontSize', 12)
  109. %% Decoding of direction of error
  110. axDirErrDec = polaraxes('Units','centimeters', 'Position',[11 1.5 6 10]);
  111. hold on
  112. % Circular plot
  113. thetas = linspace(0,2*pi,4);
  114. gridlines = 20:20:60;
  115. plt_h = zeros(3,1);
  116. for gl = 1:length(gridlines)
  117. polarplot(axDirErrDec,thetas,repmat(gridlines(gl),[4,1]),...
  118. 'LineWidth',.5,'LineStyle','-','Color',[.75 .75 .75])
  119. end
  120. % results of shuffled labels
  121. plt_h(4) = polarplot(axDirErrDec, thetas,[DirectionErrorDecoding.Shfl DirectionErrorDecoding.Shfl(1)],...
  122. 'LineWidth',1.5,'LineStyle',':','Color','k');
  123. for tt3 = 1:3
  124. plt_h(tt3) = polarplot(axDirErrDec, thetas,[DirectionErrorDecoding.meanConfMat(tt3,:), DirectionErrorDecoding.meanConfMat(tt3,1)],...
  125. 'LineWidth',2,'Color', colPL(tt3,:),'Marker','none');
  126. end
  127. % axis properties
  128. set(axDirErrDec,'ThetaZeroLocation','top','ThetaDir','clockwise','ThetaTick',...
  129. [0,120,240],'ThetaTickLabel',{'Correct','+1 Error','-1 Error'},...
  130. 'TickDir','out','RLim',[10, 65],'RGrid','off', 'GridAlpha',.5,...
  131. 'RTick',gridlines,'RTickLabel',sprintfc('%i',gridlines), ...
  132. 'RColor', [0 0 0], 'Linewidth', 2, 'Fontsize', 12)
  133. % legend properties
  134. legend(plt_h,{'Correct','+1 Error','-1 Error','Shuffle'}, 'Units','centimeters', 'Position',...
  135. [8.5 9 3 2])

visualization_ErrorTrials.m, under CC-BY-4.0 · at the source

Overview

Authors: Laura E Seidler1, Stephanie Westendorff1, Andreas Nieder1
  1. Animal Physiology Unit, Institute of Neurobiology, University of Tübingen, Tübingen, Germany
Institutions: University of Tübingen (Germany)
Journal: Nature communications, volume 17, issue 1, article 4227
Dates: received 21 July 2025; accepted 28 April 2026; published online 11 May 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41467-026-73037-9 · PMID 42115156 · PMCID PMC13161402 · OpenAlex W7160831768
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: non-human primate (organism)
Methods: Spectral & time-frequency, Connectivity, Statistics, Machine learning, Preprocessing, Single-unit activity, calcium imaging
Keywords: Cognitive control, Intelligence
MeSH: Parietal Lobe*, Animals, Cognition, Macaca mulatta, Male, Neurons, Photic Stimulation, Psychomotor Performance, Visual Perception (* major topic)
Topic: Cognitive and developmental aspects of mathematical skills (Statistics and Probability, Mathematics), according to OpenAlex
Funding: Deutsche Forschungsgemeinschaft (German Research Foundation) (NI 618/13-1 (FOR 5159))
Citations: not cited yet (Europe PMC); 52 references in the paper

Abstract

The neuronal mechanisms by which the brain flexibly transforms perceived numerical values into corresponding numbers of self-generated actions remain poorly understood. Here, we investigated this sensorimotor transformation process in the parietal cortex of two male rhesus macaques performing a manual counting task. Monkeys viewed visual numerical cues and produced a corresponding number of hand movements. Single-neuron recordings from the ventral intraparietal area (VIP)—a region known to represent perceived numerosity—revealed tuning to the number of intended actions during motor planning. These neurons showed both sustained and transient activity patterns, reflecting static and dynamic codes that support numerical sensorimotor transformation. Population decoding confirmed that VIP encoded intended action number and reflected systematic over- and underestimation errors. Our findings reveal a neural mechanism by which the primate brain converts abstract numerical input into goal-directed motor output, providing insight into the sensorimotor foundations of numerical cognition.

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

figshare 31096300

License: CC-BY-4.0
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Languages: MATLAB (6)
Size: 14 files, 6 scripts
Software Heritage: not checked
Found in: “Code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
  • 28 September 2026: the link answers (HTTP 200)
7 files
At the source:

Code availability

The data and code that support the findings of this study are available from Figshare (10.6084/m9.figshare.31096300).

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

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;
  • 6 scripts, each with its path and the digest of its content;
  • 3 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

Source data are provided with this paper Source data are provided with this paper.

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

Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 2 keywords, 9 MeSH terms, 1 funder, 49 references.

Cite

This paper

Seidler, L. E., Westendorff, S., & Nieder, A. (2026). Sensorimotor transformation of number in the primate parietal cortex. Nature communications, 17(1), 4227. https://doi.org/10.1038/s41467-026-73037-9

BibTeX

@article{seidler2026sensorimotor,
author = {Seidler, Laura E and Westendorff, Stephanie and Nieder, Andreas},
title = {{Sensorimotor transformation of number in the primate parietal cortex}},
journal = {Nature communications},
year = {2026},
month = may,
volume = {17},
number = {1},
pages = {4227},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-73037-9},
url = {https://doi.org/10.1038/s41467-026-73037-9},
pmid = {42115156},
pmcid = {PMC13161402}
}

RIS

TY - JOUR
AU - Seidler, Laura E
AU - Westendorff, Stephanie
AU - Nieder, Andreas
TI - Sensorimotor transformation of number in the primate parietal cortex
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/05/11
VL - 17
IS - 1
SP - 4227
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-73037-9
UR - https://doi.org/10.1038/s41467-026-73037-9
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-73037-9",
"type": "article-journal",
"title": "Sensorimotor transformation of number in the primate parietal cortex",
"container-title": "Nature communications",
"author": [
{
"family": "Seidler",
"given": "Laura E"
},
{
"family": "Westendorff",
"given": "Stephanie"
},
{
"family": "Nieder",
"given": "Andreas"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "4227",
"DOI": "10.1038/s41467-026-73037-9",
"PMID": "42115156",
"PMCID": "PMC13161402",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-73037-9",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
11
]
]
}
}

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

Similar papers

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

[1] doi:10.1162/imag.a.1199 [code]
Sustained alpha oscillations serve attentional prioritization in working memory, not maintenance.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Statistics and Machine Learning Toolbox, 4 references
[2] doi:10.1038/s41467-026-71724-1 [code]
Dynamics of oscillatory power support the integration of perceptual and mnemonic information within the premotor cortex.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, non-human primate, 2 references
[3] doi:10.1126/sciadv.aed9309 [code]
Dynamic population coding of kinematic structure across executed and observed actions in primate premotor cortex.
Journal: Science advances
In common: Statistics and Machine Learning Toolbox, non-human primate, 2 references
[4] doi:10.3390/ani16162494 [code]
Categorical Representation of Numerosity in the Pigeon Entopallium: Coding Format and Temporal Dynamics.
Journal: Animals : an open access journal from MDPI
In common: Statistics and Machine Learning Toolbox, 2 references
[5] doi:10.1038/s41467-026-72510-9 [code]
Single-neuron network topology governs neural computation and learning in primate cortex.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, non-human primate, 1 reference
[6] doi:10.1073/pnas.2602515123 [code]
Initial organization and progressive expansion of the math-responsive brain network during the first school years.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: 2 references
[7] doi:10.1038/s41467-026-73032-0 [code]
Fast efficient coding and sensory adaptation in gain-adaptive recurrent networks.
Journal: Nature communications
In common: 2 references
[8] doi:10.1126/sciadv.aea1927 [code]
An evolutionary conserved neural mechanism for interpersonal coordination in primates.
Journal: Science advances
In common: Statistics and Machine Learning Toolbox, non-human primate, 1 reference
[9] doi:10.1038/s41467-026-72444-2 [code]
Broadband synergy versus oscillatory redundancy in the visual cortex.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, non-human primate, 1 reference
[10] doi:10.1371/journal.pone.0355402 [code]
Disentangling sensory contributions to postural control regulation through sample entropy and neural modeling: A preliminary study.
Journal: PloS one
In common: Statistics and Machine Learning Toolbox, 1 reference

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.