Trial-by-trial covariation of pupil dilation, microsaccades, and visual evoked potentials during saliency processing.
4 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 5 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 › Method details › Data analysis ↔ code/Step_06_PlotFigure_02.m, lines 58 to 207 · score 0.71 · 50–400 ms, late rebound, Microsaccade rate, vertical, horizontal, position · block
oscr:b:0B340SRQ4AC77-5· Report a mismatch - [2] § STAR★Methods › Method details › Data analysis ↔ code/Step_07_PlotFigure_03.m, lines 59 to 116 · score 0.68 · 90–110 ms, 130 ms, 160 ms, 205 ms, 180 ms, 90 ms · block
oscr:b:2MT3HFPE6MP9G-N· Report a mismatch - [3] § Results › Stimulus contrast modulated visually evoked potentials ↔ code/Step_07_PlotFigure_03.m, lines 59 to 116 · score 0.65 · 90–110 ms, 130 ms, 160 ms, 205 ms, 180 ms, 90 ms · block
oscr:b:2MT3HFPE6MP9G-N· Report a mismatch - [4] § STAR★Methods › Method details › Data analysis ↔ code/functions/microsacc.m, the whole file · a weak match · score 0.57 · velocity threshold, SDs, vertical, median, horizontal, position · block
oscr:b:8NQZ38Q3E7Y6K-S· Report a mismatch - [5] § STAR★Methods › Method details › Data analysis ↔ code/Step_03_PRET_SubjectLevel.m, lines 13 to 74 · score 0.52 · 500–1500 ms, window, median, RT, modeled · block
oscr:b:PGKA0MZPNF9K9-5· 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 · 246 lines · 6.5 KB · no license · 2 matches
- clearvars
- load('..\data\processed\\eeg_c.mat')
- load('..\data\processed\\eeg_pn.mat')
- load('..\data\processed\\eeg_t.mat')
- load("..\data\raw\\EEGchanloc.mat")
- load('..\data\processed\\all_data.mat')
- load("..\data\processed\\op.mat")
- acc = mean(all_data(:,:,4),2);
- ol_acc = acc < 0.6;
- all_data(ol_acc,:,:) = [];
- eeg_c (ol_acc,:,:) = [];
- eeg_pn (ol_acc,:,:) = [];
- eeg_t (:,:,ol_acc,:) = [];
- %%
- fs = 1000;
- num_sub = size(eeg_c,1);
- num_trial = size(eeg_c,2);
- num_point = size(eeg_c,3);
- num_cond = 2;
- bc_tw = [901:1000];
- data_eeg_c = nan(num_cond,num_sub,num_point);
- data_eeg_pn = nan(num_cond,num_sub,num_point);
- for sub = 1:num_sub
- sub_beh = squeeze(all_data(sub,:,:));
- sub_eeg_c = squeeze(eeg_c(sub,:,:));
- sub_eeg_pn = squeeze(eeg_pn(sub,:,:));
- sub_eeg_c = sub_eeg_c - mean(sub_eeg_c(:,bc_tw),2);
- sub_eeg_pn = sub_eeg_pn - mean(sub_eeg_pn(:,bc_tw),2);
- for cond = 1:num_cond
- idx = find(sub_beh(:,4) & sub_beh(:,2) == cond);
- ol = [];
- for t = 1:length(idx)
- t_eeg = sub_eeg_c(idx(t),:);
- if isnan(mean(t_eeg(:)))
- ol = [ol,t];
- end
- end
- idx(ol) = [];
- if size(sub_eeg_c(idx,:),1) >= 30
- data_eeg_c(cond,sub,:) = mean(sub_eeg_c(idx,:),'omitnan');
- data_eeg_pn(cond,sub,:) = mean(sub_eeg_pn(idx,:),'omitnan');
- else
- disp(sub)
- end
- end
- end
- %%
- figure('Renderer', 'painters', 'Position', [0 0 800 800],'Visible','on');
- set(gcf, 'Color', 'white');
- clc
- subplot(4,4,[1 2 5 6])
- hold on
- tar_tw = [90 110];
- plotPMT(data_eeg_c, tar_tw, 'Amplitude (\muv)', 14, true)
- Yl = get(gca,'YLim');
- text(90,Yl(2),'C1','HorizontalAlignment','left','VerticalAlignment','top')
- lilChange('A',[-10:1:10])
- xlim([-100 500])
- PlotLed({'High','Low'},{[.8 .1 0];[0 .5 .8]},'b')
- subplot(4,4,[3 4 7 8])
- temp = mean(data_eeg_c(:,:,tar_tw(1)+1001:tar_tw(2)+1001),3);
- plot_violin(temp, 'Amplitude (\muv)', {'Low','High','Diff'}, 14)
- rsl(1,:) = doStast(temp);
- lilChange('B',[-10:1:10])
- op(1,6,:) = temp(1,:);
- op(2,6,:) = temp(2,:);
- op(3,6,:) = temp(2,:) - temp(1,:);
- subplot(4,4,[9 10 13 14])
- hold on
- tar_tw = [130 160; 180 205];
- plotPMT(data_eeg_pn, tar_tw, 'Amplitude (\muv)', 14, false)
- Yl = get(gca,'YLim');
- text(130,Yl(2),'P1','HorizontalAlignment','left','VerticalAlignment','top')
- text(180,Yl(2),'N1','HorizontalAlignment','left','VerticalAlignment','top')
- lilChange('D',[-10:1:10])
- xlim([-100 500])
- PlotLed({'High','Low'},{[.8 .1 0];[0 .5 .8]},'b')
- subplot(4,4,[11 15])
- temp = mean(data_eeg_pn(:,:,tar_tw(1,1)+1001:tar_tw(1,2)+1001),3);
- plot_violin(temp, 'Amplitude (\muv)', {'Low','High','Diff'}, 14)
- rsl(2,:) = doStast(temp);
- lilChange('E',[-10:2:10])
- op(1,7,:) = temp(1,:);
- op(2,7,:) = temp(2,:);
- op(3,7,:) = temp(2,:) - temp(1,:);
- subplot(4,4,[12 16])
- temp = mean(data_eeg_pn(:,:,tar_tw(2,1)+1001:tar_tw(2,2)+1001),3);
- plot_violin(temp, 'Amplitude (\muv)', {'Low','High','Diff'}, 14)
- rsl(3,:) = doStast(temp);
- lilChange('F',[-10:2:10])
- op(1,8,:) = temp(1,:);
- op(2,8,:) = temp(2,:);
- op(3,8,:) = temp(2,:) - temp(1,:);
- print('..\figure\Figure_03_01.jpeg','-djpeg','-r500')
- savefig("..\figure\Figure_03_01.fig")
- save("..\data\processed\op.mat","op")
- close all
- %%
- figure('Renderer', 'painters', 'Position', [0 0 800/3 800],'Visible','on');
- set(gcf, 'Color', 'white');
- subplot(3,1,1)
- tar_tw = [90:110];
- temp = squeeze(mean(mean(eeg_t(:,:,:,tar_tw+1001),4),3));
- temp = temp(2,:) - temp(1,:);
- topoplot(temp,cl,'maplimits',[-.5 .5]);
- text(0,.6,'C1','FontSize',14,'HorizontalAlignment','center')
- title('C','FontSize',20);ax = gca;ax.TitleHorizontalAlignment = 'left';
- c = cbar;
- c.Position(1) = .88;
- c.YTick = -1:.5:1;
- yl = ylabel(c,'\muv','FontSize',12,'HorizontalAlignment','right','VerticalAlignment','bottom');
- yl.Position(1) = min(xlim(c));
- axis fill
- subplot(3,1,2)
- tar_tw = [130:160];
- temp = squeeze(mean(mean(eeg_t(:,:,:,tar_tw+1001),4),3));
- temp = temp(2,:) - temp(1,:);
- topoplot(temp,cl,'maplimits',[-.5 .5]);
- text(0,.6,'P1','FontSize',14,'HorizontalAlignment','center')
- title('G','FontSize',20);ax = gca;ax.TitleHorizontalAlignment = 'left';
- c = cbar;
- c.Position(1) = .88;
- c.YTick = -1:.5:1;
- yl = ylabel(c,'\muv','FontSize',12,'HorizontalAlignment','right','VerticalAlignment','bottom');
- yl.Position(1) = min(xlim(c));
- axis fill
- subplot(3,1,3)
- tar_tw = [180:205];
- temp = squeeze(mean(mean(eeg_t(:,:,:,tar_tw+1001),4),3));
- temp = temp(2,:) - temp(1,:);
- topoplot(temp,cl,'maplimits',[-.5 .5]);
- text(0,.6,'N1','FontSize',14,'HorizontalAlignment','center')
- title('H','FontSize',20);ax = gca;ax.TitleHorizontalAlignment = 'left';
- c = cbar;
- c.Position(1) = .88;
- c.YTick = -1:.5:1;
- yl = ylabel(c,'\muv','FontSize',12,'HorizontalAlignment','right','VerticalAlignment','bottom');
- yl.Position(1) = min(xlim(c));
- axis fill
- print('..\figure\Figure_03_02.jpeg','-djpeg','-r500')
- % close all
- %%
- im1 = imread('..\figure\Figure_03_01.jpeg');
- im2 = imread('..\figure\Figure_03_02.jpeg');
- im1_b = mean(im1,[1,3]);
- im1 = im1(:,270:3765,:);
- im2_b = mean(im2,[1,3]);
- im2 = im2(:,271:end,:);
- im = [im1,im2];
- imshow(im)
- imwrite(im,'..\figure\Figure_03.jpeg')
- close all
- %%
- function lilChange(ttl,ytck)
- title(ttl,'FontSize',20);ax = gca;ax.TitleHorizontalAlignment = 'left';
- if ~isempty(ytck)
- yticks(ytck)
- end
- end
- function plotPMT(data, tar_tw, ttl, fs, one_tar)
- col = {[0 .5 .8];[.8 .1 0];[0 .5 0]};
- plot_tw = [-100:500];
- x = plot_tw;
- data = data(:,:,x+1001);
- for cond = 1:size(data,1)
- cond_pup = squeeze(data(cond,:,:));
- err_pup = std(cond_pup)/sqrt(length(cond_pup(:,1))-1);
- y = mean(cond_pup);
- plot(x,y,'linewidth',1,'Color',col{cond});
- fill([x';flipud(x')],[y'-err_pup';flipud(y'+err_pup')], ...
- col{cond}, ...
- 'FaceAlpha',0.2, ...
- 'EdgeColor','none')
- end
- f = gca;
- Yl = f.YLim;
- if one_tar
- fill([tar_tw(1) tar_tw(1) tar_tw(end) tar_tw(end)], ...
- [Yl(1) Yl(2) Yl(2) Yl(1)], 'k', ...
- 'FaceAlpha',0.1, ...
- 'EdgeColor','none')
- else
- fill([tar_tw(1,1) tar_tw(1,1) tar_tw(1,2) tar_tw(1,2)], ...
- [Yl(1) Yl(2) Yl(2) Yl(1)], 'k', ...
- 'FaceAlpha',0.1, ...
- 'EdgeColor','none')
- fill([tar_tw(2,1) tar_tw(2,1) tar_tw(2,2) tar_tw(2,2)], ...
- [Yl(1) Yl(2) Yl(2) Yl(1)], 'k', ...
- 'FaceAlpha',0.1, ...
- 'EdgeColor','none')
- end
- yline(0)
- xline(0)
- axis square;
- ylim(Yl);
- xlim([plot_tw(1) plot_tw(end)])
- ylabel(ttl,'FontSize',fs)
- xlabel(['Time frome target onset (ms)'],'FontSize',fs)
- end
Step_07_PlotFigure_03.m, no license · at the source
Overview
- Eye-Tracking Laboratory, Shuang Ho Hospital, Taipei Medical University, New Taipei City, Taiwan
- Institute of Cognitive Neuroscience, National Central University, Taoyuan, Taiwan
- Department of Physical Activity and Sport Science, Universidad Peruana de Ciencias Aplicadas, Lima, Peru
- Department of Education and Humanities in Medicine, School of Medicine, College of Medicine, Taipei Medical University, Taipei, Taiwan
- Department of Anesthesiology, School of Medicine, College of Medicine, Taipei Medical University, Taipei, Taiwan
- Department of Anesthesiology, Shuang Ho Hospital, Taipei Medical University, New Taipei City, Taiwan
- Ph.D. Program in Medical Neuroscience, College of Medical Science and Technology, Taipei Medical University, Taipei, Taiwan
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 5 matches between paragraphs and lines of code.
OSF 9fkm7
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
24 files
- code/
Step_02_TrimmingEEG.m , MATLAB, 69 lines - code/
Step_03_PRET_SubjectLeve , MATLAB, 75 lines, 1 matchl.m - code/
Step_04_PRET_TrialLevel. , MATLAB, 64 linesm - code/
Step_05_PlotFigure_01.m , MATLAB, 144 lines - code/
Step_06_PlotFigure_02.m , MATLAB, 312 lines, 1 match - code/
Step_07_PlotFigure_03.m , MATLAB, 246 lines, 2 matches - code/
Step_09_PlotFigure_05.m , MATLAB, 158 lines - code/
Step_10_MakeTable.m , MATLAB, 91 lines - code/
Step_11_table01.R , R, 79 lines - code/
Step_12_table02.R , R, 62 lines - code/
Step_13_table03.R , R, 57 lines - code/
Step_14_table04.R , R, 57 lines - code/
Step_15_table05.R , R, 49 lines - code/
Step_16_supfig_MainSeque , MATLAB, 51 linesnce.m - code/
Step_17_suptable01.R , R, 59 lines - code/
Step_18_suptable02.R , R, 80 lines - code/
functions/ , MATLAB, 26 linesPlotLed.m - code/
functions/ , MATLAB, 70 linesPlotSigg.m - code/
functions/ , MATLAB, 9 linesdoStast.m - code/
functions/ , MATLAB, 107 lines, 1 matchmicrosacc.m - code/
functions/ , MATLAB, 390 linespermutest.m - code/
functions/ , MATLAB, 77 linesplot_violin.m - code/
functions/ , MATLAB, 25 linesrmSacs.m - code/
functions/ , MATLAB, 249 linesviolin.m
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;
- 24 scripts, each with its path and the digest of its content;
- 5 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: OSF 9fkm7
- 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.116043.
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, 4 authors, 2 keywords, 1 funder, 108 references.
Cite
This paper
Chang, Y.-H., Kuo, C.-C., Barquero, C., & Wang, C.-A. (2026). Trial-by-trial covariation of pupil dilation, microsaccades, and visual evoked potentials during saliency processing. iScience, 29(6), 116043. https://
BibTeX
@article{chang2026trial,
author = {Chang, Yi-Hsuan and Kuo, Chen-Chung and Barquero, Cesar and Wang, Chin-An},
title = {{Trial-by-trial covariation of pupil dilation, microsaccades, and visual evoked potentials during saliency processing}},
journal = {iScience},
year = {2026},
month = may,
volume = {29},
number = {6},
pages = {116043},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/
url = {https://
pmid = {42211119},
pmcid = {PMC13214550}
}
RIS
TY - JOUR
AU - Chang, Yi-Hsuan
AU - Kuo, Chen-Chung
AU - Barquero, Cesar
AU - Wang, Chin-An
TI - Trial-by-trial covariation of pupil dilation, microsaccades, and visual evoked potentials during saliency processing
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/
VL - 29
IS - 6
SP - 116043
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Trial-by-trial covariation of pupil dilation, microsaccades, and visual evoked potentials during saliency processing",
"container-title": "iScience",
"author": [
{
"family": "Chang",
"given": "Yi-Hsuan"
},
{
"family": "Kuo",
"given": "Chen-Chung"
},
{
"family": "Barquero",
"given": "Cesar"
},
{
"family": "Wang",
"given": "Chin-An"
}
],
"container-title-short":
"volume": "29",
"issue": "6",
"page": "116043",
"DOI": "10.1016/
"PMID": "42211119",
"PMCID": "PMC13214550",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
20
]
]
}
}
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/s41598-025-86399-9
- Disrupted microsaccade responses in late-life depression.Journal: Scientific reportsIn common: clinical / translational, 20 references
- [2] doi:10.1038/s41598-025-04748-0 [code]
- Eyes on hold: motion task difficulty jointly delays microsaccade and pupil responses.Journal: Scientific reportsIn common: 14 references
- [3] doi:10.1126/sciadv.abi9979 [code]
- A unified model of the task-evoked pupil response.Journal: Science advancesIn common: Statistics and Machine Learning Toolbox, 13 references
- [4] doi:10.1371/journal.pone.0335504
- Fixational saccade inhibition and pupil dilation during self-paced limb movement preparation.Journal: PloS oneIn common: 13 references
- [5] doi:10.3758/s13428-023-02098-1 [code]
- From pre-processing to advanced dynamic modeling of pupil data.Journal: Behavior research methodsIn common: Image Processing Toolbox, Statistics and Machine Learning Toolbox, 10 references
- [6] doi:10.1523/eneuro.0005-23.2023 [code]
- Pupil Size Is Sensitive to Low-Level Stimulus Features, Independent of Arousal-Related Modulation.Journal: eNeuroIn common: Statistics and Machine Learning Toolbox, 10 references
- [7] doi:10.1038/s42003-025-08945-5 [code]
- Eye metrics often reflect visual conscious awareness, conscious content, and neural processing in cerebral blindness.Journal: Communications biologyIn common: EEGLAB, Image Processing Toolbox, Statistics and Machine Learning Toolbox, 6 references
- [8] doi:10.1038/s42003-025-08321-3 [code]
- Guided visual search is associated with target boosting and distractor suppression in early visual cortex.Journal: Communications biologyIn common: rstatix, lme4, tidyverse, 1 other tool, 5 references
- [9] doi:10.1186/s13229-023-00537-6 [code]
- Sensory salience processing moderates attenuated gazes on faces in autism spectrum disorder: a case-control study.Journal: Molecular autismIn common: lme4, ggplot2, tidyverse, 6 references
- [10] doi:10.7554/elife.99278 [code]
- Brain-wide arousal signals are segregated from movement planning in the superior colliculus of the macaque.Journal: eLifeIn common: 8 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, 24 scripts, and 5 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:65d3640d9b198eb0…
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.116043)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116043.svg
:target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116043
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116043"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116043.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.
