OSCR

Trial-by-trial covariation of pupil dilation, microsaccades, and visual evoked potentials during saliency processing.

Code ↔ Paper

5 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 5 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § STAR★Methods › Method details › Data analysis ↔ code/Step_06_PlotFigure_02.m, lines 58–207 · score 0.71 · 50–400 ms, late rebound, Microsaccade rate, vertical, horizontal, position
  2. [2] § STAR★Methods › Method details › Data analysis ↔ code/Step_07_PlotFigure_03.m, lines 59–116 · score 0.68 · 90–110 ms, 130 ms, 160 ms, 205 ms, 180 ms, 90 ms
  3. [3] § Results › Stimulus contrast modulated visually evoked potentials ↔ code/Step_07_PlotFigure_03.m, lines 59–116 · score 0.65 · 90–110 ms, 130 ms, 160 ms, 205 ms, 180 ms, 90 ms
  4. [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
  5. [5] § STAR★Methods › Method details › Data analysis ↔ code/Step_03_PRET_SubjectLevel.m, lines 13–74 · score 0.52 · 500–1500 ms, window, median, RT, modeled

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 · 246 lines · 6.5 KB · no license · 2 matches

  1. clearvars
  2. load('..\data\processed\\eeg_c.mat')
  3. load('..\data\processed\\eeg_pn.mat')
  4. load('..\data\processed\\eeg_t.mat')
  5. load("..\data\raw\\EEGchanloc.mat")
  6. load('..\data\processed\\all_data.mat')
  7. load("..\data\processed\\op.mat")
  8. acc = mean(all_data(:,:,4),2);
  9. ol_acc = acc < 0.6;
  10. all_data(ol_acc,:,:) = [];
  11. eeg_c (ol_acc,:,:) = [];
  12. eeg_pn (ol_acc,:,:) = [];
  13. eeg_t (:,:,ol_acc,:) = [];
  14. %%
  15. fs = 1000;
  16. num_sub = size(eeg_c,1);
  17. num_trial = size(eeg_c,2);
  18. num_point = size(eeg_c,3);
  19. num_cond = 2;
  20. bc_tw = [901:1000];
  21. data_eeg_c = nan(num_cond,num_sub,num_point);
  22. data_eeg_pn = nan(num_cond,num_sub,num_point);
  23. for sub = 1:num_sub
  24. sub_beh = squeeze(all_data(sub,:,:));
  25. sub_eeg_c = squeeze(eeg_c(sub,:,:));
  26. sub_eeg_pn = squeeze(eeg_pn(sub,:,:));
  27. sub_eeg_c = sub_eeg_c - mean(sub_eeg_c(:,bc_tw),2);
  28. sub_eeg_pn = sub_eeg_pn - mean(sub_eeg_pn(:,bc_tw),2);
  29. for cond = 1:num_cond
  30. idx = find(sub_beh(:,4) & sub_beh(:,2) == cond);
  31. ol = [];
  32. for t = 1:length(idx)
  33. t_eeg = sub_eeg_c(idx(t),:);
  34. if isnan(mean(t_eeg(:)))
  35. ol = [ol,t];
  36. end
  37. end
  38. idx(ol) = [];
  39. if size(sub_eeg_c(idx,:),1) >= 30
  40. data_eeg_c(cond,sub,:) = mean(sub_eeg_c(idx,:),'omitnan');
  41. data_eeg_pn(cond,sub,:) = mean(sub_eeg_pn(idx,:),'omitnan');
  42. else
  43. disp(sub)
  44. end
  45. end
  46. end
  47. %%
  48. figure('Renderer', 'painters', 'Position', [0 0 800 800],'Visible','on');
  49. set(gcf, 'Color', 'white');
  50. clc
  51. subplot(4,4,[1 2 5 6])
  52. hold on
  53. tar_tw = [90 110];
  54. plotPMT(data_eeg_c, tar_tw, 'Amplitude (\muv)', 14, true)
  55. Yl = get(gca,'YLim');
  56. text(90,Yl(2),'C1','HorizontalAlignment','left','VerticalAlignment','top')
  57. lilChange('A',[-10:1:10])
  58. xlim([-100 500])
  59. PlotLed({'High','Low'},{[.8 .1 0];[0 .5 .8]},'b')
  60. subplot(4,4,[3 4 7 8])
  61. temp = mean(data_eeg_c(:,:,tar_tw(1)+1001:tar_tw(2)+1001),3);
  62. plot_violin(temp, 'Amplitude (\muv)', {'Low','High','Diff'}, 14)
  63. rsl(1,:) = doStast(temp);
  64. lilChange('B',[-10:1:10])
  65. op(1,6,:) = temp(1,:);
  66. op(2,6,:) = temp(2,:);
  67. op(3,6,:) = temp(2,:) - temp(1,:);
  68. subplot(4,4,[9 10 13 14])
  69. hold on
  70. tar_tw = [130 160; 180 205];
  71. plotPMT(data_eeg_pn, tar_tw, 'Amplitude (\muv)', 14, false)
  72. Yl = get(gca,'YLim');
  73. text(130,Yl(2),'P1','HorizontalAlignment','left','VerticalAlignment','top')
  74. text(180,Yl(2),'N1','HorizontalAlignment','left','VerticalAlignment','top')
  75. lilChange('D',[-10:1:10])
  76. xlim([-100 500])
  77. PlotLed({'High','Low'},{[.8 .1 0];[0 .5 .8]},'b')
  78. subplot(4,4,[11 15])
  79. temp = mean(data_eeg_pn(:,:,tar_tw(1,1)+1001:tar_tw(1,2)+1001),3);
  80. plot_violin(temp, 'Amplitude (\muv)', {'Low','High','Diff'}, 14)
  81. rsl(2,:) = doStast(temp);
  82. lilChange('E',[-10:2:10])
  83. op(1,7,:) = temp(1,:);
  84. op(2,7,:) = temp(2,:);
  85. op(3,7,:) = temp(2,:) - temp(1,:);
  86. subplot(4,4,[12 16])
  87. temp = mean(data_eeg_pn(:,:,tar_tw(2,1)+1001:tar_tw(2,2)+1001),3);
  88. plot_violin(temp, 'Amplitude (\muv)', {'Low','High','Diff'}, 14)
  89. rsl(3,:) = doStast(temp);
  90. lilChange('F',[-10:2:10])
  91. op(1,8,:) = temp(1,:);
  92. op(2,8,:) = temp(2,:);
  93. op(3,8,:) = temp(2,:) - temp(1,:);
  94. print('..\figure\Figure_03_01.jpeg','-djpeg','-r500')
  95. savefig("..\figure\Figure_03_01.fig")
  96. save("..\data\processed\op.mat","op")
  97. close all
  98. %%
  99. figure('Renderer', 'painters', 'Position', [0 0 800/3 800],'Visible','on');
  100. set(gcf, 'Color', 'white');
  101. subplot(3,1,1)
  102. tar_tw = [90:110];
  103. temp = squeeze(mean(mean(eeg_t(:,:,:,tar_tw+1001),4),3));
  104. temp = temp(2,:) - temp(1,:);
  105. topoplot(temp,cl,'maplimits',[-.5 .5]);
  106. text(0,.6,'C1','FontSize',14,'HorizontalAlignment','center')
  107. title('C','FontSize',20);ax = gca;ax.TitleHorizontalAlignment = 'left';
  108. c = cbar;
  109. c.Position(1) = .88;
  110. c.YTick = -1:.5:1;
  111. yl = ylabel(c,'\muv','FontSize',12,'HorizontalAlignment','right','VerticalAlignment','bottom');
  112. yl.Position(1) = min(xlim(c));
  113. axis fill
  114. subplot(3,1,2)
  115. tar_tw = [130:160];
  116. temp = squeeze(mean(mean(eeg_t(:,:,:,tar_tw+1001),4),3));
  117. temp = temp(2,:) - temp(1,:);
  118. topoplot(temp,cl,'maplimits',[-.5 .5]);
  119. text(0,.6,'P1','FontSize',14,'HorizontalAlignment','center')
  120. title('G','FontSize',20);ax = gca;ax.TitleHorizontalAlignment = 'left';
  121. c = cbar;
  122. c.Position(1) = .88;
  123. c.YTick = -1:.5:1;
  124. yl = ylabel(c,'\muv','FontSize',12,'HorizontalAlignment','right','VerticalAlignment','bottom');
  125. yl.Position(1) = min(xlim(c));
  126. axis fill
  127. subplot(3,1,3)
  128. tar_tw = [180:205];
  129. temp = squeeze(mean(mean(eeg_t(:,:,:,tar_tw+1001),4),3));
  130. temp = temp(2,:) - temp(1,:);
  131. topoplot(temp,cl,'maplimits',[-.5 .5]);
  132. text(0,.6,'N1','FontSize',14,'HorizontalAlignment','center')
  133. title('H','FontSize',20);ax = gca;ax.TitleHorizontalAlignment = 'left';
  134. c = cbar;
  135. c.Position(1) = .88;
  136. c.YTick = -1:.5:1;
  137. yl = ylabel(c,'\muv','FontSize',12,'HorizontalAlignment','right','VerticalAlignment','bottom');
  138. yl.Position(1) = min(xlim(c));
  139. axis fill
  140. print('..\figure\Figure_03_02.jpeg','-djpeg','-r500')
  141. % close all
  142. %%
  143. im1 = imread('..\figure\Figure_03_01.jpeg');
  144. im2 = imread('..\figure\Figure_03_02.jpeg');
  145. im1_b = mean(im1,[1,3]);
  146. im1 = im1(:,270:3765,:);
  147. im2_b = mean(im2,[1,3]);
  148. im2 = im2(:,271:end,:);
  149. im = [im1,im2];
  150. imshow(im)
  151. imwrite(im,'..\figure\Figure_03.jpeg')
  152. close all
  153. %%
  154. function lilChange(ttl,ytck)
  155. title(ttl,'FontSize',20);ax = gca;ax.TitleHorizontalAlignment = 'left';
  156. if ~isempty(ytck)
  157. yticks(ytck)
  158. end
  159. end
  160. function plotPMT(data, tar_tw, ttl, fs, one_tar)
  161. col = {[0 .5 .8];[.8 .1 0];[0 .5 0]};
  162. plot_tw = [-100:500];
  163. x = plot_tw;
  164. data = data(:,:,x+1001);
  165. for cond = 1:size(data,1)
  166. cond_pup = squeeze(data(cond,:,:));
  167. err_pup = std(cond_pup)/sqrt(length(cond_pup(:,1))-1);
  168. y = mean(cond_pup);
  169. plot(x,y,'linewidth',1,'Color',col{cond});
  170. fill([x';flipud(x')],[y'-err_pup';flipud(y'+err_pup')], ...
  171. col{cond}, ...
  172. 'FaceAlpha',0.2, ...
  173. 'EdgeColor','none')
  174. end
  175. f = gca;
  176. Yl = f.YLim;
  177. if one_tar
  178. fill([tar_tw(1) tar_tw(1) tar_tw(end) tar_tw(end)], ...
  179. [Yl(1) Yl(2) Yl(2) Yl(1)], 'k', ...
  180. 'FaceAlpha',0.1, ...
  181. 'EdgeColor','none')
  182. else
  183. fill([tar_tw(1,1) tar_tw(1,1) tar_tw(1,2) tar_tw(1,2)], ...
  184. [Yl(1) Yl(2) Yl(2) Yl(1)], 'k', ...
  185. 'FaceAlpha',0.1, ...
  186. 'EdgeColor','none')
  187. fill([tar_tw(2,1) tar_tw(2,1) tar_tw(2,2) tar_tw(2,2)], ...
  188. [Yl(1) Yl(2) Yl(2) Yl(1)], 'k', ...
  189. 'FaceAlpha',0.1, ...
  190. 'EdgeColor','none')
  191. end
  192. yline(0)
  193. xline(0)
  194. axis square;
  195. ylim(Yl);
  196. xlim([plot_tw(1) plot_tw(end)])
  197. ylabel(ttl,'FontSize',fs)
  198. xlabel(['Time frome target onset (ms)'],'FontSize',fs)
  199. end

