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, not to 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–129 · score 0.81 · vector correlation, randomly shuffling, vector field, nshuffle, permutation, magnitude
- [2] § Results › Spatial relationships of the eye position fields in the two behavioral contexts ↔ Miscellaneous functions/vectorCorrelation.m, lines 1–129 · score 0.81 · randomly shuffling, correlation coefficient, vector correlation, vector fields, empirical, eye position
- [3] § STAR★Methods › Quantification and statistical analysis › Fano factor analysis ↔ Miscellaneous functions/matchDistributions.m, lines 58–159 · score 0.70 · bin edges, distribution matched, probability, quantiles, subsampling, interval
- [4] § STAR★Methods › Quantification and statistical analysis ↔ Miscellaneous functions/computeDAMindex.m, lines 1–93 · score 0.63 · upper bound, lower bound, adjacent, DAM, matrix
- [5] § STAR★Methods › Quantification and statistical analysis › Fano factor analysis ↔ Miscellaneous functions/computeMatchedFanoFactor.m, lines 52–87 · score 0.63 · standard error, fitlm, slope, regression, Fano, FF
- [6] § Results ↔ Miscellaneous functions/analyzeGazeData.m, lines 1–43 · score 0.62 · gaze velocity exceeds, gaze position, amplitude, Saccades, events, eye
- [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
- [8] § Results › Spatial relationships of the eye position fields in the two behavioral contexts ↔ Miscellaneous functions/computeDAMindex.m, lines 1–93 · score 0.51 · parietal cortex, eye position, neighboring, DAM, metric, scalar
- [9] § STAR★Methods › Quantification and statistical analysis › Fano factor analysis ↔ Miscellaneous functions/computeMatchedFanoFactor.m, lines 52–87 · score 0.50 · corresponding variance, Fano, FF, matched
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 · 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/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
- [2] 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
- [3] doi:10.1371/journal.pbio.3003707 [code]
- Behavioral engagement facilitates auditory neuron responses beyond their receptive fields.Journal: PLoS biologyIn common: Statistics and Machine Learning Toolbox, non-human primate, systems, 4 references
- [4] doi:10.1038/s41467-026-72146-9 [code]
- Modeling attention and binding in the brain through bidirectional recurrent gating.Journal: Nature communicationsIn common: 5 references
- [5] doi:10.1038/s41598-026-55225-1 [code]
- Benchmarking criteria to determine latent linear dimensionality in neural data.Journal: Scientific reportsIn common: Statistics and Machine Learning Toolbox, 3 references
- [6] doi:10.1038/s41467-026-75492-w [code]
- Place and behavioral modulation of hippocampal neurons during immobility.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, systems, 3 references
- [7] doi:10.1111/ejn.70543 [code]
- Neural Oscillations Track Subjective and Pupillary Arousal During Naturalistic Movie Viewing.Journal: The European journal of neuroscienceIn common: Statistics and Machine Learning Toolbox, 3 references
- [8] doi:10.1038/s41467-026-70326-1 [code]
- Selective control of prefrontal neural timescales by parietal cortex.Journal: Nature communicationsIn common: non-human primate, systems, 2 references
- [9] doi:10.7554/elife.110685 [code]
- Sensory adaptation and pupil-linked arousal support flexible evidence accumulation during perceptual decision making.Journal: eLifeIn common: Statistics and Machine Learning Toolbox, non-human primate, 2 references
- [10] doi:10.1038/s41467-026-71725-0 [code]
- Interactions across hemispheres in prefrontal cortex reflect global cognitive processing.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, non-human primate, 2 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 its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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.
