OSCR

Functional dissociation of language and theory of mind in the developing superior temporal lobe.

Code ↔ Paper

3 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 3 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] § Methods › Statistics and Reproducibility ↔ Hiersche_2026_CommBio_rmANOVA_code.R, the whole file · a weak match · score 0.92 · rm ANOVA, anova_test, cohens_d, pairwise_t_test, fROIs, outliers
  2. [2] § Results › Connectivity fingerprints that underlie STL function › Connectivity fingerprints for language vs. ToM in the STL ↔ Hiersche_2026_CommBio_stats.m, lines 506–534 · score 0.67 · connectivity fingerprints, adult models, Lang LH, Lang RH, pbh, beta
  3. [3] § Methods › Defining maximally responsive regions and overlap ↔ Hiersche_2026_CommBio_stats.m, lines 243–267 · score 0.59 · fROI, 1–5 %, hotspot, thresholds, dice, Ns

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

  1. %% KJH 03/182026
  2. % code for reproducing all statistics in Hiersche, Osher, Saygin (2026)
  3. % Functional Dissociation of Language and Theory of Mind in the Developing
  4. % Superior Temporal Lobe. Communications Biology
  5. % code and data are all available on https://github.com/SayginLab/STL_languageToM
  6. % most analyses were performed in matlab (version 2024a)
  7. % some anlayses were performed in R Studio
  8. %% load all data
  9. % this is the selectivity & overlap data data
  10. load('df_LangToM_STL_github.mat')
  11. %% Do fROIs show selectivity to lang or ToM?
  12. % stats for table S1
  13. % output of interest is table_lang and table_ToM
  14. % column 1: t-stat (dof) for selectivity vs 0 one-tailed t-test
  15. % column 2: p value (*p<0.05, **p0.05 after bonferroni-holm correction
  16. % for 7 comparisons)
  17. % column 3: Cohen's D [95% CI]
  18. % the columns are the 7 networks of interest in the network variable
  19. group='kidsEnTx'; % or adultsEnTx or the EnNs versions for supplemental
  20. for i=1:length(networks)
  21. [~,plangv0(i,1),~,stats]=ttest(df.langsel1.(group)(:,i),0,'tail','right');
  22. [~,ptomv0(i,1),~,stats]=ttest(df.tomsel1.(group)(:,i),0,'tail','right');
  23. end
  24. for i=1:length(networks)
  25. ROI=i;
  26. [~,p,~,stats]=ttest(df.langsel1.(group)(:,i),0,'tail','right');
  27. results.Lang.(group)(i,1)=stats.tstat;
  28. results.Lang.(group)(i,2)=p;
  29. results.Lang.(group)(i,3)=stats.df;
  30. d=meanEffectSize(df.langsel1.(group)(:,i),'Effect','cohen');
  31. results.Lang.(group)(i,5)=table2array(d(1,1));
  32. ci.lang(i,:)=table2array(d(1,2));
  33. % ToM v O
  34. [~,p,~,stats]=ttest(df.tomsel1.(group)(:,i),0,'tail','right');
  35. results.ToM.(group)(i,1)=stats.tstat;
  36. results.ToM.(group)(i,2)=p;
  37. results.ToM.(group)(i,3)=stats.df;
  38. d=meanEffectSize(df.tomsel1.(group)(:,i),'Effect','cohen');
  39. results.ToM.(group)(i,5)=table2array(d(1,1));
  40. ci.ToM(i,:)=table2array(d(1,2));
  41. end
  42. % do multiple comparison correction
  43. %results.LANGvToM.(group)(:,4)=bonf_holm(results.LANGvToM.(group)(:,2));
  44. results.Lang.(group)(:,4)=bonf_holm(results.Lang.(group)(:,2));
  45. results.ToM.(group)(:,4)=bonf_holm(results.ToM.(group)(:,2));
  46. % prep the Lang table
  47. for i=1:length(networks)
  48. pval=results.Lang.(group)(i,2);
  49. pval_bf=results.Lang.(group)(i,4);
  50. dval=results.Lang.(group)(i,5);
  51. table_lang{i,1} = sprintf('%2.2f (%d)',results.Lang.(group)(i,1),results.Lang.(group)(i,3));
  52. if pval < 0.05 && pval_bf > 0.05
  53. table_lang{i,2} = sprintf('%0.5g*',pval);
  54. elseif pval <0.05 && pval_bf <0.05
  55. table_lang{i,2} = sprintf('%0.5g**',pval);
  56. else
  57. table_lang{i,2} = sprintf('%0.5g',pval);
  58. end
  59. table_lang{i,3} = sprintf('%2.2f, [%2.2f,%2.2f] ',dval,ci.lang(i,1),ci.lang(i,2));
  60. end
  61. % prep the ToM table for i=1:length(plotROIs)
  62. for i=1:length(networks)
  63. pval=results.ToM.(group)(i,2);
  64. pval_bf=results.ToM.(group)(i,4);
  65. dval=results.ToM.(group)(i,5);
  66. table_ToM{i,1} = sprintf('%2.2f (%d)',results.ToM.(group)(i,1),results.ToM.(group)(i,3));
  67. if pval < 0.05 && pval_bf > 0.05
  68. table_ToM{i,2} = sprintf('%0.5g*',pval);
  69. elseif pval <0.05 && pval_bf <0.05
  70. table_ToM{i,2} = sprintf('%0.5g**',pval);
  71. else
  72. table_ToM{i,2} = sprintf('%0.5g',pval);
  73. end
  74. table_ToM{i,3} = sprintf('%2.2f, [%2.2f,%2.2f] ',dval,ci.ToM(i,1),ci.ToM(i,2));
  75. end
  76. tablev0=[table_lang;table_ToM];
  77. %% Plot Figure 1A
  78. group='kidsEnTx'; % or 'kidsEnTx' 'adultsEnTx'
  79. meanselkid=[nanmean(df.langsel.(group)(:,[1,2]),'all'),nanmean(df.tomsel.(group)(:,[1,2]),'all');nanmean(df.langsel.(group)(:,[6,7]),'all'),nanmean(df.tomsel.(group)(:,[6,7]),'all');nanmean(df.langsel.(group)(:,[5]),'all'),nanmean(df.tomsel.(group)(:,[5]),'all');nanmean(df.langsel.(group)(:,[10]),'all'),nanmean(df.tomsel.(group)(:,[10]),'all')];
  80. steselkid=[nanste(nanmean(df.langsel.(group)(:,[1,2]),2)),nanste(nanmean(df.tomsel.(group)(:,[1,2]),2));nanste(nanmean(df.langsel.(group)(:,[6,7]),2)),nanste(nanmean(df.tomsel.(group)(:,[6,7]),2));nanste(nanmean(df.langsel.(group)(:,[5]),2)),nanste(nanmean(df.tomsel.(group)(:,[5]),2));nanste(nanmean(df.langsel.(group)(:,[10]),2)),nanste(nanmean(df.tomsel.(group)(:,[10]),2))];
  81. errorbar_groups(meanselkid',steselkid')
  82. hold on
  83. scatter(ones([length(df.langsel.(group)(:,1)),1])*1.05,nanmean(df.langsel.(group)(:,[1,2]),2),'k')
  84. scatter(ones([length(df.langsel.(group)(:,1)),1])*3.05,nanmean(df.langsel.(group)(:,[6,7]),2),'k')
  85. scatter(ones([length(df.langsel.(group)(:,1)),1])*5.05,nanmean(df.langsel.(group)(:,5),2),'k')
  86. scatter(ones([length(df.langsel.(group)(:,1)),1])*7.05,df.langsel.(group)(:,10),'k')
  87. scatter(ones([length(df.tomsel.(group)(:,1)),1])*1.95,nanmean(df.tomsel.(group)(:,[1,2]),2),'k')
  88. scatter(ones([length(df.tomsel.(group)(:,1)),1])*3.95,nanmean(df.tomsel.(group)(:,[6,7]),2),'k')
  89. scatter(ones([length(df.tomsel.(group)(:,1)),1])*5.95,nanmean(df.tomsel.(group)(:,5),2),'k')
  90. scatter(ones([length(df.tomsel.(group)(:,1)),1])*7.95,nanmean(df.tomsel.(group)(:,10),2),'k')
  91. legend({'Lang','ToM'})
  92. xticklabels({'LH Lang','RH Lang','LH TPJ','RH TPJ'})
  93. ylabel({'Selectivity'})
  94. title(group)
  95. ylim([-1 2])
  96. %% Are language and ToM regions functionally distinct
  97. % this code if for reproducing Table 1
  98. % to make table S2, use motmatch groups
  99. % to make table S3, use the EnNs groups
  100. % prep the data for rmANOVA:
  101. clear sels task sub fwd aovtable
  102. group='adultsmotmatchEnTx'; subgroup='adultsmotmatch'; % sub group just needs to have the number of subjects
  103. sels=[df.langsel1.(group);df.tomsel1.(group)];
  104. task=[repmat({'lang'},[length(sels)/2,1]);repmat({'tom'},[length(sels)/2,1])]; %lang 0, ToM 1
  105. sub=[df.subs.(subgroup);df.subs.(subgroup)]; % subject
  106. if contains(group,'kids')
  107. fwd=[mean(df.motion.(subgroup).mean_fwd.lang,2);df.motion.(subgroup).mean_fwd.partlycloudy_rc_new(:,1)]; % fwd
  108. else
  109. % for adults
  110. fwd=[mean(df.motion.(subgroup).lang,2);df.motion.(subgroup).pc]; % fwd
  111. end
  112. aovtable=table(sub,task,sels,fwd);
  113. % see R studio script for calculating rmANOVAs
  114. %% table S4, differentiation with age
  115. % outcome of cross sectional correlation is in rlang and rtom
  116. % column 1: r value
  117. % column 2: p value
  118. % column 3: p value after bonferroni holm correction
  119. % rows are the 7 networks
  120. % longitudinal results are in ltp12: language changes across TPs; ttp12:
  121. % ToM changes across TPs
  122. group='kidsEnTx';con='EnTx'; %
  123. for i=1:length(networks)
  124. [rlang(i,1),rlang(i,2)]=partialcorr(df.langsel1.(group)(:,i),df.ages.kids,mean(df.motion.kids.mean_fwd.lang,2),'rows','complete');
  125. [rtom(i,1),rtom(i,2)]=partialcorr(df.tomsel1.(group)(:,i),df.ages.kids,df.motion.kids.mean_fwd.partlycloudy_rc_new(:,1),'rows','complete');
  126. [~,pl(i,1),~,stats]=ttest(df.langsel1.(['kidslongTP1' con])(:,i),df.langsel1.(['kidslongTP2' con])(:,i));
  127. ltp12(i,1)=strcat('t(' ,string(stats.df), ')=',string(round(stats.tstat,2)) );
  128. [~,pt(i,1),~,stats]=ttest(df.tomsel1.(['kidslongTP1' con])(:,i),df.tomsel1.(['kidslongTP2' con])(:,i));
  129. ttp12(i,1)=strcat('t(' ,string(stats.df), ')=',string(round(stats.tstat,2)) );
  130. end
  131. rlang(:,3)=bonf_holm(rlang(:,2));
  132. rtom(:,3)=bonf_holm(rtom(:,2));
  133. %scatter(df.xsec.ages,tomsel1.xsec(:,1))
  134. rtable=[rlang(:,1:2),rtom(:,1:2)];
  135. %% figure 1B overlap
  136. kidgroup='kidsEnTx';
  137. adultgroup='adultsEnTx';
  138. thresholds={'1%','2%','3%','4%','5%','10%','20%','30%'};
  139. for i=1:length(thresholds)
  140. sgtitle('LH STL')
  141. subplot(2,4,i)
  142. histogram(df.dice.(kidgroup).dice.LH_STL(:,i),'NumBins',8)
  143. hold on
  144. histogram(df.dice.(adultgroup).dice.LH_STL(:,i),'NumBins',8)
  145. title(thresholds{i})
  146. ylabel('subject count')
  147. xlabel('overlap')
  148. legend('off')
  149. ylim([0 50])
  150. xlim([0 .60])
  151. end
  152. figure
  153. thresholds={'1%','2%','3%','4%','5%','10%','20%','30%'};
  154. for i=1:length(thresholds)
  155. sgtitle('RH STL')
  156. subplot(2,4,i)
  157. histogram(df.dice.(kidgroup).dice.RH_STL(:,i),'NumBins',8)
  158. hold on
  159. histogram(df.dice.(adultgroup).dice.RH_STL(:,i),'NumBins',8)
  160. title(thresholds{i})
  161. ylabel('subject count')
  162. xlabel('overlap')
  163. legend('off')
  164. ylim([0 50])
  165. xlim([0 .60])
  166. end
  167. %% figure 1C: dice overlap
  168. group='kidsEnTx'; % change to adultsEnTx to plot adults
  169. prct={'1','2','3','4','5','10','20','30'};
  170. for i=1:length(prct)
  171. meandice=squeeze(mean(df.diceperm.(group).real_dice));
  172. %sig_dice=1-(sum(df.diceperm.(group).pval_dice(:,:,i)<0.05)./size(df.spin.(group).pval_dice,1));
  173. subplot(2,4,i)
  174. imagesc([meandice(1:2,i),meandice(3:4,i)])
  175. hold on
  176. title(sprintf('%s',prct{i}))
  177. colorbar
  178. sgtitle(group,'FontSize',25)
  179. clim([0 1])
  180. xticks([1 2])
  181. %xticklabels({'LH Lang','RH Lang'})
  182. yticks([1 2])
  183. %yticklabels({'LH ToM','RH ToM'})
  184. set(gcf,'color','w'); % set graph parameters
  185. set(gca,'box','off','LineWidth',1.5,'FontSize',20);
  186. set(gca,'TickLabelInterpreter','none') % interpreter none is helpful for plotting names with '_'
  187. set(gcf,'renderer','painters'); % your plots are made slower but prettier
  188. end
  189. %% overlap stats in text
  190. % adult results listed in text
  191. % mean and std of overlap
  192. mean(df.dice.adultsEnTx.dice.LH_STL)
  193. std(df.dice.adultsEnTx.dice.LH_STL)
  194. % percent overlap similar to change
  195. sum(squeeze(df.diceperm.adultsEnTx.pval_dice(:,1,:))>=0.05)/length(df.subs.adults)
  196. mean(df.dice.adultsEnTx.dice.RH_STL)
  197. std(df.dice.adultsEnTx.dice.RH_STL)
  198. sum(squeeze(df.diceperm.adultsEnTx.pval_dice(:,4,:))>=0.05)/length(df.subs.adults)
  199. % LH to RH overlap
  200. LHlang_RHToM=[squeeze(mean(df.diceperm.adultsEnTx.real_dice(:,3,:))),squeeze(std(df.diceperm.adultsEnTx.real_dice(:,3,:)))]
  201. sum(squeeze(df.diceperm.adultsEnTx.pval_dice(:,3,:))>=0.05)/length(df.subs.adults)
  202. % kids results
  203. mean(df.dice.kidsEnTx.dice.LH_STL)
  204. std(df.dice.kidsEnTx.dice.LH_STL)
  205. sum(squeeze(df.diceperm.kidsEnTx.pval_dice(:,1,:))>=0.05)/length(df.subs.kids)
  206. mean(df.dice.kidsEnTx.dice.RH_STL)
  207. std(df.dice.kidsEnTx.dice.RH_STL)
  208. sum(squeeze(df.diceperm.kidsEnTx.pval_dice(:,4,:))>=0.05)/length(df.subs.kids)
  209. LHlang_RHToM=[squeeze(mean(df.diceperm.kidsEnTx.real_dice(:,3,:))),squeeze(std(df.diceperm.kidsEnTx.real_dice(:,3,:)))]
  210. sum(squeeze(df.diceperm.kidsEnTx.pval_dice(:,3,:))>=0.05)/length(df.subs.kids)
  211. %% overlap stats in table 2
  212. % output of interest is ov
  213. % column 1: mean (std) % similar change for LH overlap
  214. % column 2: mean (std) % similar change for RH overlap
  215. % column 3: mean (std) % similar change for LH lang-RH ToM overlap
  216. % the rows are the different threshold for making hotspot fROI: 1%-5%,
  217. % 10%,20%,30%
  218. % change to motmatch for Table S5
  219. % change the group to EnNs for Table S6
  220. group='adultsEnNs';group1='adults';
  221. for i=1:8
  222. meanov=nanmean(df.dice.(group).dice.LH_STL(:,i));
  223. stdov=nanstd(df.dice.(group).dice.LH_STL(:,i));
  224. perc_chance=(sum(squeeze(df.diceperm.(group).pval_dice(:,1,i))>=0.05)./length(df.subs.(group1)))*100;
  225. ov{i,1} = sprintf('%2.3f (%2.3f); %2.1f%%',meanov,stdov,perc_chance);
  226. meanov=nanmean(df.dice.(group).dice.RH_STL(:,i));
  227. stdov=nanstd(df.dice.(group).dice.RH_STL(:,i));
  228. perc_chance=(sum(squeeze(df.diceperm.(group).pval_dice(:,4,i))>=0.05)./length(df.subs.(group1)))*100;
  229. ov{i,2} = sprintf('%2.3f (%2.3f); %2.1f%%',meanov,stdov,perc_chance);
  230. meanov=nanmean(df.diceperm.(group).real_dice(:,3,i));
  231. stdov=nanstd(df.diceperm.(group).real_dice(:,3,i));
  232. perc_chance=(sum(squeeze(df.diceperm.(group).pval_dice(:,3,i))>=0.05)./length(df.subs.(group1)))*100;
  233. ov{i,3} = sprintf('%2.3f (%2.3f); %2.1f%%',meanov,stdov,perc_chance);
  234. end
  235. %% overlap and age changes
  236. % table S7
  237. % for table S8, use EnNs results
  238. % this is cross sectional results: results.ovcor
  239. % column 1: r value
  240. % column 2: pval
  241. % column 3: bonferrnoi-holm p val
  242. % rows: thresholds, 1-5%, 10%, 20%, 30%
  243. sec={'LH_STL','RH_STL'};
  244. group='kidsEnNs'; group1='kids';
  245. motion=nanmean([df.motion.(group1).mean_fwd.lang,df.motion.(group1).mean_fwd.partlycloudy_rc_new],2);
  246. for s=1:length(sec)
  247. for i=1:8
  248. [r,p]=partialcorr(df.dice.(group).dice.(sec{s})(:,i),df.ages.(group1),motion);
  249. results.ovcor.(group).(sec{s})(i,1)=r;
  250. results.ovcor.(group).(sec{s})(i,2)=p;
  251. [r,p]=partialcorr(squeeze(df.diceperm.(group).real_dice(:,3,i)),df.ages.(group1),motion);
  252. results.ovcor.(group).LHlangRHToM(i,1)=r;
  253. results.ovcor.(group).LHlangRHToM(i,2)=p;
  254. end
  255. end
  256. results.ovcor.(group).RH_STL(:,3)=bonf_holm(results.ovcor.(group).RH_STL(:,2));
  257. results.ovcor.(group).LH_STL(:,3)=bonf_holm(results.ovcor.(group).LH_STL(:,2));
  258. results.ovcor.(group).LHlangRHToM(:,3)=bonf_holm(results.ovcor.(group).LHlangRHToM(:,2));
  259. % this is the longitudinal results: results.ovttest.long
  260. % table results are ov_tp
  261. % column 1: t stat (dof)
  262. % column 2: p value
  263. % column 3: cohen's D
  264. % column 4: cohen's d 95% CI
  265. % rows are the 8 thresholds (1%-5%,10%,20%,30%)
  266. groupTP1='kidslongTP1EnNs';
  267. groupTP2='kidslongTP2EnNs';
  268. sec={'LH_STL','RH_STL'};
  269. for s=1:length(sec)
  270. for i=1:8
  271. [~,p,~,stats]=ttest(df.dice.(groupTP1).dice.(sec{s})(:,i),df.dice.(groupTP2).dice.(sec{s})(:,i));
  272. cd=meanEffectSize(df.dice.(groupTP1).dice.(sec{s})(:,i),df.dice.(groupTP2).dice.(sec{s})(:,i),'Effect','cohen');
  273. results.ovttest.long.(sec{s})(i,1)=stats.tstat;
  274. results.ovttest.long.(sec{s})(i,2)=stats.df;
  275. results.ovttest.long.(sec{s})(i,3)=p;
  276. ci=string(round(table2array(cd(1,2)),2));
  277. ov_tp.(sec{s}){i,1} = sprintf('%2.2f (%d)',stats.tstat,stats.df);
  278. ov_tp.(sec{s}){i,2} = sprintf('%2.2f',p);
  279. ov_tp.(sec{s}){i,3} = sprintf('%2.2f,',table2array(cd(1,1)));
  280. ov_tp.(sec{s}){i,4} = sprintf('[%s,%s]',ci(1),ci(2));
  281. end
  282. end
  283. results.ovttest.long.LH_STL(:,4)=bonf_holm( results.ovttest.long.LH_STL(:,3));
  284. results.ovttest.long.RH_STL(:,4)=bonf_holm( results.ovttest.long.RH_STL(:,3));
  285. for i=1:8
  286. [~,p,~,stats]=ttest(df.diceperm.(groupTP1).real_dice(:,i),squeeze(df.diceperm.(groupTP2).real_dice(:,3,i)));
  287. cd=meanEffectSize(df.diceperm.(groupTP1).real_dice(:,i),squeeze(df.diceperm.(groupTP2).real_dice(:,3,i)),'Effect','cohen');
  288. results.ovttest.long.LHlang_RHToM(i,1)=stats.tstat;
  289. results.ovttest.long.LHlang_RHToM(i,2)=stats.df;
  290. results.ovttest.long.LHlang_RHToM(i,3)=p;
  291. ci=string(round(table2array(cd(1,2)),2));
  292. ov_tp.LHlang_RHToM{i,1} = sprintf('%2.2f (%d)',stats.tstat,stats.df);
  293. ov_tp.LHlang_RHToM{i,2} = sprintf('%2.2f',p);
  294. ov_tp.LHlang_RHToM{i,3} = sprintf('%2.2f,',table2array(cd(1,1)));
  295. ov_tp.LHlang_RHToM{i,4} = sprintf('[%s,%s]',ci(1),ci(2));
  296. end
  297. %% predicting adult STL activation
  298. group='kids'; % 'kids'
  299. % set the group to either kids or adults depending on stats you are
  300. % trying to reproduce
  301. % language activation prediction
  302. % get mean and std of self prediction (using a subject's own connectivity
  303. mean(cfmodelresults.(group).selfprediction.lh.R2_EnTx_lang)
  304. std(cfmodelresults.(group).selfprediction.lh.R2_EnTx_lang)
  305. mean(cfmodelresults.(group).selfprediction.rh.R2_EnTx_lang)
  306. std(cfmodelresults.(group).selfprediction.rh.R2_EnTx_lang)
  307. % get mean and std of other prediction (using each other subs connectivty)
  308. mean(cfmodelresults.(group).otherpred.lh.R2_EnTx_lang,'all')
  309. std(mean(cfmodelresults.(group).otherpred.lh.R2_EnTx_lang,2))
  310. mean(cfmodelresults.(group).otherpred.rh.R2_EnTx_lang,'all')
  311. std(mean(cfmodelresults.(group).otherpred.rh.R2_EnTx_lang,2))
  312. % self v other t-test: do fischer z transform
  313. [~,p,~,stats]=ttest(atanh(cfmodelresults.(group).selfprediction.lh.R2_EnTx_lang),mean(atanh(cfmodelresults.(group).otherpred.lh.R2_EnTx_lang),2))
  314. meanEffectSize(atanh(cfmodelresults.(group).selfprediction.lh.R2_EnTx_lang),mean(atanh(cfmodelresults.(group).otherpred.lh.R2_EnTx_lang),2),Effect="cohen")
  315. [~,p,~,stats]=ttest(atanh(cfmodelresults.(group).selfprediction.rh.R2_EnTx_lang),mean(atanh(cfmodelresults.(group).otherpred.rh.R2_EnTx_lang),2))
  316. meanEffectSize(atanh(cfmodelresults.(group).selfprediction.rh.R2_EnTx_lang),mean(atanh(cfmodelresults.(group).otherpred.rh.R2_EnTx_lang),2),Effect="cohen")
  317. % ToM activation prediction
  318. % get mean and std of self prediction (using a subject's own connectivity
  319. mean(cfmodelresults.(group).selfprediction.lh.R2_MntlPain_ToM)
  320. std(cfmodelresults.(group).selfprediction.lh.R2_MntlPain_ToM)
  321. mean(cfmodelresults.(group).selfprediction.rh.R2_MntlPain_ToM)
  322. std(cfmodelresults.(group).selfprediction.rh.R2_MntlPain_ToM)
  323. % get mean and std of other prediction (using each other subs connectivty)
  324. mean(cfmodelresults.(group).otherpred.lh.R2_MntlPain_ToM,'all')
  325. std(mean(cfmodelresults.(group).otherpred.lh.R2_MntlPain_ToM,2))
  326. mean(cfmodelresults.(group).otherpred.rh.R2_MntlPain_ToM,'all')
  327. std(mean(cfmodelresults.(group).otherpred.rh.R2_MntlPain_ToM,2))
  328. % self v other t-test: do fischer z transform
  329. [~,p,~,stats]=ttest(atanh(cfmodelresults.(group).selfprediction.lh.R2_MntlPain_ToM),mean(atanh(cfmodelresults.(group).otherpred.lh.R2_MntlPain_ToM),2))
  330. meanEffectSize(atanh(cfmodelresults.(group).selfprediction.lh.R2_MntlPain_ToM),mean(atanh(cfmodelresults.(group).otherpred.lh.R2_MntlPain_ToM),2),Effect="cohen")
  331. [~,p,~,stats]=ttest(atanh(cfmodelresults.(group).selfprediction.rh.R2_MntlPain_ToM),mean(atanh(cfmodelresults.(group).otherpred.rh.R2_MntlPain_ToM),2))
  332. meanEffectSize(atanh(cfmodelresults.(group).selfprediction.rh.R2_MntlPain_ToM),mean(atanh(cfmodelresults.(group).otherpred.rh.R2_MntlPain_ToM),2),Effect="cohen")
  333. %% model fit and age correlations
  334. [r,p]=partialcorr(atanh(cfmodelresults.kids.selfprediction.lh.R2_EnTx_lang),df.ages.kidscf,df.motion.kidscf.restmot.fwd)
  335. [r,p]=partialcorr(atanh(cfmodelresults.kids.selfprediction.rh.R2_EnTx_lang),df.ages.kidscf,df.motion.kidscf.restmot.fwd)
  336. [r,p]=partialcorr(atanh(cfmodelresults.kids.selfprediction.lh.R2_MntlPain_ToM),df.ages.kidscf,df.motion.kidscf.restmot.fwd)
  337. [r,p]=partialcorr(atanh(cfmodelresults.kids.selfprediction.rh.R2_MntlPain_ToM),df.ages.kidscf,df.motion.kidscf.restmot.fwd)
  338. %% model fit across TPs
  339. TP1self.lh.lang=diag(cfmodelresults.kidsTP1.selfprediction.lh.R2_EnTx_lang);
  340. TP1self.rh.lang=diag(cfmodelresults.kidsTP1.selfprediction.rh.R2_EnTx_lang);
  341. TP1self.lh.ToM=diag(cfmodelresults.kidsTP1.selfprediction.lh.R2_MntlPain_ToM);
  342. TP1self.rh.ToM=diag(cfmodelresults.kidsTP1.selfprediction.rh.R2_MntlPain_ToM);
  343. mean(TP1self.lh.lang)
  344. std(TP1self.lh.lang)
  345. mean(TP1self.rh.lang)
  346. std(TP1self.rh.lang)
  347. mean(TP1self.lh.ToM)
  348. std(TP1self.lh.ToM)
  349. mean(TP1self.rh.ToM)
  350. std(TP1self.rh.ToM)
  351. [~,tp2_idx]=intersect(df.subs.kidscf,df.subs.kidscfTP2);
  352. TP2self.lh.lang=cfmodelresults.kids.selfprediction.lh.R2_EnTx_lang(tp2_idx);
  353. TP2self.rh.lang=cfmodelresults.kids.selfprediction.rh.R2_EnTx_lang(tp2_idx);
  354. TP2self.lh.ToM=cfmodelresults.kids.selfprediction.lh.R2_MntlPain_ToM(tp2_idx);
  355. TP2self.rh.ToM=cfmodelresults.kids.selfprediction.rh.R2_MntlPain_ToM(tp2_idx);
  356. [~,p,~,stats]=ttest(atanh(TP1self.lh.lang),atanh(TP2self.lh.lang))
  357. meanEffectSize(atanh(TP1self.lh.lang),atanh(TP2self.lh.lang),Effect='cohen')
  358. [~,p,~,stats]=ttest(atanh(TP1self.rh.lang),atanh(TP2self.rh.lang))
  359. meanEffectSize(atanh(TP1self.rh.lang),atanh(TP2self.rh.lang),Effect='cohen')
  360. [~,p,~,stats]=ttest(atanh(TP1self.lh.ToM),atanh(TP2self.lh.ToM))
  361. meanEffectSize(atanh(TP1self.lh.ToM),atanh(TP2self.lh.ToM),Effect='cohen')
  362. [~,p,~,stats]=ttest(atanh(TP1self.rh.ToM),atanh(TP2self.rh.ToM))
  363. meanEffectSize(atanh(TP1self.rh.ToM),atanh(TP2self.rh.ToM),Effect='cohen')
  364. %% Plot Figure 2A
  365. group='adults'; subs=length(df.subs.adultscf);
  366. % change to kids and df.subs.kidscf when plotting kids
  367. clear predcorr predcorr_b predcorr_other
  368. predcorr(:,1)=cfmodelresults.(group).selfprediction.lh.R2_EnTx_lang;
  369. predcorr(:,2)=cfmodelresults.(group).selfprediction.rh.R2_EnTx_lang;
  370. predcorr(:,3)=cfmodelresults.(group).selfprediction.lh.R2_MntlPain_ToM;
  371. predcorr(:,4)=cfmodelresults.(group).selfprediction.rh.R2_MntlPain_ToM;
  372. predcorr_other(:,1)=mean(cfmodelresults.(group).otherpred.lh.R2_EnTx_lang,2);
  373. predcorr_other(:,2)=mean(cfmodelresults.(group).otherpred.rh.R2_EnTx_lang,2);
  374. predcorr_other(:,3)=mean(cfmodelresults.(group).otherpred.lh.R2_MntlPain_ToM,2);
  375. predcorr_other(:,4)=mean(cfmodelresults.(group).otherpred.rh.R2_MntlPain_ToM,2);
  376. predcorr_b(:,1)=cfmodelresults.(group).wrongBpred.lh.R2_EnTx_lang;
  377. predcorr_b(:,2)=cfmodelresults.(group).wrongBpred.rh.R2_EnTx_lang;
  378. predcorr_b(:,3)=cfmodelresults.(group).wrongBpred.lh.R2_MntlPain_ToM;
  379. predcorr_b(:,4)=cfmodelresults.(group).wrongBpred.rh.R2_MntlPain_ToM;
  380. xvals=errorbar_groups([mean(predcorr);mean(predcorr_other);mean(predcorr_b)],[ste(predcorr);ste(predcorr_other);ste(predcorr_b)]);
  381. hold on
  382. for i=1:length(xvals)
  383. xval=[ones([subs,1]).*(xvals(i)-0.9),ones([subs,1]).*xvals(i),ones([subs,1]).*(xvals(i)+0.9)];
  384. yval=[predcorr(:,i),predcorr_other(:,i),predcorr_b(:,i)];
  385. scatter(xval,yval,'k')
  386. for s=1:subs
  387. plot(xval(s,:),yval(s,:),'r')
  388. end
  389. end
  390. title([ group 'Model Performance'])
  391. legend({'Self','Other','Opposite Task Betas'})
  392. ylabel('Correlation Real and Predicted')
  393. xticklabels({'Lang LH','Lang RH','ToM LH','ToM RH'})
  394. set(gcf,'color','w');
  395. set(gca,'box','off','LineWidth',2.5,'FontSize',15,'Layer', 'Top');
  396. %% Figure 2B: TP1 vs TP2
  397. subs=length(df.subs.kidscfTP1);
  398. xvals=errorbar_groups([mean(TP1self.lh.lang),mean(TP1self.rh.lang),mean(TP1self.lh.ToM),mean(TP1self.rh.ToM);mean(TP2self.lh.lang),mean(TP2self.rh.lang),mean(TP2self.lh.ToM),mean(TP2self.rh.ToM)],[ste(TP1self.lh.lang),ste(TP1self.rh.lang),ste(TP1self.lh.ToM),ste(TP1self.rh.ToM);ste(TP2self.lh.lang),ste(TP2self.rh.lang),ste(TP2self.lh.ToM),ste(TP2self.rh.ToM)]);
  399. hold on
  400. title('Kids Longitudinal Model Fit')
  401. xticklabels({'LH Lang','RH Lang','LH ToM','RH ToM'})
  402. %xticklabels({'LH Lang','RH Lang'}); %;,'LH ToM','RH ToM'})
  403. ylabel('Predicted-Actual Correlation')
  404. scatter(ones([subs,1])*1.95,TP2self.lh.lang,'k')
  405. scatter(ones([subs,1])*1.05,TP1self.lh.lang,'k')
  406. scatter(ones([subs,1])*3.95,TP2self.rh.lang,'k')
  407. scatter(ones([subs,1])*3.05,TP1self.rh.lang,'k')
  408. scatter(ones([subs,1])*5.95,TP2self.lh.ToM,'k')
  409. scatter(ones([subs,1])*5.05,TP1self.lh.ToM,'k')
  410. scatter(ones([subs,1])*7.95,TP2self.rh.ToM,'k')
  411. scatter(ones([subs,1])*7.05,TP1self.rh.ToM,'k')
  412. for s=1:subs
  413. plot([1.05,1.95],[TP1self.lh.lang(s,1),TP2self.lh.lang(s,1)],'r')
  414. plot([3.05,3.95],[TP1self.rh.lang(s,1),TP2self.rh.lang(s,1)],'r')
  415. plot([5.05,5.95],[TP1self.lh.ToM(s,1),TP2self.lh.ToM(s,1)],'r')
  416. plot([7.05,7.95],[TP1self.rh.ToM(s,1),TP2self.rh.ToM(s,1)],'r')
  417. end
  418. legend({'TP1','TP2'})
  419. set(gcf,'color','w');
  420. set(gca,'box','off','LineWidth',2.5,'FontSize',15,'Layer', 'Top');
  421. %% comparing across models for predicting lang and ToM
  422. % adults lang v ToM
  423. [~,p,~,stats]=ttest(atanh(cfmodelresults.adults.selfprediction.lh.R2_EnTx_lang),atanh(cfmodelresults.adults.selfprediction.lh.R2_MntlPain_ToM))
  424. meanEffectSize(atanh(cfmodelresults.adults.selfprediction.lh.R2_EnTx_lang),atanh(cfmodelresults.adults.selfprediction.lh.R2_MntlPain_ToM),Effect="cohen")
  425. [~,p,~,stats]=ttest(atanh(cfmodelresults.adults.selfprediction.rh.R2_EnTx_lang),atanh(cfmodelresults.adults.selfprediction.rh.R2_MntlPain_ToM))
  426. meanEffectSize(atanh(cfmodelresults.adults.selfprediction.rh.R2_EnTx_lang),atanh(cfmodelresults.adults.selfprediction.rh.R2_MntlPain_ToM),Effect="cohen")
  427. % children lang v ToM
  428. [~,p,~,stats]=ttest(atanh(cfmodelresults.kids.selfprediction.lh.R2_EnTx_lang),atanh(cfmodelresults.kids.selfprediction.lh.R2_MntlPain_ToM))
  429. meanEffectSize(atanh(cfmodelresults.kids.selfprediction.lh.R2_EnTx_lang),atanh(cfmodelresults.kids.selfprediction.lh.R2_MntlPain_ToM),Effect="cohen")
  430. [~,p,~,stats]=ttest(atanh(cfmodelresults.kids.selfprediction.rh.R2_EnTx_lang),atanh(cfmodelresults.kids.selfprediction.rh.R2_MntlPain_ToM))
  431. meanEffectSize(atanh(cfmodelresults.kids.selfprediction.rh.R2_EnTx_lang),atanh(cfmodelresults.kids.selfprediction.rh.R2_MntlPain_ToM),Effect="cohen")
  432. %% Connectivity fingerprints for Language vs. ToM in the STL
  433. [r_beta,p_beta]=corr([meanbetas.kids.R2_EnTx_lang.lh,meanbetas.kids.R2_EnTx_lang.rh,meanbetas.kids.R2_MntlPain_ToM.lh,meanbetas.kids.R2_MntlPain_ToM.rh,meanbetas.adults.R2_EnTx_lang.lh,meanbetas.adults.R2_EnTx_lang.rh,meanbetas.adults.R2_MntlPain_ToM.lh,meanbetas.adults.R2_MntlPain_ToM.rh],'Type','Pearson','rows','pairwise');
  434. p_beta(p_beta==1)=0;
  435. ptri=tril(p_beta);
  436. pval=squareform(p_beta)';
  437. pbf=bonf_holm(pval);
  438. pbf_square=squareform(pbf);
  439. % r beta & p_beta (rows and columns) is in the order of
  440. % kids lang lh
  441. % kids lang rh
  442. % kids ToM lh
  443. % kids ToM rh
  444. % adults lang lh
  445. % adults lang rh
  446. % adults ToM lh
  447. % adults ToM rh
  448. % look at adult to adult models
  449. adults_r=r_beta(5:8,5:8);
  450. adults_pbh=pbf_square(5:8,5:8);
  451. adults_sig=r_beta(5:8,5:8).*(pbf_square(5:8,5:8)<0.05);
  452. kids_r=r_beta(1:4,1:4);
  453. kids_pbh=pbf_square(1:4,1:4);
  454. kids_sig=r_beta(1:4,1:4).*(pbf_square(1:4,1:4)<0.05);
  455. ak_r=r_beta(5:8,1:4);
  456. ak_pbh=pbf_square(5:8,1:4);
  457. ak_sig=r_beta(5:8,1:4).*(pbf_square(5:8,1:4)<0.05);
  458. %% Figure 2C
  459. imagesc(r_beta)
  460. hold on
  461. colorbar
  462. clim([0 1])
  463. colormap(turbo)
  464. title('Correlation of Betas Across Models')
  465. xticklabels({'Kids LH Lang','Kids RH Lang','Kids LH ToM','Kids RH ToM', ...
  466. 'Adults LH Lang','Adults RH Lang','Adults LH ToM','Adults RH ToM'})
  467. yticklabels({'Kids LH Lang','Kids RH Lang','Kids LH ToM','Kids RH ToM', ...
  468. 'Adults LH Lang','Adults RH Lang','Adults LH ToM','Adults RH ToM'})
  469. %% What contributes to these differences across domains?
  470. lang='R2_EnTx_lang';
  471. ToM='R2_MntlPain_ToM';
  472. for i=1:145
  473. % kids LH
  474. [~,p,~,stats]=ttest(betas.kids.(lang).lh(i,:),betas.kids.(ToM).lh(i,:));
  475. betacomp.kids_lh(i,2)=p;
  476. betacomp.kids_lh(i,1)=stats.tstat;
  477. % kids RH
  478. [~,p,~,stats]=ttest(betas.kids.(lang).rh(i,:),betas.kids.(ToM).rh(i,:));
  479. betacomp.kids_rh(i,2)=p;
  480. betacomp.kids_rh(i,1)=stats.tstat;
  481. % adults LH
  482. [~,p,~,stats]=ttest(betas.adults.(lang).lh(i,:),betas.adults.(ToM).lh(i,:));
  483. betacomp.adults_lh(i,2)=p;
  484. betacomp.adults_lh(i,1)=stats.tstat;
  485. %adults RH
  486. [~,p,~,stats]=ttest(betas.adults.(lang).rh(i,:),betas.adults.(ToM).rh(i,:));
  487. betacomp.adults_rh(i,2)=p;
  488. betacomp.adults_rh(i,1)=stats.tstat;
  489. end
  490. betacomp.adults_rh(:,3)=bonf_holm(betacomp.adults_rh(:,2));
  491. betacomp.adults_lh(:,3)=bonf_holm(betacomp.adults_lh(:,2));
  492. betacomp.kids_rh(:,3)=bonf_holm(betacomp.kids_rh(:,2));
  493. betacomp.kids_lh(:,3)=bonf_holm(betacomp.kids_lh(:,2));
  494. % get the % of predictors that significantly differ across models
  495. % in betacomp, the rows are the 145 regions
  496. % column 1 is t stat
  497. % column 2 is pval
  498. % column 3 is bonferroni-holm pval
  499. (sum(betacomp.adults_lh(:,3)<0.05)/145)*100
  500. (sum(betacomp.adults_rh(:,3)<0.05)/145)*100
  501. (sum(betacomp.kids_lh(:,3)<0.05)/145)*100
  502. (sum(betacomp.kids_rh(:,3)<0.05)/145)*100
  503. %% compare true models with using the wrong betas
  504. % adults
  505. mean(cfmodelresults.adults.selfprediction.lh.R2_EnTx_lang-cfmodelresults.adults.wrongBpred.lh.R2_EnTx_lang)
  506. std(cfmodelresults.adults.selfprediction.lh.R2_EnTx_lang-cfmodelresults.adults.wrongBpred.lh.R2_EnTx_lang)
  507. mean(cfmodelresults.adults.selfprediction.rh.R2_EnTx_lang-cfmodelresults.adults.wrongBpred.rh.R2_EnTx_lang)
  508. std(cfmodelresults.adults.selfprediction.rh.R2_EnTx_lang-cfmodelresults.adults.wrongBpred.rh.R2_EnTx_lang)
  509. mean(cfmodelresults.adults.selfprediction.lh.R2_MntlPain_ToM-cfmodelresults.adults.wrongBpred.lh.R2_MntlPain_ToM)
  510. std(cfmodelresults.adults.selfprediction.lh.R2_MntlPain_ToM-cfmodelresults.adults.wrongBpred.lh.R2_MntlPain_ToM)
  511. mean(cfmodelresults.adults.selfprediction.rh.R2_MntlPain_ToM-cfmodelresults.adults.wrongBpred.rh.R2_MntlPain_ToM)
  512. std(cfmodelresults.adults.selfprediction.rh.R2_MntlPain_ToM-cfmodelresults.adults.wrongBpred.rh.R2_MntlPain_ToM)
  513. [~,p,~,stats]=ttest(atanh(cfmodelresults.adults.selfprediction.lh.R2_EnTx_lang),atanh(cfmodelresults.adults.wrongBpred.lh.R2_EnTx_lang))
  514. meanEffectSize(atanh(cfmodelresults.adults.selfprediction.lh.R2_EnTx_lang),atanh(cfmodelresults.adults.wrongBpred.lh.R2_EnTx_lang),Effect="cohen")
  515. [~,p,~,stats]=ttest(atanh(cfmodelresults.adults.selfprediction.rh.R2_EnTx_lang),atanh(cfmodelresults.adults.wrongBpred.rh.R2_EnTx_lang))
  516. meanEffectSize(atanh(cfmodelresults.adults.selfprediction.rh.R2_EnTx_lang),atanh(cfmodelresults.adults.wrongBpred.rh.R2_EnTx_lang),Effect="cohen")
  517. [~,p,~,stats]=ttest(atanh(cfmodelresults.adults.selfprediction.lh.R2_MntlPain_ToM),atanh(cfmodelresults.adults.wrongBpred.lh.R2_MntlPain_ToM))
  518. meanEffectSize(atanh(cfmodelresults.adults.selfprediction.lh.R2_MntlPain_ToM),atanh(cfmodelresults.adults.wrongBpred.lh.R2_MntlPain_ToM),Effect="cohen")
  519. [~,p,~,stats]=ttest(atanh(cfmodelresults.adults.selfprediction.rh.R2_MntlPain_ToM),atanh(cfmodelresults.adults.wrongBpred.rh.R2_MntlPain_ToM))
  520. meanEffectSize(atanh(cfmodelresults.adults.selfprediction.rh.R2_MntlPain_ToM),atanh(cfmodelresults.adults.wrongBpred.rh.R2_MntlPain_ToM),Effect="cohen")
  521. % kids
  522. mean(cfmodelresults.kids.selfprediction.lh.R2_EnTx_lang-cfmodelresults.kids.wrongBpred.lh.R2_EnTx_lang)
  523. std(cfmodelresults.kids.selfprediction.lh.R2_EnTx_lang-cfmodelresults.kids.wrongBpred.lh.R2_EnTx_lang)
  524. mean(cfmodelresults.kids.selfprediction.rh.R2_EnTx_lang-cfmodelresults.kids.wrongBpred.rh.R2_EnTx_lang)
  525. std(cfmodelresults.kids.selfprediction.rh.R2_EnTx_lang-cfmodelresults.kids.wrongBpred.rh.R2_EnTx_lang)
  526. mean(cfmodelresults.kids.selfprediction.lh.R2_MntlPain_ToM-cfmodelresults.kids.wrongBpred.lh.R2_MntlPain_ToM)
  527. std(cfmodelresults.kids.selfprediction.lh.R2_MntlPain_ToM-cfmodelresults.kids.wrongBpred.lh.R2_MntlPain_ToM)
  528. mean(cfmodelresults.kids.selfprediction.rh.R2_MntlPain_ToM-cfmodelresults.kids.wrongBpred.rh.R2_MntlPain_ToM)
  529. std(cfmodelresults.kids.selfprediction.rh.R2_MntlPain_ToM-cfmodelresults.kids.wrongBpred.rh.R2_MntlPain_ToM)
  530. [~,p,~,stats]=ttest(atanh(cfmodelresults.kids.selfprediction.lh.R2_EnTx_lang),atanh(cfmodelresults.kids.wrongBpred.lh.R2_EnTx_lang))
  531. meanEffectSize(atanh(cfmodelresults.kids.selfprediction.lh.R2_EnTx_lang),atanh(cfmodelresults.kids.wrongBpred.lh.R2_EnTx_lang),Effect="cohen")
  532. [~,p,~,stats]=ttest(atanh(cfmodelresults.kids.selfprediction.rh.R2_EnTx_lang),atanh(cfmodelresults.kids.wrongBpred.rh.R2_EnTx_lang))
  533. meanEffectSize(atanh(cfmodelresults.kids.selfprediction.rh.R2_EnTx_lang),atanh(cfmodelresults.kids.wrongBpred.rh.R2_EnTx_lang),Effect="cohen")
  534. [~,p,~,stats]=ttest(atanh(cfmodelresults.kids.selfprediction.lh.R2_MntlPain_ToM),atanh(cfmodelresults.kids.wrongBpred.lh.R2_MntlPain_ToM))
  535. meanEffectSize(atanh(cfmodelresults.kids.selfprediction.lh.R2_MntlPain_ToM),atanh(cfmodelresults.kids.wrongBpred.lh.R2_MntlPain_ToM),Effect="cohen")
  536. [~,p,~,stats]=ttest(atanh(cfmodelresults.kids.selfprediction.rh.R2_MntlPain_ToM),atanh(cfmodelresults.kids.wrongBpred.rh.R2_MntlPain_ToM))
  537. meanEffectSize(atanh(cfmodelresults.kids.selfprediction.rh.R2_MntlPain_ToM),atanh(cfmodelresults.kids.wrongBpred.rh.R2_MntlPain_ToM),Effect="cohen")
  538. %% For figure 3 and Figure S4
  539. % plot the top 10 most positive and top 10 most negative t stats in
  540. % betacomp for each hemisphere of kids & adults separately
  541. % for brain plotting code, please contanct [email hidden]

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