Step_07_PlotFigure_03.m, no license · at the source

Overview

Authors: Yi-Hsuan Chang1,2, Chen-Chung Kuo1,2, Cesar Barquero3, Chin-An Wang1,4,5,6,7
ORCID iDs: Chin-An Wang
  1. Eye-Tracking Laboratory, Shuang Ho Hospital, Taipei Medical University, New Taipei City, Taiwan
  2. Institute of Cognitive Neuroscience, National Central University, Taoyuan, Taiwan
  3. Department of Physical Activity and Sport Science, Universidad Peruana de Ciencias Aplicadas, Lima, Peru
  4. Department of Education and Humanities in Medicine, School of Medicine, College of Medicine, Taipei Medical University, Taipei, Taiwan
  5. Department of Anesthesiology, School of Medicine, College of Medicine, Taipei Medical University, Taipei, Taiwan
  6. Department of Anesthesiology, Shuang Ho Hospital, Taipei Medical University, New Taipei City, Taiwan
  7. Ph.D. Program in Medical Neuroscience, College of Medical Science and Technology, Taipei Medical University, Taipei, Taiwan
Journal: iScience, volume 29, issue 6, article 116043
Dates: received 30 October 2025; accepted 5 May 2026; published online 20 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1016/j.isci.2026.116043 · PMID 42211119 · PMCID PMC13214550 · OpenAlex W7161823926
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), human (organism), clinical / translational (subfield)
Methods: Statistics, Preprocessing, Evoked potentials, Physiology & signal measures
Keywords: cognitive neuroscience, sensory neuroscience
Topic: Neural and Behavioral Psychology Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: National Science and Technology Council (113-2628-H-038-001, 113-2410-H-038-028, 114-2410-H-038-048-MY2)
Citations: not cited yet (Europe PMC); 117 references in the paper

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

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Languages: MATLAB (18), R (7)
Size: 145 files, 25 scripts
Software Heritage: not checked
Found in: “Data and code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: easystats (7 files), ggplot2 (7 files), lme4 (7 files), rstatix (7 files), tidyverse (7 files), Statistics and Machine Learning Toolbox (5 files), EEGLAB (1 file), Image Processing Toolbox (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
  • 28 September 2026: the link answers (HTTP 200)
24 files
At the source: osf.io/9fkm7

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://doi.org/10.1016/j.isci.2026.116043

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/j.isci.2026.116043},
url = {https://doi.org/10.1016/j.isci.2026.116043},
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/05/20
VL - 29
IS - 6
SP - 116043
SN - 2589-0042
PB - Elsevier
DO - 10.1016/j.isci.2026.116043
UR - https://doi.org/10.1016/j.isci.2026.116043
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.isci.2026.116043",
"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": "iScience",
"volume": "29",
"issue": "6",
"page": "116043",
"DOI": "10.1016/j.isci.2026.116043",
"PMID": "42211119",
"PMCID": "PMC13214550",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.isci.2026.116043",
"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.7554/elife.99278 [code]
Brain-wide arousal signals are segregated from movement planning in the superior colliculus of the macaque.
Journal: eLife
In common: 8 references
[2] doi:10.1093/braincomms/fcag351 [code]
Time-resolved aperiodic dynamics in event segmentation in attention-deficit/hyperactivity disorder.
Journal: Brain communications
In common: easystats, EEGLAB, lme4, 4 other tools, EEG, 1 reference
[3] doi:10.1038/s41467-026-73916-1 [code]
Learned statistical regularity modulates anticipatory micro-saccades toward suppressed distractor locations.
Journal: Nature communications
In common: EEGLAB, Image Processing Toolbox, Statistics and Machine Learning Toolbox, EEG, 4 references
[4] doi:10.1016/j.neuroimage.2026.122115 [code]
Midfrontal theta power relates to response speeding following frustrative nonreward.
Journal: NeuroImage
In common: rstatix, easystats, EEGLAB, 4 other tools, EEG
[5] doi:10.7554/elife.107088 [code]
Development of auditory and spontaneous movement responses to music over the first postnatal year.
Journal: eLife
In common: easystats, EEGLAB, lme4, 3 other tools, EEG, 1 reference
[6] doi:10.64898/2026.05.08.26348885 [code]
Insights from nine nights of self-applied, low-density sleep EEG during sleep restriction therapy: a proof-of-concept evaluation
Journal: medRxiv (preprint)
In common: rstatix, easystats, lme4, 3 other tools, EEG, clinical / translational
[7] doi:10.1523/eneuro.0076-26.2026 [code]
Exogenously Driven Neural Reactivation of Spatially Matching Visual Working-Memory Contents.
Journal: eNeuro
In common: rstatix, lme4, Statistics and Machine Learning Toolbox, 2 other tools, EEG, 1 reference
[8] doi:10.1093/braincomms/fcag121 [code]
Anterior insular co-activation patterns associated with stress markers in chronic primary pain.
Journal: Brain communications
In common: rstatix, easystats, lme4, 3 other tools, clinical / translational
[9] doi:10.1111/psyp.70265 [code]
Neurocognitive Dynamics of Translating Information From a Spatial Map Into Action.
Journal: Psychophysiology
In common: easystats, EEGLAB, lme4, 3 other tools, EEG
[10] doi:10.1038/s41598-026-46182-w [code]
How the influence of cingulate-lingual interactions on event segmentation changes from early to late adolescence.
Journal: Scientific reports
In common: EEGLAB, lme4, Statistics and Machine Learning Toolbox, 2 other tools, EEG, 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.