Sensorimotor transformation of number in the primate parietal cortex.
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 3 matches
- [1] § Results › Behavioral relevance of motor planning activity for the motor counting process ↔ visualization_ErrorTrials.m, lines 17 to 71 · score 0.76 · incorrect trials, numerical distance, tuning curves, normalized activity, firing rate, boxplots · block
oscr:b:Z0MSBYZQ4MS0N-M· Report a mismatch - [2] § Methods › Error trial analysis ↔ visualization_ErrorTrials.m, lines 17 to 71 · score 0.59 · incorrect trials, error trials, firing rates, activity, position · block
oscr:b:Z0MSBYZQ4MS0N-M· Report a mismatch - [3] § Methods › Time-resolved population analyses ↔ visualization_TempDecoding.m, lines 212 to 241 · score 0.53 · cross phase, motor preparation, decoding, trained, instruction, accuracy · block
oscr:b:ZS1X5NYXYNDF5-2· 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 · 170 lines · 6.7 KB · CC-BY-4.0 · 2 matches
- clear, clc
- load('data_ErrorActivity')
- load('data_SVMDecodingError.mat')
- fig = figure('Units','centimeters', 'Position',[2 2 20 22], 'Color','w');
- %% Define variables
- dist = -4:4;
- bx_col =[0.5 0.5 0.5; 0 0 0];
- m_col = { '-k','-w'};
- dirbx_col = [.7 .7 .7;.7 .7 .7;1 1 1;0 0 0;1 1 1];
- colbar = [1 1 1;.6 .6 .6;.6 .6 .6;1 1 1];
- colPL = [0.55 0.728 0.106; 0.3271 0.569 0.7819; 0.79 0 0];
- %% Error Analysis
- % Tuning curves correct and incorrect trials
- axDistErrTun = axes('Units','centimeters', 'Position',[1.5 13.5 8 6]);
- hold on
- % mean error tuning
- plot(dist, DistErrorTuning.meanErrTun, '-','Linewidth', 2, 'Color',[.5 .5 .5])
- errorbar(dist, DistErrorTuning.meanErrTun, DistErrorTuning.semErrTun,'Color',[.5 .5 .5],'LineStyle',...
- 'none','CapSize',0, 'LineWidth',1.5)
- % mean correct tuning
- plot(dist, DistErrorTuning.meanCorrTun,'k-','Linewidth',2)
- errorbar(dist, DistErrorTuning.meanCorrTun, DistErrorTuning.semCorrTun,'k','LineStyle','none',...
- 'CapSize',0,'LineWidth',1.5)
- % axis properties
- set(axDistErrTun, 'Box','off','TickDir','out', 'XLim',[-4.25 4.25],...
- 'YTick',.4:.2:1,'YLim',[.2 1.1 ], 'LineWidth', 2, 'XColor', [0 0 0], 'YColor', [0 0 0])
- xlabel('Numerical Distance', 'FontSize', 12)
- ylabel('Normalized Activity', 'FontSize', 12)
- % Create legend
- legend('Error', '', 'Correct', 'FontSize', 12)
- % Add average firing rate during correct and incorrect trials
- axAvAct = axes('Units', 'centimeters', 'Position',[5 14 1.3 2.6]);
- hold on
- boxplot(DistErrorTuning.avFR, 'PlotStyle','traditional','Symbol','','Widths',.5, 'Positions',[1,2])
- % get object handles and modify them
- boxes = findobj(gcf, 'type', 'line', 'Tag', 'Box');
- medians = findobj(gcf, 'type', 'line', 'Tag', 'Median');
- outliers = findobj(gcf, 'type', 'line', 'Tag', 'Outliers');
- whiskers_up = findobj(gcf, 'type', 'line', 'Tag', 'Upper Whisker');
- whiskers_dn = findobj(gcf, 'type', 'line', 'Tag', 'Lower Whisker');
- for box=1:length(boxes)
- patch(get(boxes(box),'XData'),get(boxes(box),'YData'),...
- bx_col(box,:),'FaceAlpha',.9, 'linew', 2);
- plot(medians(box).XData,medians(box).YData, m_col{box},'LineWidth',2);
- end
- set([whiskers_up;whiskers_dn], 'LineStyle','-', 'lineWidth', 2)
- delete(outliers)
- delete(medians)
- % Show significance
- line(axAvAct, [1 2], [31 31], 'LineWidth', 1.5, 'Color','k')
- text(axAvAct, 0.35, 0.95, '***', 'Units', 'normalized', 'FontSize', 12, 'FontWeight', 'bold')
- % axis properties
- set(axAvAct, 'Box','off','TickDir','out','XLim',[.5 2.5],...
- 'XTick',1:2,'XTickLabel',{'Correct','Error'},'YTick',0:5:30,...
- 'YLim',[0 35],'LineWidth', 2, 'XColor', [0 0 0], 'YColor', [0 0 0])
- ylabel(axAvAct, 'FR [Hz]')
- %% Error analysis based on direction of error made
- axDirErr = axes('Units','centimeters', 'Position',[11.5 13.5 8 6]);
- hold on
- % direction error
- boxplot(DirectionErr.peakActDirErr, [1.5,2.5], 'PlotStyle','traditional', 'Symbol','',...
- 'Widths',.3,'Labels',{'error(n-1)','error(n+1)'}, 'Positions',[1.5,2.5])
- % correct trials
- boxplot(DirectionErr.peakActCorr, [1:3],'PlotStyle','traditional','Symbol','',...
- 'Widths',.3,'Labels',{'n-1','n','n+1'},'Positions',1:3)
- % get object handles and modify them
- boxes = findobj(gca, 'type', 'line', 'Tag', 'Box');
- medians = findobj(gca, 'type', 'line', 'Tag', 'Median');
- outliers = findobj(gca, 'type', 'line', 'Tag', 'Outliers');
- whiskers_up = findobj(gca, 'type', 'line', 'Tag', 'Upper Whisker');
- whiskers_dn = findobj(gca, 'type', 'line', 'Tag', 'Lower Whisker');
- for box=1:length(boxes)
- patch(get(boxes(box),'XData'),get(boxes(box),'YData'),...
- dirbx_col((size(dirbx_col,1)+1)-box,:),'FaceAlpha',.9, 'lineWidth', 2);
- plot(medians(box).XData,medians(box).YData,'-k','LineWidth',2);
- end
- set([whiskers_up; whiskers_dn],'LineStyle','-','lineWidth',2)
- delete(outliers)
- delete(medians)
- % Significance minus
- line(axDirErr, [1 1.5], [1.3 1.3], 'LineWidth', 1.5, 'Color','k')
- text(axDirErr, 0.33, 0.83, '**', 'Units', 'normalized', 'FontSize', 14, 'FontWeight', 'bold')
- % Significance plus
- line(axDirErr, [2.5 3], [1.3 1.3], 'LineWidth', 1.5, 'Color','k')
- text(axDirErr, 0.75, 0.87, 'n.s.', 'Units', 'normalized', 'FontSize', 12, 'FontWeight', 'bold')
- % axis properties
- y_lim = ceil(max(max([DirectionErr.peakActDirErr'; DirectionErr.peakActCorr']))*10)/10;
- set(axDirErr, 'TickDir', 'out', 'Box', 'off', 'YLim', [0 1.6], 'YTick',.25:.25:1.5,...
- 'LineWidth', 2, 'XColor', [0 0 0], 'YColor', [0 0 0])
- xlabel('Preferred Number', 'FontSize', 12)
- ylabel('Normalized Activity', 'FontSize', 12)
- %% Decoding of error trials
- axErrDec = axes('Units','centimeters', 'Position',[1.5 1.5 5 10]);
- hold on
- errorbar([1,3],[ErrorDecoding.meanCorr, ErrorDecoding.meanErr],...
- [ErrorDecoding.semCorr, ErrorDecoding.semErr],...
- 'Marker','none','Color','k','CapSize',8,'LineWidth',1.5,...
- 'LineStyle','none')
- bar_h2 = bar([1,3],[ErrorDecoding.meanCorr, ErrorDecoding.meanErr],0.6,'FaceColor','flat');
- bar_h2.CData = colbar(1:2,:);
- plot([0, 4],[ErrorDecoding.ShflCorr, ErrorDecoding.ShflCorr], ...
- '--', 'Color',[.3 .3 .3],'LineWidth',2)
- % axis properties
- set(axErrDec,'YLim',[0,70],'TickDir','out','Box','off','XLim',[-.5;4.5],...
- 'XTick',[1,3],'XTickLabel',{'Correct','Error'},'YTick',10:20:70,...
- 'LineWidth', 2, 'XColor', [0 0 0], 'YColor', [0 0 0])
- ylabel(axErrDec,'Accuracy [%]', 'FontSize',12)
- xlabel(axErrDec,sprintf('Trial Prediction'), 'FontSize', 12)
- %% Decoding of direction of error
- axDirErrDec = polaraxes('Units','centimeters', 'Position',[11 1.5 6 10]);
- hold on
- % Circular plot
- thetas = linspace(0,2*pi,4);
- gridlines = 20:20:60;
- plt_h = zeros(3,1);
- for gl = 1:length(gridlines)
- polarplot(axDirErrDec,thetas,repmat(gridlines(gl),[4,1]),...
- 'LineWidth',.5,'LineStyle','-','Color',[.75 .75 .75])
- end
- % results of shuffled labels
- plt_h(4) = polarplot(axDirErrDec, thetas,[DirectionErrorDecoding.Shfl DirectionErrorDecoding.Shfl(1)],...
- 'LineWidth',1.5,'LineStyle',':','Color','k');
- for tt3 = 1:3
- plt_h(tt3) = polarplot(axDirErrDec, thetas,[DirectionErrorDecoding.meanConfMat(tt3,:), DirectionErrorDecoding.meanConfMat(tt3,1)],...
- 'LineWidth',2,'Color', colPL(tt3,:),'Marker','none');
- end
- % axis properties
- set(axDirErrDec,'ThetaZeroLocation','top','ThetaDir','clockwise','ThetaTick',...
- [0,120,240],'ThetaTickLabel',{'Correct','+1 Error','-1 Error'},...
- 'TickDir','out','RLim',[10, 65],'RGrid','off', 'GridAlpha',.5,...
- 'RTick',gridlines,'RTickLabel',sprintfc('%i',gridlines), ...
- 'RColor', [0 0 0], 'Linewidth', 2, 'Fontsize', 12)
- % legend properties
- legend(plt_h,{'Correct','+1 Error','-1 Error','Shuffle'}, 'Units','centimeters', 'Position',...
- [8.5 9 3 2])
visualization_ErrorTrials.m, under CC-BY-4.0 · at the source
Overview
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
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
7 files
- visualization_ErrorTrial
s.m , MATLAB, 170 lines, 2 matches - visualization_NormActivi
ty.m , MATLAB, 58 lines - visualization_SVMDecodin
g.m , MATLAB, 88 lines - visualization_TempDecodi
ng.m , MATLAB, 241 lines, 1 match - visualization_behavior.m
, MATLAB, 123 lines - visualization_selAnova.m
, MATLAB, 47 lines - readme.txt, Text, 12 lines
Code availability
The data and code that support the findings of this study are available from Figshare (10.6084/
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://
BibTeX
@article{seidler2026sens
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/
url = {https://
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/
VL - 17
IS - 1
SP - 4227
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"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":
"volume": "17",
"issue": "1",
"page": "4227",
"DOI": "10.1038/
"PMID": "42115156",
"PMCID": "PMC13161402",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"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.1038/s41467-022-34457-5
- Number selective sensorimotor neurons in the crow translate perceived numerosity into number of actions.Journal: Nature communicationsIn common: 21 references, author Andreas Nieder
- [2] doi:10.1371/journal.pbio.3002520 [code]
- Sequential neuronal processing of number values, abstract decision, and action in the primate prefrontal cortex.Journal: PLoS biologyIn common: Statistics and Machine Learning Toolbox, 4 references, author Andreas Nieder
- [3] doi:10.1098/rstb.2020.0529 [code]
- The evolution of quantitative sensitivity.Journal: Philosophical transactions of the Royal Society of London. Series B, Biological sciencesIn common: 4 references, author Andreas Nieder
- [4] doi:10.1038/s41467-024-55599-8 [code]
- Hierarchical representations of relative numerical magnitudes in the human frontoparietal cortex.Journal: Nature communicationsIn common: 7 references
- [5] doi:10.1126/sciadv.adh8685
- The neuronal implementation of representational geometry in primate prefrontal cortex.Journal: Science advancesIn common: non-human primate, 3 references, author Andreas Nieder
- [6] doi:10.1038/s41467-022-29030-z [code]
- Numerosity tuning in human association cortices and local image contrast representations in early visual cortex.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, 5 references
- [7] doi:10.1038/s42003-025-09041-4 [code]
- Numerosity adaptation suppresses early visual responses.Journal: Communications biologyIn common: Statistics and Machine Learning Toolbox, 5 references
- [8] doi:10.1038/s42003-025-08395-z [code]
- Distinct neural representational geometries of numerosity in early visual and association regions across visual streams.Journal: Communications biologyIn common: Statistics and Machine Learning Toolbox, 5 references
- [9] doi:10.1038/s42003-026-09752-2 [code]
- Population coding for visual and auditory quantity in human numerotopic maps.Journal: Communications biologyIn common: Statistics and Machine Learning Toolbox, 2 references, author Andreas Nieder
- [10] doi:10.1093/cercor/bhac108 [code]
- A connectome-based neuromarker of nonverbal number acuity and arithmetic skills.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: 5 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, 6 scripts, and 3 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:142fd32a2f0d9e3e…
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.1038/s41467-026-73037-9)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-73037-9.svg
:target: https://openscicode.org/badge/doi/10.1038/s41467-026-73037-9
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-73037-9"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-73037-9.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->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)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