Overview

Authors: Kelly J. Hiersche1,2, David E. Osher1,2, Zeynep M. Saygin1,2
ORCID iDs: Zeynep M. Saygin
  1. Department of Psychology, The Ohio State University,Columbus, OH USA
  2. Center for Cognitive and Behavioral Brain Imaging, The Ohio State University,Columbus, OH USA
Institutions: The Ohio State University (United States)
Journal: Communications biology, volume 9, issue 1, article 558
Dates: received 3 October 2025; accepted 30 March 2026; published online 23 April 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s42003-026-10040-2 · PMID 42026127 · PMCID PMC13106660 · OpenAlex W7155356255
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), cognitive (subfield)
Methods: Connectivity, Statistics, Smoothing, state filtering, decompositions, Machine learning, Preprocessing, fMRI & imaging
Keywords: Neuroscience, Cognitive neuroscience
MeSH: Language*, Temporal Lobe*, Theory of Mind*, Adult, Brain Mapping, Child, Child, Preschool, Female, Humans, Magnetic Resonance Imaging, Male (* major topic)
Topic: Action Observation and Synchronization (Social Psychology, Psychology), according to OpenAlex
Funding: NICHD R01HD110401
Citations: cited by 3 papers (Europe PMC); 73 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 3 matches between paragraphs and lines of code.

