Behavioral states affect eye position tuning in the parietal cortex of macaques.
The 9 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § STAR★Methods › Quantification and statistical analysis › Vector correlation ↔ Miscellaneous functions/vectorCorrelation.m, lines 1 to 129 · score 0.81 · vector correlation, randomly shuffling, vector field, nshuffle, permutation, magnitude · Report a mismatch
- [2] § Results › Spatial relationships of the eye position fields in the two behavioral contexts ↔ Miscellaneous functions/vectorCorrelation.m, lines 1 to 129 · score 0.81 · randomly shuffling, correlation coefficient, vector correlation, vector fields, empirical, eye position · Report a mismatch
- [3] § STAR★Methods › Quantification and statistical analysis › Fano factor analysis ↔ Miscellaneous functions/matchDistributions.m, lines 58 to 159 · score 0.70 · bin edges, distribution matched, probability, quantiles, subsampling, interval · Report a mismatch
- [4] § STAR★Methods › Quantification and statistical analysis ↔ Miscellaneous functions/computeDAMindex.m, lines 1 to 93 · score 0.63 · upper bound, lower bound, adjacent, DAM, matrix · Report a mismatch
- [5] § STAR★Methods › Quantification and statistical analysis › Fano factor analysis ↔ Miscellaneous functions/computeMatchedFanoFactor.m, lines 52 to 87 · score 0.63 · standard error, fitlm, slope, regression, Fano, FF · Report a mismatch
- [6] § Results ↔ Miscellaneous functions/analyzeGazeData.m, lines 1 to 43 · score 0.62 · gaze velocity exceeds, gaze position, amplitude, Saccades, events, eye · Report a mismatch
- [7] § STAR★Methods › Quantification and statistical analysis ↔ @RecordedData/prepareTensorWithFixBin.m, the whole file · a weak match · score 0.59 · partially overlapping bins, neural activity, firing rate, ms, spike, neuron · Report a mismatch
- [8] § Results › Spatial relationships of the eye position fields in the two behavioral contexts ↔ Miscellaneous functions/computeDAMindex.m, lines 1 to 93 · score 0.51 · parietal cortex, eye position, neighboring, DAM, metric, scalar · Report a mismatch
- [9] § STAR★Methods › Quantification and statistical analysis › Fano factor analysis ↔ Miscellaneous functions/computeMatchedFanoFactor.m, lines 52 to 87 · score 0.50 · corresponding variance, Fano, FF, matched · 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 · 177 lines · 6.6 KB · BSD-3-Clause · 2 matches
- function [rho, beta, theta, p] = vectorCorrelation(x, y, u, v, varargin)
- % VECCORRELATION 2D vector correlation between two vector sets
- %
- % [rho, beta, theta, p] = VECCORRELATION(x, y, u, v)
- % Computes the correlation between two paired 2D vector sets [x,y] and
- % [u,v] using the approach from Hanson et al., 1992.
- %
- % Inputs
- % x, y - Numeric vectors (Nx1 or 1xN) containing the first set of
- % paired coordinates. x(i) and y(i) form the i-th 2D vector.
- % u, v - Numeric vectors (same length as x and y) containing the
- % second set of paired coordinates. u(i) and v(i) form the
- % i-th 2D vector to compare to [x(i),y(i)].
- % Name/value optional inputs (use quoted names):
- % 'pvalue' - 'default' (compute p with t-transform) or 'shuffle'
- % (compute empirical p by random shuffling). Default:
- % 'default'.
- % 'nShuffle' - Positive integer number of permutations used when
- % 'pvalue' is 'shuffle'. Default: 1000.
- %
- % Outputs
- % rho - Scalar correlation coefficient in [-1, +1]. Positive values
- % indicate rotation-like alignment; negative values indicate
- % reflection-like alignment.
- % beta - Scale factor relating the magnitudes of the two vector sets.
- % Example: Beta = 2 indicates that [x,y] vector fields must
- % be scaled by a factor of 2 to match [u,v].
- % theta - Rotation/reflection angle in degrees (computed via atand).
- % p - Two-tailed p-value for rho. If 'pvalue' is 'default', p is
- % computed from a t-transform. If 'pvalue' is 'shuffle', p
- % is an empirical two-tailed p-value from the permutation
- % null distribution (add-one correction applied).
- %
- % Notes
- % - All input vectors must have equal length N >= 3 for the t-transform.
- % - When using 'shuffle', the implementation applies the same random
- % permutation to x and y (preserving their pairing) and a separate
- % same random permutation to u and v. Each shuffle yields a rho; the
- % empirical p is the fraction of |rho_null| >= |rho_observed|.
- % - For reproducible permutations, set the RNG state before calling:
- % rng(seed)
- %
- % Examples
- % % Default p via t-transform
- % [rho,beta,theta,p] = veccorrelation(x,y,u,v);
- %
- % % Empirical p with 5000 permutations
- % [rho,beta,theta,p] = veccorrelation(x,y,u,v,'pvalue','shuffle','nShuffle',5000);
- %
- % References
- % ----------
- % Hanson, B., Klink, K., Matsuura, K., Robeson, S. M., & Willmott, C. J. (1992).
- % Vector correlation: Review, exposition, and geographic application.
- % Annals of the Association of American Geographers, 82(1), 103–116.
- % https://doi.org/10.1111/j.1467-8306.1992.tb01900.x
- %
- % Please cite
- % Hadjidimitrakis, K., Vaccari, F. E., De Vitis, M., Filippini, M., Diomedi, S., & Fattori, P. (2026).
- % Spontaneous oculomotor behavior sharpens eye position signals in parietal cortex.
- % [Manuscript under review].
- narginchk(4, inf);
- % Default options
- opts.pvalue = 'default';
- opts.nShuffle = 1000;
- % Parse optional name/value pairs
- if ~isempty(varargin)
- if mod(length(varargin),2) ~= 0
- error('Optional parameters must be provided as name/value pairs.');
- end
- for k = 1:2:length(varargin)
- name = varargin{k};
- val = varargin{k+1};
- validateattributes(name, {'char','string'}, {'scalartext'});
- switch lower(char(name))
- case 'pvalue'
- validateattributes(val, {'char','string'}, {'scalartext'});
- valstr = lower(char(val));
- if ~ismember(valstr, {'default','shuffle'})
- error('''pvalue'' must be ''default'' or ''shuffle''.');
- end
- opts.pvalue = valstr;
- case 'nshuffle'
- validateattributes(val, {'numeric'}, {'scalar','integer','positive'});
- opts.nShuffle = double(val);
- otherwise
- error('Unknown option name ''%s''.', char(name));
- end
- end
- end
- n = length(x);
- if length(y) ~= n || length(u) ~= n || length(v) ~= n
- error('All input vectors must have the same length.');
- end
- % Compute observed rho, beta, theta
- [rho, beta, theta] = veccorrelation_core_compute(x, y, u, v);
- switch opts.pvalue
- case 'default'
- % Default p-value by t-transform (two-tailed)
- tstat = rho * sqrt(length(x) - 2) / sqrt(1 - rho^2);
- p = 2 * (1 - tcdf(abs(tstat), length(x) - 2)); % two-tailed
- case 'shuffle'
- % Shuffle-based p-value
- nShuffle = opts.nShuffle;
- rho_null = zeros(nShuffle, 1);
- % For reproducibility a user can set rng before calling this function.
- for i = 1:nShuffle
- perm_uv = randperm(n); % same permutation for u and v
- u_sh = u(perm_uv);
- v_sh = v(perm_uv);
- [rho_i, ~, ~] = veccorrelation_core_compute(x, y, u_sh, v_sh);
- rho_null(i) = rho_i;
- end
- % Two-tailed empirical p-value: proportion of |rho_null| >= |rho_observed|
- count_extreme = sum(abs(rho_null) >= abs(rho));
- p = (count_extreme + 1) / (nShuffle + 1); % add-one correction
- end
- end
- function [rho, beta, theta] = veccorrelation_core_compute(x, y, u, v)
- % Core computations (returns rho, beta, theta)
- sigmax = std(x, 1);
- sigmay = std(y, 1);
- sigmau = std(u, 1);
- sigmav = std(v, 1);
- tmp = cov(x, u, 1);
- sigmaxu = tmp(1,2);
- tmp = cov(x, v, 1);
- sigmaxv = tmp(1,2);
- tmp = cov(y, u, 1);
- sigmayu = tmp(1,2);
- tmp = cov(y, v, 1);
- sigmayv = tmp(1,2);
- ksi = (sigmaxu * sigmayv) - (sigmaxv * sigmayu);
- % handle degenerate ksi == 0 (avoid division by zero)
- if ksi == 0
- s = 0;
- disp("WARNING: (sigmaxu * sigmayv) - (sigmaxv * sigmayu) == 0, computations might be altered")
- else
- s = ksi / abs(ksi);
- end
- a = sigmaxu^2 + sigmayv^2 + sigmaxv^2 + sigmayu^2 + (2 * s * ksi);
- b = (sigmax^2 + sigmay^2) * (sigmau^2 + sigmav^2);
- if b <= 0
- rho = NaN;
- else
- rho = s * sqrt(a / b);
- end
- if (sigmax^2 + sigmay^2) <= 0
- beta = NaN;
- else
- beta = s * rho * sqrt(sigmau^2 + sigmav^2) / sqrt(sigmax^2 + sigmay^2);
- end
- denom = (sigmaxu - s * sigmayv);
- if denom == 0
- theta = NaN;
- else
- theta = atand((sigmaxv - s * sigmayu) / denom);
- end
- end
vectorCorrelation.m at commit e8bd6f9, under BSD-3-Clause · at the source
Overview
- Department of Biomedical and Neuromotor Sciences, University of Bologna, Piazza di Porta San Donato 2, 40126 Bologna, Italy
- National Research Council (CNR), Institute of Cognitive Sciences and Technologies (ISTC), Padova, Italy
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.
francescovaccari/NeuralDataAnalysis_MATLAB
e8bd6f9a1c65893578e2186f9c793cf9e25a45dc, 31 August 2026Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
28 files
- @Experiment/
Experiment.m , MATLAB, 1,295 lines - @RecordedData/
RecordedData.m , MATLAB, 187 lines - @RecordedData/
addVariable2Tensor.m , MATLAB, 702 lines - @RecordedData/
computeAnovaOnCond.m , MATLAB, 208 lines - @RecordedData/
computeAnovaOnParam.m , MATLAB, 307 lines - @RecordedData/
computedPCA.m , MATLAB, 388 lines - @RecordedData/
loadData.m , MATLAB, 80 lines - @RecordedData/
makeCSMS.m , MATLAB, 209 lines - @RecordedData/
mergeConditionsCSMS.m , MATLAB, 176 lines - @RecordedData/
neuralDecodingClassifica , MATLAB, 671 linestion.m - @RecordedData/
plotPSTH.m , MATLAB, 375 lines - @RecordedData/
plotSDF.m , MATLAB, 166 lines - @RecordedData/
prepareTensorWithFixBin. , MATLAB, 122 lines, 1 matchm - @RecordedData/
prepareTensorWithVariabl , MATLAB, 135 lineseBin.m - @RecordedData/
refineNeuralData.m , MATLAB, 303 lines - @RecordedData/
splitTensorWithParams.m , MATLAB, 153 lines - A_prepareCSMS.m, MATLAB, 30 lines
- B_analyzeObstacle.m, MATLAB, 287 lines
- Miscellaneous functions/
analyzeGazeData.m , MATLAB, 172 lines, 1 match - Miscellaneous functions/
computeDAMindex.m , MATLAB, 106 lines, 2 matches - Miscellaneous functions/
computeMatchedFanoFactor , MATLAB, 87 lines, 2 matches.m - Miscellaneous functions/
computePI.m , MATLAB, 67 lines - Miscellaneous functions/
computedPI.m , MATLAB, 66 lines - Miscellaneous functions/
matchDistributions.m , MATLAB, 159 lines, 1 match - Miscellaneous functions/
shaded_areas.m , MATLAB, 63 lines - Miscellaneous functions/
vectorCorrelation.m , MATLAB, 177 lines, 2 matches - LICENSE, License, 28 lines
- README.md, Text, 62 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;
- 26 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: francescovaccari/
NeuralDataAnalysis_MATLA B - it says that the data are available on request
- it says that the code is available on request
Read it in the paper: doi.org/10.1016/j.isci.2026.117459.
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 3, 28 September 2026
- Authors: added Kostas Hadjidimitrakis (0000-0002-6850-8412); removed Kostas Hadjidimitrakis
- Funding: added European Commission; Ministero dell'Istruzione e del Merito: PRIN2022-2022BK2NPS; NextGenerationEU
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 5 keywords, 88 references.
Cite
This paper
Hadjidimitrakis, K., Vaccari, F. E., De Vitis, M., Filippini, M., Diomedi, S., & Fattori, P. (2026). Behavioral states affect eye position tuning in the parietal cortex of macaques. iScience, 29(9), 117459. https://
BibTeX
@article{hadjidimitrakis
author = {Hadjidimitrakis, Kostas and Vaccari, Francesco Edoardo and De Vitis, Marina and Filippini, Matteo and Diomedi, Stefano and Fattori, Patrizia},
title = {{Behavioral states affect eye position tuning in the parietal cortex of macaques}},
journal = {iScience},
year = {2026},
month = sep,
volume = {29},
number = {9},
pages = {117459},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/
url = {https://
pmid = {42750784},
pmcid = {PMC13578477}
}
RIS
TY - JOUR
AU - Hadjidimitrakis, Kostas
AU - Vaccari, Francesco Edoardo
AU - De Vitis, Marina
AU - Filippini, Matteo
AU - Diomedi, Stefano
AU - Fattori, Patrizia
TI - Behavioral states affect eye position tuning in the parietal cortex of macaques
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/
VL - 29
IS - 9
SP - 117459
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Behavioral states affect eye position tuning in the parietal cortex of macaques",
"container-title": "iScience",
"author": [
{
"family": "Hadjidimitrakis",
"given": "Kostas"
},
{
"family": "Vaccari",
"given": "Francesco Edoardo"
},
{
"family": "De Vitis",
"given": "Marina"
},
{
"family": "Filippini",
"given": "Matteo"
},
{
"family": "Diomedi",
"given": "Stefano"
},
{
"family": "Fattori",
"given": "Patrizia"
}
],
"container-title-short":
"volume": "29",
"issue": "9",
"page": "117459",
"DOI": "10.1016/
"PMID": "42750784",
"PMCID": "PMC13578477",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
7
]
]
}
}
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/s41597-024-03479-7 [code]
- Neurophysiological recordings from parietal areas of macaque brain during an instructed-delay reaching task.Journal: Scientific dataIn common: non-human primate, 10 references
- [2] doi:10.1162/netn_a_00364 [code]
- Similar neural states, but dissimilar decoding patterns for motor control in parietal cortex.Journal: Network neuroscience (Cambridge, Mass.)In common: systems, 7 references
- [3] doi:10.1016/j.isci.2025.111993
- Coding of egocentric distance in the macaque ventral intraparietal area.Journal: iScienceIn common: non-human primate, systems, 6 references
- [4] doi:10.1126/sciadv.adi0645 [code]
- Dissociable components of attention exhibit distinct neuronal signatures in primate visual cortex.Journal: Science advancesIn common: Statistics and Machine Learning Toolbox, 8 references
- [5] doi:10.1038/s42003-026-10036-y
- Drifting population dynamics with transient resets characterize sensorimotor transformation in the monkey superior colliculus.Journal: Communications biologyIn common: non-human primate, systems, 6 references
- [6] doi:10.1371/journal.pcbi.1013396 [code]
- Near-random connections support top-down feature-based attentional modulations in early sensory cortex.Journal: PLoS computational biologyIn common: 7 references
- [7] doi:10.7554/elife.91722
- Brain state and cortical layer-specific mechanisms underlying perception at threshold.Journal: eLifeIn common: non-human primate, 6 references
- [8] doi:10.1371/journal.pbio.3003234 [code]
- Reward expectation yields distinct effects on sensory processing and decision making in the human brain.Journal: PLoS biologyIn common: Statistics and Machine Learning Toolbox, 5 references
- [9] doi:10.1038/s41467-026-74818-y [code]
- Stable readout of visual representations mediates flexible generalization.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, non-human primate, 5 references
- [10] doi:10.1038/s41467-022-35488-8 [code]
- Topographic organization of eye-position dependent gain fields in human visual cortex.Journal: Nature communicationsIn common: systems, 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, 26 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:5be50551748f7fbd…
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.1016/j.isci.2026.117459)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.117459.svg
:target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.117459
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.117459"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.117459.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.
