OSCR

A causal role for the posterior corpus callosum in bimanual coordination.

Code ↔ Paper

6 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 6 matches
  1. [1] § Quantification and Statistical Analysis › Error Rate Analysis. ↔ PNAS Upload/Data/Behavioral/Plot_arm_errors_jrr_tyr_delay.m, lines 317–404 · score 0.68 · logistic regression, arm error, error rates, Binomial, Pre, Peri
  2. [2] § Quantification and Statistical Analysis › Error Rate Analysis. ↔ PNAS Upload/Data/Behavioral/Plot_arm_errors_jrr_tyr_delay.m, lines 317–404 · score 0.66 · Logistic regression, error rate, binomial, model, fit, interaction
  3. [3] § Materials and Methods › MRI. › Electrophysiological recordings. ↔ PNAS Upload/C-code/_macros/lfp/m-files/private/load_lfps.m, lines 1–44 · score 0.63 · Alpha Omega, LFP signals, Plexon, electrodes, filtered, band
  4. [4] § Materials and Methods › Behavioral Tasks. ↔ PNAS Upload/R-code/power/doPower.r, lines 60–111 · score 0.60 · 300–500 ms, 300 ms, saccade, bimanual
  5. [5] § Quantification and Statistical Analysis › LFP Power. ↔ PNAS Upload/C-code/_macros/lfp/m-files/private/mt_dtft_gram.m, lines 41–132 · score 0.55 · adaptive algorithm, wk, fs, tapers, LFP
  6. [6] § Quantification and Statistical Analysis › ANOVA. ↔ PNAS Upload/Data/Behavioral/jrr_tyr_double_difference_v2_blue_bar.m, lines 673–819 · score 0.52 · bimanual synchrony, Peri Pre, behavioral, Monkey, apart, blockade

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 · 406 lines · 20 KB · CC-BY-4.0 · 2 matches

  1. % Plot_arm_errors_jrr_tyr_delay.m
  2. clc; clear;
  3. %which_monk = 'tyr'; monk_initial = ' T';
  4. %which_monk = 'jrr'; monk_initial = ' J';
  5. which_monk = 'jrr_tyr'; monk_initial = 's J & T';
  6. %acc_file = sprintf('%s_delay_errors_sac_uni_BT_BA.mat',which_monk);
  7. suc_fail_sum_file = sprintf('%s_delay_suc_fails_sac_uni_BT_BA.mat',which_monk);
  8. load(suc_fail_sum_file);
  9. all_suc_control_nums = all_control_successes;
  10. all_suc_inact_nums = all_inact_successes;
  11. acc_file = sprintf('%s_delay_errors_sac_uni_BT_BA.mat',which_monk);
  12. arm_fail_file = sprintf('%s_delay_arm_errors.mat',which_monk);
  13. load(acc_file);
  14. load(arm_fail_file);
  15. num_controls = size(all_control_successes,1);
  16. num_inacts = size(all_inact_successes,1);
  17. if strcmp(which_monk,'zen')
  18. jump_ind = 3;
  19. num_inacts = 9*jump_ind;
  20. else
  21. jump_ind = 2;
  22. end
  23. for inact_ind = 1:num_inacts
  24. for stack_ind = 1:4 % sac, uni, BT, BA
  25. cur_dat = all_inact_fails{inact_ind,stack_ind};
  26. % error table from
  27. cur_go_cue_dat = inact_arm_fails{inact_ind,stack_ind};
  28. if isempty(cur_dat)
  29. inact_arm_errs(inact_ind,stack_ind) = 0;
  30. inact_eye_errs(inact_ind,stack_ind) = 0;
  31. else
  32. err_types = cur_dat(:,3);
  33. statuses = cur_dat(:,4);
  34. go_cues = cur_go_cue_dat(:,2);
  35. cur_arm_errs = find(err_types==5|err_types==6);
  36. cur_eye_errs = find(err_types==1);
  37. cur_post_gocue_errs = find(go_cues~=-99999);
  38. cur_pre_gocue_errs = find(go_cues==-99999);
  39. cur_no_start_errs = find(statuses==-3);
  40. inact_pre_go_eye_errs(inact_ind,stack_ind) = ...
  41. numel(intersect(cur_eye_errs,cur_pre_gocue_errs));
  42. inact_post_go_eye_errs(inact_ind,stack_ind) = ...
  43. numel(intersect(cur_eye_errs,cur_post_gocue_errs));
  44. inact_pre_go_arm_errs(inact_ind,stack_ind) = ...
  45. numel(intersect(cur_arm_errs,cur_pre_gocue_errs));
  46. inact_post_go_arm_errs(inact_ind,stack_ind) = ...
  47. numel(intersect(cur_arm_errs,cur_post_gocue_errs));
  48. inact_no_start_eye_errs(inact_ind,stack_ind) = ...
  49. numel(intersect(cur_no_start_errs,cur_arm_errs));
  50. inact_no_start_arm_errs(inact_ind,stack_ind) = ...
  51. numel(intersect(cur_no_start_errs,cur_eye_errs));
  52. inact_no_start_errs(inact_ind,stack_ind) = numel(cur_no_start_errs);
  53. inact_arm_errs(inact_ind,stack_ind) = numel(cur_arm_errs);
  54. inact_eye_errs(inact_ind,stack_ind) = numel(cur_eye_errs);
  55. end
  56. end
  57. end
  58. for control_ind = 1:num_controls
  59. for stack_ind = 1:4 % sac, uni, BT, BA
  60. cur_dat = all_control_fails{control_ind,stack_ind};
  61. % error table from
  62. cur_go_cue_dat = control_arm_fails{control_ind,stack_ind};
  63. if isempty(cur_dat)
  64. control_arm_errs(control_ind,stack_ind) = 0;
  65. control_eye_errs(control_ind,stack_ind) = 0;
  66. else
  67. err_types = cur_dat(:,3);
  68. statuses = cur_dat(:,4);
  69. go_cues = cur_go_cue_dat(:,2);
  70. cur_arm_errs = find(err_types==5|err_types==6);
  71. cur_eye_errs = find(err_types==1);
  72. cur_post_gocue_errs = find(go_cues~=-99999);
  73. cur_pre_gocue_errs = find(go_cues==-99999);
  74. cur_no_start_errs = find(statuses==-3);
  75. control_pre_go_eye_errs(control_ind,stack_ind) = ...
  76. numel(intersect(cur_eye_errs,cur_pre_gocue_errs));
  77. control_post_go_eye_errs(control_ind,stack_ind) = ...
  78. numel(intersect(cur_eye_errs,cur_post_gocue_errs));
  79. control_pre_go_arm_errs(control_ind,stack_ind) = ...
  80. numel(intersect(cur_arm_errs,cur_pre_gocue_errs));
  81. control_post_go_arm_errs(control_ind,stack_ind) = ...
  82. numel(intersect(cur_arm_errs,cur_post_gocue_errs));
  83. control_no_start_eye_errs(control_ind,stack_ind) = ...
  84. numel(intersect(cur_no_start_errs,cur_arm_errs));
  85. control_no_start_arm_errs(control_ind,stack_ind) = ...
  86. numel(intersect(cur_no_start_errs,cur_eye_errs));
  87. control_no_start_errs(control_ind,stack_ind) = numel(cur_no_start_errs);
  88. control_arm_errs(control_ind,stack_ind) = numel(cur_arm_errs);
  89. control_eye_errs(control_ind,stack_ind) = numel(cur_eye_errs);
  90. end
  91. end
  92. end
  93. % code up error rates here.
  94. control_arm_err_rate = control_arm_errs./(control_arm_errs+all_suc_control_nums)*100;
  95. control_PRE_arm_err_rate = control_arm_err_rate(1:2:end,:);
  96. control_PERI_arm_err_rate = control_arm_err_rate(2:2:end,:);
  97. control_PRE_arm_errs = control_arm_errs(1:2:end,:);
  98. control_PERI_arm_errs = control_arm_errs(2:2:end,:);
  99. control_pre_go_arm_err_rate = control_pre_go_arm_errs./(control_pre_go_arm_errs+all_suc_control_nums)*100;
  100. control_PRE_pre_go_arm_err_rate = control_pre_go_arm_err_rate(1:2:end,:);
  101. control_PERI_pre_go_arm_err_rate = control_pre_go_arm_err_rate(2:2:end,:);
  102. control_PRE_pre_go_arm_errs = control_pre_go_arm_errs(1:2:end,:);
  103. control_PERI_pre_go_arm_errs = control_pre_go_arm_errs(2:2:end,:);
  104. control_post_go_arm_err_rate = control_post_go_arm_errs./(control_post_go_arm_errs+all_suc_control_nums)*100;
  105. control_PRE_post_go_arm_err_rate = control_post_go_arm_err_rate(1:2:end,:);
  106. control_PERI_post_go_arm_err_rate = control_post_go_arm_err_rate(2:2:end,:);
  107. control_PRE_post_go_arm_errs = control_post_go_arm_errs(1:2:end,:);
  108. control_PERI_post_arm_errs = control_post_go_arm_errs(2:2:end,:);
  109. control_eye_err_rate = control_eye_errs./(control_eye_errs+all_suc_control_nums)*100;
  110. control_PRE_eye_err_rate = control_eye_err_rate(1:2:end,:);
  111. control_PERI_eye_err_rate = control_eye_err_rate(2:2:end,:);
  112. control_PRE_eye_errs = control_eye_errs(1:2:end,:);
  113. control_PERI_eye_errs = control_eye_errs(2:2:end,:);
  114. control_pre_go_eye_err_rate = control_pre_go_eye_errs./(control_pre_go_eye_errs+all_suc_control_nums)*100;
  115. control_PRE_pre_go_eye_err_rate = control_pre_go_eye_err_rate(1:2:end,:);
  116. control_PERI_pre_go_eye_err_rate = control_pre_go_eye_err_rate(2:2:end,:);
  117. control_PRE_pre_go_eye_errs = control_pre_go_eye_errs(1:2:end,:);
  118. control_PERI_pre_go_eye_errs = control_pre_go_eye_errs(2:2:end,:);
  119. control_post_go_eye_err_rate = control_post_go_eye_errs./(control_post_go_eye_errs+all_suc_control_nums)*100;
  120. control_PRE_post_go_eye_err_rate = control_post_go_eye_err_rate(1:2:end,:);
  121. control_PERI_post_go_eye_err_rate = control_post_go_eye_err_rate(2:2:end,:);
  122. control_PRE_post_go_eye_errs = control_post_go_eye_errs(1:2:end,:);
  123. control_PERI_post_go_eye_errs = control_post_go_eye_errs(2:2:end,:);
  124. control_no_start_err_rate = control_no_start_errs./(control_no_start_errs+all_suc_control_nums)*100;
  125. control_PRE_no_start_err_rate = control_no_start_err_rate(1:2:end,:);
  126. control_PERI_no_start_err_rate = control_no_start_err_rate(2:2:end,:);
  127. control_PRE_no_start_errs = control_no_start_errs(1:2:end,:);
  128. control_PERI_no_start_errs = control_no_start_errs(2:2:end,:);
  129. control_no_start_eye_err_rate = control_no_start_eye_errs./(control_no_start_eye_errs+all_suc_control_nums)*100;
  130. control_PRE_no_start_eye_err_rate = control_no_start_eye_err_rate(1:2:end,:);
  131. control_PERI_no_start_eye_err_rate = control_no_start_eye_err_rate(2:2:end,:);
  132. control_PRE_no_start_eye_errs = control_no_start_eye_errs(1:2:end,:);
  133. control_PERI_no_start_eye_errs = control_no_start_eye_errs(2:2:end,:);
  134. control_no_start_arm_err_rate = control_no_start_arm_errs./(control_no_start_arm_errs+all_suc_control_nums)*100;
  135. control_PRE_no_start_arm_err_rate = control_no_start_arm_err_rate(1:2:end,:);
  136. control_PERI_no_start_arm_err_rate = control_no_start_arm_err_rate(2:2:end,:);
  137. control_PRE_no_start_arm_errs = control_no_start_arm_errs(1:2:end,:);
  138. control_PERI_no_start_arm_errs = control_no_start_arm_errs(2:2:end,:);
  139. % inact err rates
  140. inact_arm_err_rate = inact_arm_errs./(inact_arm_errs+all_suc_inact_nums)*100;
  141. inact_PRE_arm_err_rate = inact_arm_err_rate(1:2:end,:);
  142. inact_PERI_arm_err_rate = inact_arm_err_rate(2:2:end,:);
  143. inact_PRE_arm_errs = inact_arm_errs(1:2:end,:);
  144. inact_PERI_arm_errs = inact_arm_errs(2:2:end,:);
  145. inact_pre_go_arm_err_rate = inact_pre_go_arm_errs./(inact_pre_go_arm_errs+all_suc_inact_nums)*100;
  146. inact_PRE_pre_go_arm_err_rate = inact_pre_go_arm_err_rate(1:2:end,:);
  147. inact_PERI_pre_go_arm_err_rate = inact_pre_go_arm_err_rate(2:2:end,:);
  148. inact_PRE_pre_go_arm_errs = inact_pre_go_arm_errs(1:2:end,:);
  149. inact_PERI_pre_go_arm_errs = inact_pre_go_arm_errs(2:2:end,:);
  150. inact_post_go_arm_err_rate = inact_post_go_arm_errs./(inact_post_go_arm_errs+all_suc_inact_nums)*100;
  151. inact_PRE_post_go_arm_err_rate = inact_post_go_arm_err_rate(1:2:end,:);
  152. inact_PERI_post_go_arm_err_rate = inact_post_go_arm_err_rate(2:2:end,:);
  153. inact_PRE_post_go_arm_errs = inact_post_go_arm_errs(1:2:end,:);
  154. inact_PERI_post_arm_errs = inact_post_go_arm_errs(2:2:end,:);
  155. inact_eye_err_rate = inact_eye_errs./(inact_eye_errs+all_suc_inact_nums)*100;
  156. inact_PRE_eye_err_rate = inact_eye_err_rate(1:2:end,:);
  157. inact_PERI_eye_err_rate = inact_eye_err_rate(2:2:end,:);
  158. inact_PRE_eye_errs = inact_eye_errs(1:2:end,:);
  159. inact_PERI_eye_errs = inact_eye_errs(2:2:end,:);
  160. inact_pre_go_eye_err_rate = inact_pre_go_eye_errs./(inact_pre_go_eye_errs+all_suc_inact_nums)*100;
  161. inact_PRE_pre_go_eye_err_rate = inact_pre_go_eye_err_rate(1:2:end,:);
  162. inact_PERI_pre_go_eye_err_rate = inact_pre_go_eye_err_rate(2:2:end,:);
  163. inact_PRE_pre_go_eye_errs = inact_pre_go_eye_errs(1:2:end,:);
  164. inact_PERI_pre_go_eye_errs = inact_pre_go_eye_errs(2:2:end,:);
  165. inact_post_go_eye_err_rate = inact_post_go_eye_errs./(inact_post_go_eye_errs+all_suc_inact_nums)*100;
  166. inact_PRE_post_go_eye_err_rate = inact_post_go_eye_err_rate(1:2:end,:);
  167. inact_PERI_post_go_eye_err_rate = inact_post_go_eye_err_rate(2:2:end,:);
  168. inact_PRE_post_go_eye_errs = inact_post_go_eye_errs(1:2:end,:);
  169. inact_PERI_post_go_eye_errs = inact_post_go_eye_errs(2:2:end,:);
  170. inact_no_start_err_rate = inact_no_start_errs./(inact_no_start_errs+all_suc_inact_nums)*100;
  171. inact_PRE_no_start_err_rate = inact_no_start_err_rate(1:2:end,:);
  172. inact_PERI_no_start_err_rate = inact_no_start_err_rate(2:2:end,:);
  173. inact_PRE_no_start_errs = inact_no_start_errs(1:2:end,:);
  174. inact_PERI_no_start_errs = inact_no_start_errs(2:2:end,:);
  175. inact_no_start_eye_err_rate = inact_no_start_eye_errs./(inact_no_start_eye_errs+all_suc_inact_nums)*100;
  176. inact_PRE_no_start_eye_err_rate = inact_no_start_eye_err_rate(1:2:end,:);
  177. inact_PERI_no_start_eye_err_rate = inact_no_start_eye_err_rate(2:2:end,:);
  178. inact_PRE_no_start_eye_errs = inact_no_start_eye_errs(1:2:end,:);
  179. inact_PERI_no_start_eye_errs = inact_no_start_eye_errs(2:2:end,:);
  180. inact_no_start_arm_err_rate = inact_no_start_arm_errs./(inact_no_start_arm_errs+all_suc_inact_nums)*100;
  181. inact_PRE_no_start_arm_err_rate = inact_no_start_arm_err_rate(1:2:end,:);
  182. inact_PERI_no_start_arm_err_rate = inact_no_start_arm_err_rate(2:2:end,:);
  183. inact_PRE_no_start_arm_errs = inact_no_start_arm_errs(1:2:end,:);
  184. inact_PERI_no_start_arm_errs = inact_no_start_arm_errs(2:2:end,:);
  185. arm_err_out=fun_plot_errs(control_PRE_arm_err_rate,inact_PRE_arm_err_rate,...
  186. control_PERI_arm_err_rate,inact_PERI_arm_err_rate,monk_initial,'arm err')
  187. eye_err_out=fun_plot_errs(control_PRE_eye_err_rate,inact_PRE_eye_err_rate,...
  188. control_PERI_eye_err_rate,inact_PERI_eye_err_rate,monk_initial,'eye err')
  189. no_start_err_out=fun_plot_errs(control_PRE_no_start_err_rate,inact_PRE_no_start_err_rate,...
  190. control_PERI_no_start_err_rate,inact_PERI_no_start_err_rate,monk_initial,'no start err')
  191. pre_go_eye_err_out=fun_plot_errs(control_PRE_pre_go_eye_err_rate,inact_PRE_pre_go_eye_err_rate,...
  192. control_PERI_pre_go_eye_err_rate,inact_PERI_pre_go_eye_err_rate,monk_initial,'eye err (Before Go)')
  193. post_go_eye_err_out=fun_plot_errs(control_PRE_post_go_eye_err_rate,inact_PRE_post_go_eye_err_rate,...
  194. control_PERI_post_go_eye_err_rate,inact_PERI_post_go_eye_err_rate,monk_initial,'eye err (After Go)')
  195. pre_go_arm_err_out=fun_plot_errs(control_PRE_pre_go_arm_err_rate,inact_PRE_pre_go_arm_err_rate,...
  196. control_PERI_pre_go_arm_err_rate,inact_PERI_pre_go_arm_err_rate,monk_initial,'arm err (Before Go)')
  197. post_go_arm_err_out=fun_plot_errs(control_PRE_post_go_arm_err_rate,inact_PRE_post_go_arm_err_rate,...
  198. control_PERI_post_go_arm_err_rate,inact_PERI_post_go_arm_err_rate,monk_initial,'arm err (After Go)')
  199. no_start_eye_err_out=fun_plot_errs(control_PRE_no_start_eye_err_rate,inact_PRE_no_start_eye_err_rate,...
  200. control_PERI_no_start_eye_err_rate,inact_PERI_no_start_eye_err_rate,monk_initial,'no start eye err')
  201. no_start_arm_err_out=fun_plot_errs(control_PRE_no_start_arm_err_rate,inact_PRE_no_start_arm_err_rate,...
  202. control_PERI_no_start_arm_err_rate,inact_PERI_no_start_arm_err_rate,monk_initial,'no start arm err')
  203. %% binomial test
  204. inact_errs_of_interest = inact_post_go_arm_errs;
  205. control_errs_of_interest = control_post_go_arm_errs;
  206. inact_suc_sum = sum(all_suc_inact_nums); % sum of all successes
  207. control_suc_sum = sum(all_suc_control_nums); % sum of all successes
  208. control_arm_err_sum = sum(control_errs_of_interest); % sum of all arm errs
  209. inact_pre_suc_sum = sum(all_suc_inact_nums(1:jump_ind:end,:));
  210. inact_peri_suc_sum = sum(all_suc_inact_nums(2:jump_ind:end,:));
  211. inact_pre_arm_err_sum = sum(inact_errs_of_interest(1:jump_ind:end,:));
  212. inact_peri_arm_err_sum = sum(inact_errs_of_interest(2:jump_ind:end,:));
  213. control_pre_suc_sum = sum(all_suc_control_nums(1:jump_ind:end,:));
  214. control_peri_suc_sum = sum(all_suc_control_nums(2:jump_ind:end,:));
  215. control_pre_arm_err_sum = sum(control_errs_of_interest(1:jump_ind:end,:));
  216. control_peri_arm_err_sum = sum(control_errs_of_interest(2:jump_ind:end,:));
  217. stack_str = {'Saccade','uni','together','apart','bimanual'};
  218. for stack_ind = 1:5
  219. if stack_ind ==5
  220. inact_pre_mat = [zeros(inact_pre_suc_sum(3)+inact_pre_suc_sum(4),1); ...
  221. ones(inact_pre_arm_err_sum(3)+inact_pre_arm_err_sum(4),1); ];
  222. inact_peri_mat = [zeros(inact_peri_suc_sum(3)+inact_peri_suc_sum(4),1); ...
  223. ones(inact_peri_arm_err_sum(3)+inact_peri_arm_err_sum(4),1); ];
  224. control_pre_mat = [zeros(control_pre_suc_sum(3)+control_pre_suc_sum(4),1); ...
  225. ones(control_pre_arm_err_sum(3)+control_pre_arm_err_sum(4),1); ];
  226. control_peri_mat = [zeros(control_peri_suc_sum(3)+control_peri_suc_sum(4),1); ...
  227. ones(control_peri_arm_err_sum(3)+control_peri_arm_err_sum(4),1); ];
  228. else
  229. inact_pre_mat = [zeros(inact_pre_suc_sum(stack_ind),1); ...
  230. ones(inact_pre_arm_err_sum(stack_ind),1); ];
  231. inact_peri_mat = [zeros(inact_peri_suc_sum(stack_ind),1); ...
  232. ones(inact_peri_arm_err_sum(stack_ind),1); ];
  233. control_pre_mat = [zeros(control_pre_suc_sum(stack_ind),1); ...
  234. ones(control_pre_arm_err_sum(stack_ind),1); ];
  235. control_peri_mat = [zeros(control_peri_suc_sum(stack_ind),1); ...
  236. ones(control_peri_arm_err_sum(stack_ind),1); ];
  237. end
  238. [inact_z(stack_ind),~,~,inact_pv(stack_ind)]= ...
  239. fun_compare_bino_prob(inact_pre_mat',inact_peri_mat');
  240. [control_z(stack_ind),~,~,control_pv(stack_ind)]= ...
  241. fun_compare_bino_prob(control_pre_mat',control_peri_mat');
  242. [IC_z(stack_ind),~,~,IC_pv(stack_ind)]= ...
  243. fun_compare_bino_prob(control_peri_mat',inact_peri_mat'); % inact peri vs. control peri
  244. fprintf('binomial test (inact_peri vs. inact_pre) : %s arm overall error rate \n',which_monk);
  245. fprintf('%s: %.2f (%.2f-%.2f) p:%.4f\n',...
  246. stack_str{stack_ind},(mean(inact_peri_mat)-mean(inact_pre_mat))*100,mean(inact_peri_mat)*100,...
  247. mean(inact_pre_mat)*100,inact_pv(stack_ind));
  248. fprintf('binomial test (control_peri vs. control_pre) : %s arm overall error rate \n',which_monk);
  249. fprintf('%s: %.2f (%.2f-%.2f) p:%.4f\n',...
  250. stack_str{stack_ind},(mean(control_peri_mat)-mean(control_pre_mat))*100,mean(control_peri_mat)*100,...
  251. mean(control_pre_mat)*100,control_pv(stack_ind));
  252. fprintf('binomial test (inact_peri vs. control_peri) : %s arm overall error rate \n',which_monk);
  253. fprintf('%s: %.2f (%.2f-%.2f) p:%.4f\n',...
  254. stack_str{stack_ind},(mean(inact_peri_mat)-mean(control_peri_mat))*100,mean(inact_peri_mat)*100,...
  255. mean(control_peri_mat)*100,IC_pv(stack_ind));
  256. fprintf('double difference (inact_peri-inact_pre)-(control_peri-control_pre) : %s arm overall error rate \n',which_monk);
  257. fprintf('%s: %.2f (%.2f-%.2f) \n',...
  258. stack_str{stack_ind},(mean(inact_peri_mat)-mean(inact_pre_mat))*100 ...
  259. -(mean(control_peri_mat)-mean(control_pre_mat))*100,...
  260. (mean(inact_peri_mat)-mean(inact_pre_mat))*100,...
  261. (mean(control_peri_mat)-mean(control_pre_mat))*100);
  262. end
  263. % binomial test for together vs. apart in control_peri
  264. control_peri_togethr_mat = [zeros(control_peri_suc_sum(3),1); ...
  265. ones(control_peri_arm_err_sum(3),1); ];
  266. control_peri_apart_mat = [zeros(control_peri_suc_sum(4),1); ...
  267. ones(control_peri_arm_err_sum(4),1); ];
  268. [control_peri_bino_z,~,~,control_peri_bino_p]= ...
  269. fun_compare_bino_prob(control_peri_togethr_mat',control_peri_apart_mat');
  270. inact_peri_togethr_mat = [zeros(inact_peri_suc_sum(3),1); ...
  271. ones(inact_peri_arm_err_sum(3),1); ];
  272. inact_peri_apart_mat = [zeros(inact_peri_suc_sum(4),1); ...
  273. ones(inact_peri_arm_err_sum(4),1); ];
  274. [inact_peri_bino_z,~,~,inact_peri_bino_p]= ...
  275. fun_compare_bino_prob(inact_peri_togethr_mat',inact_peri_apart_mat');
  276. % 2025-01-06 JK added double difference (inact peri-inact pre) - (control peri-control pre)
  277. % 2025-01-07 logistic regresssion of success/fails
  278. % Logistic regression allows us to model the probability of success as a function of:
  279. %
  280. % Group (experiment vs. control),
  281. % Phase (pre vs. peri),
  282. % Interaction between group and phase.
  283. % This method directly identifies whether the effects of group, phase, or their interaction are statistically significant.
  284. %
  285. % Example: Long-format data
  286. % Columns: [Group, Phase, Outcome, Count]
  287. % Group: 0 = Control, 1 = Experiment
  288. % Phase: 0 = Pre, 1 = Peri
  289. % Outcome: 0 = Fail, 1 = Success
  290. % Count: Observed frequency
  291. for stack_ind = 2:4
  292. data = [
  293. 1, 0, 1, inact_pre_suc_sum(stack_ind); % Experiment-Pre-Success
  294. 1, 0, 0, inact_pre_arm_err_sum(stack_ind); % Experiment-Pre-Fail
  295. 1, 1, 1, inact_peri_suc_sum(stack_ind); % Experiment-Peri-Success
  296. 1, 1, 0, inact_peri_arm_err_sum(stack_ind); % Experiment-Peri-Fail
  297. 0, 0, 1, control_pre_suc_sum(stack_ind); % Control-Pre-Success
  298. 0, 0, 0, control_pre_arm_err_sum(stack_ind); % Control-Pre-Fail
  299. 0, 1, 1, control_peri_suc_sum(stack_ind); % Control-Peri-Success
  300. 0, 1, 0, control_peri_arm_err_sum(stack_ind); % Control-Peri-Fail
  301. ];
  302. group = data(1:2:end, 1); % Group (Experiment/Control)
  303. phase = data(1:2:end, 2); % Phase (Pre/Peri)
  304. success_count = data(1:2:end, 4); % Success Counts
  305. fail_count = data(2:2:end, 4); % Fail Counts
  306. total_count = success_count + fail_count;
  307. % Create a table for logistic regression
  308. tbl = table(group, phase, fail_count, total_count, ...
  309. 'VariableNames', {'Group', 'Phase', 'FailCount', 'TotalCount'});
  310. % Fit logistic regression model
  311. glm = fitglm(tbl, 'FailCount ~ Group*Phase', ...
  312. 'Distribution', 'binomial', 'BinomialSize', tbl.TotalCount)
  313. end
  314. % show error double difference (inact_peri-inact_pre)-(control_peri-control_pre)
  315. % Monkey J
  316. % uni: 0.90 (0.46--0.44)
  317. % together: -0.34 (-0.34-0.00)
  318. % apart: 0.47 (-0.42--0.89)
  319. % Monkey T
  320. % uni: 0.76=(2.12-1.30)-(1.63-1.57)
  321. % together: 1.37=(5.58-1.96)-(3.62-1.37) (phase p<0.01; Group:Phase
  322. % N.S.)
  323. % apart: -11.47=(7.29-3.73)-(18.71-3.68) (phase p<0.001; Group:Phase
  324. % p<0.001)
  325. % Monkeys J and T
  326. % uni: 0.89
  327. % together: 0.64
  328. % apart: -6.21 (phase p<0.001; Group:Phase p<0.001)
  329. %2025-11-30 JK added
  330. % The reviewer asked to generate error rates
  331. % Showing Blockade Pre and Blocakde Peri now
  332. inact_pre_arm_error_rates = inact_pre_arm_err_sum./(inact_pre_suc_sum+inact_pre_arm_err_sum)*100;
  333. inact_peri_arm_error_rates = inact_peri_arm_err_sum./(inact_peri_suc_sum+inact_peri_arm_err_sum)*100;
  334. control_pre_arm_error_rates = control_pre_arm_err_sum./(control_pre_suc_sum+control_pre_arm_err_sum)*100;
  335. control_peri_arm_error_rates = control_peri_arm_err_sum./(control_peri_suc_sum+control_peri_arm_err_sum)*100;

