OSCR

Home numeracy experiences are associated with number-related brain activity and connectivity in early childhood.

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] § Material and methods › fMRI data preprocessing ↔ Nurturing_math_brain/batch.m, lines 1–101 · score 0.63 · ArtRepair, Gaussian, smoothed, realignment, repaired, SPM
  2. [2] § Material and methods › fMRI data preprocessing ↔ NeuralRep_Absolute+RelativeMagnitude/batch.m, lines 161–225 · score 0.62 · unified segmentation, fMRI, coregistration, MNI, voxel
  3. [3] § Material and methods › fMRI data preprocessing ↔ Nurturing_math_brain/batch.m, lines 166–229 · score 0.62 · unified segmentation, fMRI, coregistration, MNI, voxel
  4. [4] § Material and methods › fMRI data preprocessing ↔ NeuralRep_Absolute+RelativeMagnitude/batch.m, lines 1–100 · score 0.61 · ArtRepair, Gaussian, smoothed, realignment, repaired, SPM
  5. [5] § Material and methods › fMRI data analysis ↔ Nurturing_math_brain/batch.m, lines 239–324 · score 0.58 · serial correlations, AR, canonical, onsets, model, regressors
  6. [6] § Material and methods › fMRI data analysis ↔ NeuralRep_Absolute+RelativeMagnitude/batch.m, lines 235–320 · score 0.57 · serial correlations, AR, canonical, onsets, model, regressors

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 · 436 lines · 18 KB · no license · 3 matches

  1. function nothing = pre_batch
  2. % pre_batch.m
  3. %
  4. % this is a script that handles all of the
  5. % preprocessing and processing in SPM12 and artrepair. It
  6. % intelligently pulls files off of the SAN and create a logical
  7. % hierarchical directory structure.
  8. %
  9. % Initial script from Ken Roberts
  10. % Adapted and modified by Daniel Weissman, Josh Carp, Jerome Prado and Chris McNorgan
  11. % This last updated version is adapted for handling data organized in the BIDS
  12. % format. It also uses Artrepair
  13. %
  14. % Prerequisites for use:
  15. % 1) SPM12 must be in the matlab path.
  16. % 2) Artrepair scripts must be in the matlab path.
  17. % 3) Nifti tools must be in the matlab path.
  18. % 4) GLM Flex must be in the matlab path.
  19. global CCN;
  20. % load the defaults first, and then do 'load_vars' to allow the
  21. % defaults to be overwritten as specified below.
  22. spm('defaults','fmri');
  23. load_vars;
  24. This is the script that was used to preprocess data and analyze main effects from the manuscript "Nurturing the mathematical brain:
  25. Home numeracy practices are associated with children’s neural responses to Arabic numerals" by Cléa Girard, Thomas Bastelica, Jessica Léone, Justine Epinat-Duclos, Léa Longo & Jérôme Prado
  26. %%%%%%%%%%%%%%%%%User-Defined Variables%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  27. %Here is a list of the possible procedures to perform. These should be specified in c_names in the order they should be performed.
  28. %uncompress_c : Converts original nii.gz files into nii images (necessary for the batch system to work
  29. %clean_c : Removes all preprocessing files
  30. %deface_c : Defaces anatomical images
  31. %expand_c : Converts 4D nii images into 3D nii images and put them in preprocessing folder (necessary for artrepair to work)
  32. %slice_c : implements slice-timing
  33. %realign_c : implememts realignment
  34. %resample_c : Reslices the functional images.
  35. %smooth_c : Spatially smooths the functional images with a Gaussian
  36. %motionregress_c : Removes residual interpolation errors after the realign and reslice operations (from the ArtRepair toolbox)
  37. %global_c : Removes outlier scans (see art_global.m from the Artrepair toolbox)
  38. %coregister_c: coregisters an anatomical and a functional image (not necessary if normalizing functionals independent of the anatomical)
  39. %normalise_c : Normalizes the functionals to the functional or anatomical tenmplate
  40. %fmri_model_c: Estimates brain activity for different conditions/trial types using the general linear model
  41. %fmri_contrasts_c : Generates contrasts between linear combinations of betas within each subject.
  42. %spm_rfx_bch_c : Performs Random-Effects across subjects
  43. %compress_c : Converts original nii images into nii.gz files
  44. %motion_report_c : Generates a text file (motion_report.tsv) that contains information about the amount of movement in each subject/task/run
  45. %ROI_c : Average beta values within Regions of Interest
  46. %c_names = {'uncompress_c' 'clean_c' 'expand_c' 'slice_c' 'realign_c' 'resample_c' 'smooth_c' 'motionregress_c' 'global_c' 'coregister_c' 'normalise_c' 'motion_report_c'}; % preprocessing pipeline with Artrepair
  47. %c_names = {'fmri_model_c' 'fmri_contrasts_c'}; % single-subject analysis pipeline
  48. c_names = {'spm_rfx_bch_c'}; % RFX analysis
  49. %c_names = {'ROI_c'}; % ROI analysis
  50. %c_names = {'clean_c'};
  51. %c_names = {'compress_c'};
  52. %%%%%%%%%%%%%%%%%% DO NOT EDIT THIS SECTION %%%%%%%%%%%%%%%%%%%%%%%%%
  53. for i = 1:length(CCN.all_subjects)
  54. %Load the defaults for this subject with load_vars and then specify any exceptions for this subject
  55. load_vars;
  56. CCN.subject = sprintf('%s', CCN.all_subjects{i});
  57. cd(CCN.work_dir);
  58. %Do each step of preprocessing
  59. for j = 1:length(c_names)
  60. feval(c_names{j})
  61. if find(ismember(c_names, 'spm_rfx_bch_c')), 'quitting', return, end
  62. if find(ismember(c_names, 'spm_rfx_bch_LOSO_c')), 'quitting', return, end
  63. end;
  64. end; % for each subject
  65. return;
  66. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  67. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  68. % This is where all of the options are defined. There are three main
  69. % classes of option.
  70. % - ones that define the directory hierarchy
  71. % - ones that define the preprocessing options
  72. % - ones that define the operation of the preprocessing script
  73. % eg, where to log the results, and where to email if something
  74. % goes wrong
  75. %
  76. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  77. function load_vars
  78. global CCN;
  79. %%%%%%%%%
  80. % Directory Hierarchy
  81. %%%%%%%%
  82. % root local directory for the experiment.
  83. CCN.root_dir = '/crnldata/bbl/NTR/PRE_MATHS_BIDS';
  84. %50 subjects for digits
  85. CCN.all_subjects = {'sub-01' 'sub-02' 'sub-03' 'sub-04' 'sub-05' 'sub-06' 'sub-07' 'sub-09' 'sub-10' 'sub-11' 'sub-12' 'sub-13' 'sub-14' 'sub-15' 'sub-17' 'sub-18' 'sub-19' 'sub-20' 'sub-24' 'sub-25' 'sub-27' 'sub-28' 'sub-29' 'sub-30' 'sub-31' 'sub-32' 'sub-36' 'sub-37' 'sub-38' 'sub-40' 'sub-41' 'sub-43' 'sub-44' 'sub-45' 'sub-46' 'sub-48' 'sub-50' 'sub-54' 'sub-55' 'sub-58' 'sub-59' 'sub-60' 'sub-61' 'sub-64' 'sub-65' 'sub-67' 'sub-68' 'sub-69' 'sub-70' 'sub-72'};
  86. %44 subjects for digits
  87. %CCN.all_subjects = {'sub-01' 'sub-03' 'sub-04' 'sub-05' 'sub-06' 'sub-07' 'sub-09' 'sub-10' 'sub-11' 'sub-12' 'sub-13' 'sub-14' 'sub-17' 'sub-18' 'sub-19' 'sub-20' 'sub-25' 'sub-28' 'sub-29' 'sub-30' 'sub-31' 'sub-32' 'sub-36' 'sub-37' 'sub-38' 'sub-40' 'sub-41' 'sub-43' 'sub-44' 'sub-45' 'sub-46' 'sub-48' 'sub-50' 'sub-55' 'sub-58' 'sub-59' 'sub-60' 'sub-61' 'sub-64' 'sub-65' 'sub-67' 'sub-68' 'sub-69' 'sub-72'};
  88. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  89. %%%%%%%%%%%%%%%%%% DO NOT EDIT THIS SECTION %%%%%%%%%%%%%%%%%%%%%%%%%
  90. % file pattern - describes the name of the files for each step
  91. % contains different values depending on which m file calls it.
  92. CCN.work_dir = CCN.root_dir;
  93. % run pattern - describes the name of the run folders that will be in the preprocessing directory
  94. CCN.run_pattern = 'sub*';
  95. CCN.file_pattern = struct( ...
  96. 'default', 'sub-*.nii', ...
  97. 'slice_c', 'sub-*.nii', ...
  98. 'realign_c', 'asub-*.nii', ...
  99. 'resample_c', 'asub-*.nii', ...
  100. 'normalise_c', 'vmsrasub-*.nii', ...
  101. 'smooth_c', 'rasub-*.nii', ...
  102. 'expand_c', 'sub-*.nii', ...
  103. 'global_c', 'msrasub-*.nii', ...
  104. 'fmri_model_c', 'wvmsrasub-*.nii', ...
  105. 'spm_rfx_bch_c', 'swasub-*.nii');
  106. %
  107. % functional and anatomical codes
  108. % The way these work is that each describes the location of a large number
  109. % of files in changing places. When the code runs, the paths will be formed
  110. % by doing a number of substitutions. Any quantity in square brackets will
  111. % be replaced with the contents of that field in the variable CCN.
  112. % Any regular expression will also be expanded.
  113. CCN.functional_dirs = '[root_dir]/[subject]/func/';
  114. CCN.anatomical_dirs = '[root_dir]/[subject]/anat/';
  115. CCN.functional_files = '[root_dir]/[subject]/func/[file_pattern]';
  116. CCN.anatomical_files = '[root_dir]/[subject]/anat/[file_pattern]';
  117. CCN.first_anat = '[root_dir]/[subject]/anat/sub-*.nii';
  118. CCN.def_anat = '[root_dir]/[subject]/anat/y_sub-*.nii';
  119. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  120. %%%%%%%%%
  121. % Preprocessing options
  122. %%%%%%%%
  123. % slice timing, assumes reference slice of 1.
  124. CCN.TR = 2;
  125. CCN.nslices = 32;
  126. %Specify the order in which the slices were acquired
  127. %1=ascending (1...nslices)
  128. %2=descending (nslices.jp...1)
  129. %3=interleaved odd (1 3 5 7 9.....2 4 6 8 10)
  130. %4=interleaved even (2 4 6 8 10.....1 3 5 7 9)
  131. CCN.seq=4;
  132. % realignment options.
  133. CCN.realign_flags = struct( ...
  134. 'quality', 0.9, ... % between 0 and 1, this is the default
  135. 'fwhm', 5, ... % in mm, this is the default
  136. 'rtm', 0); % use 1 for fMRI registration to mean
  137. CCN.first_func = '[root_dir]/[subject]/func/[subject]_task-Digits_run-01_bold.nii'; % image to use as reference for realignement
  138. % reslice options.
  139. CCN.reslice_flags = struct( ...
  140. 'mask', 1, ...
  141. 'mean', 0, ...
  142. 'interp', 1, ...
  143. 'which', 2);
  144. % coregistration options
  145. CCN.coreg_flags = struct( ...
  146. 'sep', [4 2], ... % optimisation sampling steps (mm)
  147. 'params', [0 0 0 0 0 0], ... % starting estimates (6 elements)
  148. 'cost_fun', 'nmi', ... % cost function string
  149. 'tol', [0.02 0.02 0.02 0.001 0.001 0.001], ... % tolerences for accuracy of each param
  150. 'fwhm', [7 7] ... % smoothing to apply to 256x256 joint histogram
  151. );
  152. % normalization options (if 3 or 4 chosen, only CCN.normalise_wr_flags is read)
  153. CCN.norm=4; % Determine normalisation parameters from: 1= first functional; 2= anatomital; 3= unified segmentation (SPM8 style); 4= unified segmentation (SPM12 style)
  154. CCN.normalise_est_flags = struct( ...
  155. 'smosrc', 8, ... % smoothing of source image (FWHM of Gaussian in mm)
  156. 'smoref', 0, ... % smoothing of template image (defaults to 0).
  157. 'regtype', 'mni', ... % regularisation type for affine registration
  158. ... % See spm_affreg.m (default = 'mni').
  159. 'weight', '', ...
  160. 'cutoff', 30, ... % Cutoff of the DCT bases. Lower values mean more
  161. ... % basis functions are used (default = 30mm).
  162. 'nits', 16, ... % number of nonlinear iterations (default=16).
  163. 'reg', 0.1, ... % amount of regularisation, higher val = less warping,
  164. ... % (default=0.1)
  165. 'wtsrc', 0);
  166. CCN.normalise_wr_flags = struct( ...
  167. 'preserve', 0, ... %
  168. 'bb', [-78 -112 -50; 78 76 85], ... % bounding box
  169. 'vox', [2 2 3.5], ... % voxel size
  170. 'interp', 7, ... % 2nd order bspline interpolation
  171. 'wrap', [0 0 0]); % wrap around edges in x y or z dimensions
  172. % smoothing options
  173. CCN.smooth_kernel = [4 4 7]; % FWHM of Gaussian kernel in mm
  174. %% ArtRepair options
  175. CCN.z_thresh = 3; % global mean intensity outliers in std (see art_global.m line 110 for explanations)
  176. CCN.mv_thresh = 2; % allowable motion within a TR (see art_global.m line 116 for explanations)
  177. CCN.MVMTTHRESHOLD = 4; % motion threshold (see function art_clipmvmt)
  178. %%%%%%%%%
  179. % Model specification options
  180. %%%%%%%%
  181. % is the onset vector specified in scans or seconds? ('scans' or 'secs')
  182. %the first scan (TR) is always numbered 0.
  183. CCN.model.units = 'secs';
  184. % specify the basis set- the choices are the strings below:
  185. % 'hrf', 'hrf (with time derivative)', 'hrf (with time and dispersion derivatives)',
  186. % 'Fourier set', 'Fourier set (Hanning)', 'Gamma functions', 'Finite Impulse Response'
  187. CCN.model.basis = 'hrf';
  188. %Specify the number of seconds or scans to be modeled
  189. %This variable applies when modeling with a canonical HRF or a Finite
  190. %Impulse Response Model
  191. CCN.model.length = 24;
  192. %Specify the the number of time points to be modeled if FIR
  193. %This variable is automatically set and overwritten when NOT using an FIR
  194. CCN.model.order = 12;
  195. %Specify fMRI_T --how many bins to subdivide each TR into
  196. %DEFAULT=16;
  197. CCN.model.fmri_T = 16;
  198. %Specify fMRI_TO --reference slice
  199. %DEFAULT=1;
  200. CCN.model.fmri_T0 = 1;
  201. %Specify if you want to orthogonalize the regressors in the design matrix
  202. %1=yes
  203. %0=no
  204. CCN.model.orthogonalize = 1;
  205. %Specify if you want to include the motion regressors in the design matrix
  206. %1=yes
  207. %0=no
  208. CCN.model.motion = 0;
  209. % Model Volterra interactions? (2=yes, 1=no)
  210. % the number actually corresponds as the order of the Volterra
  211. % interactions, with 1 and 2 being the only options.
  212. %Entering 2 would allow you to model interactions between trial types
  213. CCN.model.volterra = 1;
  214. % Global intensity normalisation ('Scaling' or 'None')
  215. CCN.model.global_sc = 'None';
  216. % specify the hi-pass cutoff in seconds (number or 'inf', vector for
  217. % sessions, default = 128 sec)
  218. CCN.model.hpf = 128;
  219. % Correct for serial correlations? ('none' | 'AR(1)')
  220. CCN.model.ser_corr = 'AR(1)';
  221. % name of realignment parameters file?
  222. % (one of these should be in every run folder)
  223. CCN.model.rp_name = 'rp_*';
  224. % specify the file that has all of the onsets and covariates
  225. % (expandable)
  226. CCN.model.spec_file = '[root_dir]/model_spec.m';
  227. % Scale factor for NaN thresholding applied in fmri_model_c
  228. % A value of 1 has no effect
  229. CCN.model.thresh_factor = 1;
  230. % specify the place to construct the model (to put the SPM.mat and so
  231. % forth) (expandable)
  232. CCN.model.model_dir = '[root_dir]/[subject]/analysis';
  233. % if you want to do contrasts for each subject, this variable should contain the filename
  234. % of a valid contrast_spec file.
  235. CCN.model.contrast_spec_file = '[root_dir]/create_contrasts.m';
  236. %Specify whether you want to add new contrasts or overwrite old contrasts so that new ones are
  237. %numbered starting with 2 (the F-contrast for effects of interest -
  238. %con0001 - won't be overwritten)
  239. %0=add new contrasts to existing ones
  240. %1=overwrite existing contrasts with new ones
  241. CCN.OverwriteContrasts = 1;
  242. %%%%%%%%%
  243. % Random Effects Analyses
  244. %%%%%%%%
  245. % RFX parameters
  246. CCN.dept = 0; %% Assume Dependence? 0=no or 1=yes
  247. CCN.var = 1; %% Assume Unequal Variance? 0=no or 1=yes
  248. CCN.tm.tm_none = 1; %% No Threshold Masking
  249. CCN.im = 0; %% Implicit Masking 1 = yes, 0 = no
  250. CCN.em = {''}; %% Explicit Masks list mask files e.g. {'/autofs/space/plato_002/users/APS_MATLAB/spm8/templates/epi.nii,1'};
  251. CCN.g_omit = 1; %% Global Calculation: 1 is the default setting
  252. CCN.gmsca.gmsca_no = 1; %% No Grand Mean Scaling.
  253. CCN.glonorm = 1; %% Global Normalization. 1 = No. 2 = Proportional 3 = ANCOVA
  254. % which test to perform?
  255. % 1=one-sample t-test (one group)
  256. % 2=two-sample t-test (two groups)
  257. % 3=paired t-test (two sessions)
  258. % 4=one-way between subjects ANOVA (up to 6 groups)
  259. % 5=one-way repeated measures ANOVA (up to 6 sessions)
  260. % 6=2X2 between subjects ANOVA
  261. % 7=2X2 within subjects ANOVA
  262. % 8=2X2 mixed subjects ANOVA
  263. % 9=Multiple regression
  264. CCN.rfx.ttest = 1 ;
  265. % GROUP VECTOR IF TEST 2 to 5
  266. % This is ignored if one-sample t-test is selected above. Otherwise, the
  267. % vector should specify which subject belongs to which group (the subject list is in CCN.all_subjects).
  268. % Two-sample and paired t-tests require a vector in which each subject can have two values (1 or 2 depending on the group)
  269. % one-way between subjects and repeated measures ANOVA can have up to 6 levels
  270. % The subject order does not matter for two-sample t-test and between subject ANOVA
  271. % For paired t-test and repeated measures ANOVA, the order matters: the first subject in each group is considered the same repeated measure, and so on
  272. CCN.rfx.groups = [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ]; %ELEMENTARY vs COLLEGE
  273. % GROUP VECTOR IF TEST 6 to 8.
  274. % Each vector represents one factor
  275. % (between-subject factor for tests 6 and 8 and within-subject factor
  276. % for test 7). Withing each vector, each level (1 or 2) needs to be specified. Fill the rest with 0s.
  277. CCN.rfx.groups_1 = [1 1 1 1 1 1 1 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0];
  278. CCN.rfx.groups_2 = [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 2 2 2 2 2 2 2];
  279. % COVARIATE VECTORS IF TEST 9.
  280. % Each vector represents one covariate (up
  281. % to 6). If there is less than 6 covariates, leave an empty vector
  282. % (e.g., CCN.rfx.covar_6 = [])
  283. CCN.rfx.covar_1 = [];
  284. CCN.rfx.covar_2 = [];
  285. CCN.rfx.covar_3 = [];
  286. CCN.rfx.covar_4 = [];
  287. CCN.rfx.covar_5 = [];
  288. CCN.rfx.covar_6 = [];
  289. % which contrasts to analyze? Either indicate a vector of contrats
  290. % (e.g.CCN.rfx.contrasts = [9];) or that you want to run all of the
  291. % contrasts (i.e., CCN.rfx.contrasts = 'all';)
  292. CCN.rfx.contrasts = [1];
  293. % where to do the analysis
  294. CCN.rfx.rfx_dir = '[root_dir]/RFX/digits';
  295. %%%%%%%%%%%%%%%%%%% ROI ANALYSES %%%%%%%%%%%%%%%%%%%%%%
  296. CCN.ROI.dir = '[root_dir]/ROIs_analysis'; % directory where the ROI can be found and where the results will be stored
  297. CCN.ROI.file = 'IPS'; % name of the ROI (this should be a nifti file located in the CCN.ROI.dir directory)
  298. %%%%%%%%%%%%%%%%%DO NOT EDIT BELOW THIS LINE%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  299. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  300. %
  301. % Deletes files specified by a certain string.
  302. %
  303. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  304. function delete_many_files(file_spec)
  305. global CCN;
  306. my_files = expand_path(file_spec);
  307. fprintf('Deleting %d files for subject %s \r\n %s\r\n', length(my_files), CCN.subject, file_spec)
  308. for i = 1:length(my_files)
  309. delete(my_files{i});
  310. if mod(i,100) == 0
  311. fprintf('\r\n %d ', i);
  312. elseif mod(i,10) == 0
  313. fprintf(' %d', i);
  314. else
  315. %nothing
  316. end;
  317. end;
  318. return;

batch.m at commit 197f0da, no license · at the source

Overview

Authors: Cléa Girard1, Léa Longo2, Hannah Chesnokova2, Justine Epinat-Duclos2, Jérôme Prado2
  1. Laboratoire de Psychologie et Neurocognition (LPNC), CNRS UMR 5105, Université Grenoble Alpes, Grenoble, France
  2. Centre de Recherche en Neurosciences de Lyon (CRNL), INSERM U1028—CNRS UMR5292, Université de Lyon, Bron, France
Journal: NPJ science of learning, volume 11, issue 1, article 31
Dates: received 3 September 2025; accepted 16 March 2026; published online 3 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41539-026-00419-5 · PMID 41932931 · PMCID PMC13223258 · OpenAlex W7148923000
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), developmental (subfield)
Methods: Statistics, fMRI & imaging
Keywords: Neuroscience, Psychology
Topic: Cognitive and developmental aspects of mathematical skills (Statistics and Probability, Mathematics), according to OpenAlex
Funding: Agence Nationale de la Recherche (ANR-17- CE28-0014)
Citations: not cited yet (Europe PMC); 103 references in the paper

Abstract

Children vary widely in numerical knowledge before school entry, and these early differences predict later achievement. Although home numeracy experiences relate to young children’s skills, it remains unclear how early experiences shape neural systems supporting number processing at the start of formal schooling. Using fMRI, we measured brain activity during passive perception of digits (vs. letters) in 37 five-year-olds. Parents reported the frequency of home numeracy practices and engaged in a free play session allowing us to quantify number talk. Children showed digit-specific activity in the left intraparietal sulcus (IPS). Across families, higher home numeracy experiences were associated with lower digit-related activity in several regions, including the IPS, but with stronger functional connectivity between the left IPS and other regions. Our results suggest that home numeracy experiences may support early number-related brain networks by enhancing connectivity and reducing local processing demands, illustrating how home experiences influence the developing learning brain.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 6 matches between paragraphs and lines of code.

OSF vuar8

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Languages: MATLAB (88), Python (2)
Size: 143 files, 90 scripts
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
  • 28 September 2026: the link answers (HTTP 200)
90 files
At the source: osf.io/vuar8

BBL-lab/BBL-batch-system

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: 197f0daeffe524906a251ed08d4e8b9b0fef9711, 10 October 2021
Languages: MATLAB (130)
Size: 143 files, 130 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
131 files

Code availability

The Matlab scripts used to analyze the fMRI data are available via the OSF at https://osf.io/vuar8. The scripts are also available on GitHub (https://github.com/BBL-lab/BBL-batch-system).

Reproduced under the paper's license (CC BY), from the paper cited above.

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 220 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.

Data availability

The pre-registration, questionnaires, fMRI task, behavioral data, and individual beta maps that support the findings of this study are available via the OSF at https://osf.io/vuar8/.

Reproduced under the paper's license (CC BY), from the paper cited above.

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, 5 authors, 2 keywords, 1 funder, 81 references.

Cite

This paper

Girard, C., Longo, L., Chesnokova, H., Epinat-Duclos, J., & Prado, J. (2026). Home numeracy experiences are associated with number-related brain activity and connectivity in early childhood. NPJ science of learning, 11(1), 31. https://doi.org/10.1038/s41539-026-00419-5

BibTeX

@article{girard2026home,
author = {Girard, Cléa and Longo, Léa and Chesnokova, Hannah and Epinat-Duclos, Justine and Prado, Jérôme},
title = {{Home numeracy experiences are associated with number-related brain activity and connectivity in early childhood}},
journal = {NPJ science of learning},
year = {2026},
month = apr,
volume = {11},
number = {1},
pages = {31},
publisher = {Nature Publishing Group},
issn = {2056-7936},
doi = {10.1038/s41539-026-00419-5},
url = {https://doi.org/10.1038/s41539-026-00419-5},
pmid = {41932931},
pmcid = {PMC13223258}
}

RIS

TY - JOUR
AU - Girard, Cléa
AU - Longo, Léa
AU - Chesnokova, Hannah
AU - Epinat-Duclos, Justine
AU - Prado, Jérôme
TI - Home numeracy experiences are associated with number-related brain activity and connectivity in early childhood
T2 - NPJ science of learning
J2 - NPJ Sci Learn
PY - 2026
DA - 2026/04/03
VL - 11
IS - 1
SP - 31
SN - 2056-7936
PB - Nature Publishing Group
DO - 10.1038/s41539-026-00419-5
UR - https://doi.org/10.1038/s41539-026-00419-5
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41539-026-00419-5",
"type": "article-journal",
"title": "Home numeracy experiences are associated with number-related brain activity and connectivity in early childhood",
"container-title": "NPJ science of learning",
"author": [
{
"family": "Girard",
"given": "Cléa"
},
{
"family": "Longo",
"given": "Léa"
},
{
"family": "Chesnokova",
"given": "Hannah"
},
{
"family": "Epinat-Duclos",
"given": "Justine"
},
{
"family": "Prado",
"given": "Jérôme"
}
],
"container-title-short": "NPJ Sci Learn",
"volume": "11",
"issue": "1",
"page": "31",
"DOI": "10.1038/s41539-026-00419-5",
"PMID": "41932931",
"PMCID": "PMC13223258",
"ISSN": "2056-7936",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41539-026-00419-5",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
3
]
]
}
}

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.1073/pnas.2602515123 [code]
Initial organization and progressive expansion of the math-responsive brain network during the first school years.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: NumPy, 14 references
[2] doi:10.1371/journal.pone.0353139 [code]
No developmental fronto-parietal shift in brain activation during mental arithmetic across the lifespan: A registered report.
Journal: PloS one
In common: developmental, 7 references
[3] doi:10.1002/advs.77857 [code]
Brain Network Dynamics of Local and Global Predictive Processing in Aging.
Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)
In common: PsychoPy, Tools for NIfTI and ANALYZE image (MATLAB), SPM, 3 other tools, 1 reference
[4] doi:10.1093/braincomms/fcag134 [code]
Neurophysiological, imaging and neurobiological markers of central fatigue in multiple sclerosis.
Journal: Brain communications
In common: Tools for NIfTI and ANALYZE image (MATLAB), SPM, Image Processing Toolbox, 2 other tools, 1 reference
[5] doi:10.3389/fnagi.2026.1742371 [code]
Cross-sectional and longitudinal functional network alterations associated with subthreshold depressive symptoms in healthy older adults.
Journal: Frontiers in aging neuroscience
In common: Tools for NIfTI and ANALYZE image (MATLAB), SPM, Image Processing Toolbox, 2 other tools, 1 reference
[6] doi:10.1073/pnas.2519586123 [code]
Personalized functional topography-based multisite brain age prediction modeling reveals divergent neurodevelopment in major depression.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: Tools for NIfTI and ANALYZE image (MATLAB), SPM, Image Processing Toolbox, 2 other tools, developmental
[7] doi:10.1002/nbm.70305 [code]
Reducing Noise Induced by Cardiac Pulsatility in Brain Maps of R<sub>2</sub>* and Magnetic Susceptibility Using Tailored k-space Sampling.
Journal: NMR in biomedicine
In common: Tools for NIfTI and ANALYZE image (MATLAB), SPM, Image Processing Toolbox, 1 other tool, 1 reference
[8] doi:10.1007/s00429-026-03152-2 [code]
Limb-selective regions in the lateral temporal lobe shrink from childhood to adulthood.
Journal: Brain structure & function
In common: Tools for NIfTI and ANALYZE image (MATLAB), SPM, Image Processing Toolbox, 1 other tool, developmental
[9] doi:10.7554/elife.108408 [code]
Frequency and laminar profile of feature-specific visual activity revealed by interleaved EEG-fMRI.
Journal: eLife
In common: Tools for NIfTI and ANALYZE image (MATLAB), SPM, Image Processing Toolbox, 2 other tools
[10] doi:10.1016/j.neuroimage.2026.122171 [code]
A conserved node degree-based backbone and flexible hub organization of brain connectome during naturalistic movie watching.
Journal: NeuroImage
In common: Tools for NIfTI and ANALYZE image (MATLAB), SPM, Image Processing Toolbox, 2 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.