Zenodo 19206150

License: CC-BY-4.0
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Languages: R (1), MATLAB (1)
Size: 4 files, 2 scripts
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: emmeans (1 file), ggplot2 (1 file), ggpubr (1 file), lme4 (1 file), lmerTest (1 file), Statistics and Machine Learning Toolbox (1 file), rstatix (1 file), tidyverse (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
  • 29 September 2026: the link answers (HTTP 200)
2 files
At the source:

Code availability statement

The paper has a code 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: Zenodo 19206150

Read it in the paper: doi.org/10.1038/s42003-026-10040-2.

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;
  • 2 scripts, each with its path and the digest of its content;
  • 3 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: Zenodo 19206150

Read it in the paper: doi.org/10.1038/s42003-026-10040-2.

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

Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 2 keywords, 11 MeSH terms, 1 funder, 70 references.

Cite

This paper

Hiersche, K. J., Osher, D. E., & Saygin, Z. M. (2026). Functional dissociation of language and theory of mind in the developing superior temporal lobe. Communications biology, 9(1), 558. https://doi.org/10.1038/s42003-026-10040-2

BibTeX

@article{hiersche2026functional,
author = {Hiersche, Kelly J. and Osher, David E. and Saygin, Zeynep M.},
title = {{Functional dissociation of language and theory of mind in the developing superior temporal lobe}},
journal = {Communications biology},
year = {2026},
month = apr,
volume = {9},
number = {1},
pages = {558},
publisher = {Nature Publishing Group},
issn = {2399-3642},
doi = {10.1038/s42003-026-10040-2},
url = {https://doi.org/10.1038/s42003-026-10040-2},
pmid = {42026127},
pmcid = {PMC13106660}
}

RIS

TY - JOUR
AU - Hiersche, Kelly J.
AU - Osher, David E.
AU - Saygin, Zeynep M.
TI - Functional dissociation of language and theory of mind in the developing superior temporal lobe
T2 - Communications biology
J2 - Commun Biol
PY - 2026
DA - 2026/04/23
VL - 9
IS - 1
SP - 558
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/s42003-026-10040-2
UR - https://doi.org/10.1038/s42003-026-10040-2
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s42003-026-10040-2",
"type": "article-journal",
"title": "Functional dissociation of language and theory of mind in the developing superior temporal lobe",
"container-title": "Communications biology",
"author": [
{
"family": "Hiersche",
"given": "Kelly J."
},
{
"family": "Osher",
"given": "David E."
},
{
"family": "Saygin",
"given": "Zeynep M."
}
],
"container-title-short": "Commun Biol",
"volume": "9",
"issue": "1",
"page": "558",
"DOI": "10.1038/s42003-026-10040-2",
"PMID": "42026127",
"PMCID": "PMC13106660",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s42003-026-10040-2",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
23
]
]
}
}

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/s41467-026-72916-5 [code]
Precision fMRI reveals that the language network exhibits adult-like left-hemispheric lateralization by 4 years of age.
Journal: Nature communications
In common: emmeans, lmerTest, lme4, 3 other tools, 14 references
[2] doi:10.1038/s41467-026-75745-8 [code]
A language network in the individualized functional connectomes of 1199 human brains doing arbitrary tasks.
Journal: Nature communications
In common: cognitive, 11 references
[3] doi:10.1162/imag.a.1347 [code]
Neural and behavioural correlates of theory of mind reasoning in five-year-old children born preterm.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: lmerTest, lme4, ggplot2, 1 other tool, 8 references
[4] doi:10.1162/imag.a.1283 [code]
The language network responds robustly to sentences across tasks.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: emmeans, lmerTest, tidyverse, 8 references
[5] doi:10.1162/imag.a.1246 [code]
A 3.5-minute-long reading-based fMRI localizer for the language network.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: lmerTest, lme4, tidyverse, 8 references
[6] doi:10.1038/s41593-026-02228-w [code]
Circuit response to neuromodulation characterized with simultaneous deep brain stimulation and precision neuroimaging in humans.
Journal: Nature neuroscience
In common: rstatix, emmeans, lmerTest, 4 other tools, 2 references
[7] doi:10.1038/s41467-026-76598-x
Preserved topography, lateralization, selectivity, and functional connectivity of the language network in older brains.
Journal: Nature communications
In common: cognitive, 8 references
[8] doi:10.1016/j.neuroimage.2026.122115 [code]
Midfrontal theta power relates to response speeding following frustrative nonreward.
Journal: NeuroImage
In common: rstatix, emmeans, lmerTest, 5 other tools, cognitive
[9] doi:10.1016/j.dcn.2026.101765 [code]
Fusiform face area development correlates with development in higher-order social brain regions.
Journal: Developmental cognitive neuroscience
In common: lmerTest, lme4, ggpubr, 1 other tool, 4 references
[10] 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, emmeans, lmerTest, 5 other tools

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.