Plot_arm_errors_jrr_tyr_delay.m, under CC-BY-4.0 · at the source

Overview

  1. Department of Neuroscience, Washington University School of Medicine, St. Louis, MO 63110
  2. Department of Cognitive Science, University of California, San Diego, La Jolla, CA 92093
Institutions: Washington University in St. Louis (United States)
Dates: received 2 July 2025; accepted 28 March 2026; published online 29 April 2026; in print 5 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1073/pnas.2516541123 · PMID 42054369 · PMCID PMC13143020 · OpenAlex W4411989833
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: structural MRI / diffusion (modality), human (organism)
Methods: Spectral & time-frequency, Statistics, Machine learning, Connectivity, Physiology & signal measures
Keywords: bimanual coordination, callosal blockade, corpus callosum, interhemispheric communication, parietal cortex
MeSH: Corpus Callosum*, Psychomotor Performance*, Functional Laterality, Humans, Lidocaine, Magnetic Resonance Imaging, Male, Movement, Parietal Lobe (* major topic)
Journal subjects: Biological Sciences, Neuroscience
Topic: Motor Control and Adaptation (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: cited by 1 paper (Europe PMC); 116 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 6 matches between paragraphs and lines of code.

Zenodo 19341112

License: CC-BY-4.0
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Data, Materials, and Software Availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
  • 30 September 2026: the link answers (HTTP 200)
317 files

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;
  • 317 scripts, each with its path and the digest of its content;
  • 6 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:

Read it in the paper: doi.org/10.1073/pnas.2516541123.

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, 30 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 5 keywords, 9 MeSH terms, 2 funders, 111 references.

Cite

This paper

Kang, J. U., Snyder, L. H., & Mooshagian, E. (2026). A causal role for the posterior corpus callosum in bimanual coordination. Proceedings of the National Academy of Sciences of the United States of America, 123(18), e2516541123. https://doi.org/10.1073/pnas.2516541123

BibTeX

@article{kang2026causal,
author = {Kang, Jung Uk and Snyder, Lawrence H. and Mooshagian, Eric},
title = {{A causal role for the posterior corpus callosum in bimanual coordination}},
journal = {Proceedings of the National Academy of Sciences of the United States of America},
year = {2026},
month = apr,
volume = {123},
number = {18},
pages = {e2516541123},
publisher = {National Academy of Sciences},
issn = {0027-8424},
doi = {10.1073/pnas.2516541123},
url = {https://doi.org/10.1073/pnas.2516541123},
pmid = {42054369},
pmcid = {PMC13143020}
}

RIS

TY - JOUR
AU - Kang, Jung Uk
AU - Snyder, Lawrence H.
AU - Mooshagian, Eric
TI - A causal role for the posterior corpus callosum in bimanual coordination
T2 - Proceedings of the National Academy of Sciences of the United States of America
J2 - Proc Natl Acad Sci U S A
PY - 2026
DA - 2026/04/29
VL - 123
IS - 18
SP - e2516541123
SN - 0027-8424
PB - National Academy of Sciences
DO - 10.1073/pnas.2516541123
UR - https://doi.org/10.1073/pnas.2516541123
LA - en
ER -

CSL-JSON

{
"id": "10.1073/pnas.2516541123",
"type": "article-journal",
"title": "A causal role for the posterior corpus callosum in bimanual coordination",
"container-title": "Proceedings of the National Academy of Sciences of the United States of America",
"author": [
{
"family": "Kang",
"given": "Jung Uk"
},
{
"family": "Snyder",
"given": "Lawrence H."
},
{
"family": "Mooshagian",
"given": "Eric"
}
],
"container-title-short": "Proc Natl Acad Sci U S A",
"volume": "123",
"issue": "18",
"page": "e2516541123",
"DOI": "10.1073/pnas.2516541123",
"PMID": "42054369",
"PMCID": "PMC13143020",
"ISSN": "0027-8424",
"publisher": "National Academy of Sciences",
"URL": "https://doi.org/10.1073/pnas.2516541123",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
29
]
]
}
}

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.1162/imag.a.1229 [code]
40 Hz audiovisual stimulation improves sustained attention and related brain oscillations.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Chronux, Wavelet Toolbox, Parallel Computing Toolbox, 3 other tools, 1 reference
[2] doi:10.1126/sciadv.aee1002 [code]
Theta oscillations are an organizational unit of odor processing in the olfactory bulb.
Journal: Science advances
In common: Chronux, FieldTrip, Signal Processing Toolbox, 1 other tool, 2 references
[3] doi:10.1038/s41598-026-49900-6 [code]
Global neural oscillations underlie performance variability and attentional state fluctuations in humans.
Journal: Scientific reports
In common: Chronux, Wavelet Toolbox, FieldTrip, 2 other tools
[4] doi:10.1038/s41467-026-75345-6 [code]
Hippocampal ripples initiate cortical dimensionality expansion for memory retrieval.
Journal: Nature communications
In common: Parallel Computing Toolbox, FieldTrip, Signal Processing Toolbox, 1 other tool, 2 references
[5] doi:10.2147/opth.s590186 [code]
Differential Effects of Balanced and Imbalanced Binocular Stimulation on Visual Cortex Responses in Amblyopic Children.
Journal: Clinical ophthalmology (Auckland, N.Z.)
In common: Chronux, Parallel Computing Toolbox, FieldTrip, 2 other tools
[6] doi:10.1038/s41593-026-02357-2 [code]
Experience reorganizes content-specific memory traces in macaques.
Journal: Nature neuroscience
In common: Chronux, Parallel Computing Toolbox, FieldTrip, 2 other tools
[7] doi:10.1038/s41467-026-75347-4 [code]
Sleep reveals dynamics integrating and segregating movement and stimulus representations in V1.
Journal: Nature communications
In common: Chronux, Parallel Computing Toolbox, FieldTrip, 2 other tools
[8] doi:10.1016/j.celrep.2026.117646 [code]
Medial entorhinal-hippocampal desynchronization parallels the emergence of memory impairment in a mouse model of Alzheimer's disease pathology.
Journal: Cell reports
In common: Chronux, Parallel Computing Toolbox, FieldTrip, 2 other tools
[9] doi:10.1038/s41467-026-73106-z [code]
Respiratory pauses highlight sleep architecture in mice.
Journal: Nature communications
In common: Chronux, Parallel Computing Toolbox, FieldTrip, 2 other tools
[10] doi:10.1093/psyrad/kkag013 [code]
Convergent and divergent spatial topographies of individualized brain functional networks and their developmental origins.
Journal: Psychoradiology
In common: Parallel Computing Toolbox, FieldTrip, Signal Processing Toolbox, 1 other tool, 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.