OSCR

A densely sampled fMRI dataset for investigating food valuation.

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.

5 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 6 matches · all tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › fMRI data preprocessing › Functional data preprocessing ↔ fig2cdef_EstimateGLMs.m, the whole file · a weak match · score 0.74 · motion correction, brain mask, preprocessed BOLD, head, timeseries, thresholding · block oscr:b:VDFR69F3JZWAV-X · Report a mismatch
  2. [2] § Methods › fMRI data preprocessing › Functional data preprocessing ↔ f00_fMRIPrep.sh, the whole file · a weak match · score 0.61 · FreeSurfer, fMRIPrep, derivatives, temporal · block oscr:b:XJ4BT2MCTD7CX-Z · Report a mismatch
  3. [3] § Technical Validation › Replication of previous findings ↔ fig2cdef_EstimateGLMs.m, the whole file · a weak match · score 0.60 · motion correction parameters, HRF, SPM, head, fMRI, FD · block oscr:b:VDFR69F3JZWAV-X · Report a mismatch
  4. [4] § Technical Validation › Replication of previous findings ↔ fig2cdef_DefineGLM4.m, the whole file · a weak match · score 0.54 · Valuation phase, GLM4, fat, protein, Feedback, duration · block oscr:b:KX1PGYK2JYCE3-B · Report a mismatch
  5. [5] § Data Records ↔ fig2cdef_DefineGLM1.m, the whole file · a weak match · score 0.51 · events.tsv, food_run, behavioral, onsets, Feedback, durations · block oscr:b:9VV80N8Q97NZ1-0 · Report a mismatch
  6. [6] § Data Records ↔ fig2cdef_DefineGLM2.m, the whole file · a weak match · score 0.51 · events.tsv, food_run, behavioral, onsets, Feedback, durations · block oscr:b:D8M5K8SZEAASJ-5 · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 86 lines · 4.8 KB · no license · 2 matches

  1. function fig2cdef_EstimateGLMs(dir_root_target)
  2. % dir_root_target: the root directory for the data analysis (should be changed for your environment)
  3. %%
  4. close all; clc;
  5. spm_get_defaults('stats.maxmem', 8 * 1024^3); % メモリの拡張(8GB)
  6. spm('Defaults', 'fMRI'); % Initialise SPM
  7. spm_jobman('initcfg'); % Initialise cfg_util
  8. dir_root = dir_root_target;
  9. subs_list = {'001','002','003','004','005','006','007','008','009','010','011','012','013','014','015','016','017','018','019','020','021','022','023','024','025','026','027','028','029','030','031'}; % List of the subjects
  10. sess_list = {'01','02','03'}; % List of the sessions
  11. runs_list_tmp = {'01','02','03','04'}; % List of the runs
  12. fd_thr = 0.9; head_radius = 50; % Censoring parameter
  13. glm_name_list = {'glm_1','glm_2','glm_3','glm_4'};
  14. for i = 1:length(subs_list) % Loop over the subjects
  15. %%%%% Setting directories
  16. dir_sub = [dir_root,'/sub-',subs_list{i}]; disp(['%%%%% Subject ',subs_list{i},' %%%%%'])
  17. dir_data = [dir_sub,'/spm_data'];
  18. for m = 1:length(glm_name_list) % Loop over the models
  19. dir_model = [dir_sub,'/glm_model/',glm_name_list{m}];
  20. %%%%%%%%%% Model Specification %%%%%%%%%%
  21. matlabbatch{1}.spm.stats.fmri_spec.dir = {dir_model};
  22. matlabbatch{1}.spm.stats.fmri_spec.timing.units = 'secs';
  23. matlabbatch{1}.spm.stats.fmri_spec.timing.RT = 0.8;
  24. matlabbatch{1}.spm.stats.fmri_spec.timing.fmri_t = 60;
  25. matlabbatch{1}.spm.stats.fmri_spec.timing.fmri_t0 = 30;
  26. cnt = 0;
  27. for s = 1:length(sess_list) % Loop over the sessions
  28. %%%%% Deal with the missing data in sub-016_ses-03
  29. if isequal(subs_list{i},'016') && isequal(sess_list{s},'03'), runs_list = {'01','02'}; else runs_list = runs_list_tmp; end
  30. for j = 1:length(runs_list)
  31. data_fMRI = cellstr(spm_select('FPList',dir_data,['s_sub-',subs_list{i},'_ses-',sess_list{s},'_task-food_run-',runs_list{j},'_space-MNI152NLin2009cAsym_desc-preproc_bold.nii'])); disp(data_fMRI)
  32. cnt = cnt + 1;
  33. matlabbatch{1}.spm.stats.fmri_spec.sess(cnt).scans = data_fMRI;
  34. matlabbatch{1}.spm.stats.fmri_spec.sess(cnt).cond = struct('name', {}, 'onset', {}, 'duration', {}, 'tmod', {}, 'pmod', {});
  35. model_name_tmp = [glm_name_list{m},'_ses_',sess_list{s},'_run_',runs_list{j}];
  36. model_name_tmp = fullfile(dir_model, strcat(model_name_tmp, '.mat')); disp(model_name_tmp)
  37. matlabbatch{1}.spm.stats.fmri_spec.sess(cnt).multi = cellstr(model_name_tmp);
  38. matlabbatch{1}.spm.stats.fmri_spec.sess(cnt).regress = struct('name', {}, 'val', {});
  39. % Addition of the motion correction parameters
  40. confounds = tdfread([dir_data,'/sub-',subs_list{i},'_ses-',sess_list{s},'_task-food_run-',runs_list{j},'_desc-confounds_timeseries.tsv']);
  41. data_MC = [confounds.trans_x, confounds.trans_y, confounds.trans_z, confounds.rot_x, confounds.rot_y, confounds.rot_z];
  42. writematrix(data_MC, [dir_data,'/rp_sub-',subs_list{i},'_ses-',sess_list{s},'_task-food_run-',runs_list{j},'_desc-confounds_timeseries.txt'], 'Delimiter', 'tab');
  43. file_MC = [dir_data,'/rp_sub-',subs_list{i},'_ses-',sess_list{s},'_task-food_run-',runs_list{j},'_desc-confounds_timeseries.txt'];
  44. rp = load(file_MC);
  45. [X, prop_censored] = get_FD_from_rp(rp, fd_thr, head_radius); disp(prop_censored)
  46. reg_file = fullfile(dir_data, sprintf('multi_reg_food_run0%s.txt',num2str(cnt)));
  47. writematrix(X, reg_file, 'Delimiter','\t');
  48. matlabbatch{1}.spm.stats.fmri_spec.sess(cnt).multi_reg = {reg_file};
  49. matlabbatch{1}.spm.stats.fmri_spec.sess(cnt).hpf = 128; %%%%%
  50. end
  51. end
  52. matlabbatch{1}.spm.stats.fmri_spec.fact = struct('name', {}, 'levels', {});
  53. matlabbatch{1}.spm.stats.fmri_spec.bases.hrf.derivs = [0 0];
  54. matlabbatch{1}.spm.stats.fmri_spec.volt = 1;
  55. matlabbatch{1}.spm.stats.fmri_spec.global = 'None';
  56. matlabbatch{1}.spm.stats.fmri_spec.mthresh = 0; %%%%%%%%%%
  57. fname_mask = fullfile(dir_data,['sub-', subs_list{i}, '_space-MNI152NLin2009cAsym_desc-brain_mask.nii']);
  58. disp(['Mask file: ', fname_mask])
  59. matlabbatch{1}.spm.stats.fmri_spec.mask = {fname_mask};
  60. matlabbatch{1}.spm.stats.fmri_spec.cvi = 'AR(1)';
  61. %%%%%%%%%% Model Estimation %%%%%%%%%%
  62. disp('Estimated model:');
  63. disp(cellstr(fullfile(dir_model,'SPM.mat')))
  64. matlabbatch{2}.spm.stats.fmri_est.spmmat = cellstr(fullfile(dir_model,'SPM.mat'));
  65. matlabbatch{2}.spm.stats.fmri_est.write_residuals = 0;
  66. matlabbatch{2}.spm.stats.fmri_est.method.Classical = 1;
  67. spm_jobman('run', matlabbatch); % exerting the processing!
  68. clear matlabbatch
  69. end
  70. end

fig2cdef_EstimateGLMs.m at commit cb25ddf, no license · at the source

Overview

Authors: Michiyo Sugawara1, Yoko Mano2, Yuhi Aoki1, Koki Nakaya1, Yuma Matsuda1, Asako Toyama2, Shinsuke Suzuki1,3
ORCID iDs: Michiyo Sugawara
  1. Graduate School of Social Data Science, Hitotsubashi University,Kunitachi, Japan
  2. Hitotsubashi Institute for Advanced Study, Hitotsubashi University,Kunitachi, Japan
  3. Centre for Brain, Mind and Markets, The University of Melbourne,Melbourne, Australia
Institutions: Hitotsubashi University (Japan); The University of Melbourne (Australia)
Journal: Scientific data, volume 13, issue 1, article 957
Dates: received 20 January 2026; accepted 22 April 2026; published online 27 April 2026
Type: Data paper · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41597-026-07323-y · PMID 42045250 · PMCID PMC13323986 · OpenAlex W7155807894
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: fMRI (modality), human (organism), methods / tools (subfield)
Methods: Connectivity, Smoothing, state filtering, decompositions, Statistics, fMRI & imaging
MeSH: Food*, Magnetic Resonance Imaging*, Prefrontal Cortex*, Reward*, Brain, Humans, Ventral Striatum (* major topic)
Journal subjects: Data Descriptor
Topic: Neural and Behavioral Psychology Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: JSPS (JP22K21357)
Citations: cited by 1 paper (Europe PMC); 64 references in the paper
Research resources: RRID:SCR_001847, RRID:SCR_002438, 39 RRID:SCR_002502, RRID:SCR_002823, distributed with ANTs 2.6.242 RRID:SCR_004757, RRID:SCR_008796

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.

szkshnsk/A-densely-sampled-fMRI-dataset-for-investigating-food-valuation

License: none: the authors keep all their rights
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: cb25ddf9a7a57e9c6309a45b5579ff67558d8c58, 20 January 2026
Languages: MATLAB (14), Shell (2)
Size: 17 files, 16 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: SPM (4 files), Statistics and Machine Learning Toolbox (2 files), FSL (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
17 files

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:

Read it in the paper: doi.org/10.1038/s41597-026-07323-y.

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;
  • 16 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

Datasets cited

Data availability statement

The paper has a 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.1038/s41597-026-07323-y.

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, 7 authors, 7 MeSH terms, 1 funder, 63 references, 6 RRIDs.

Cite

This paper

Sugawara, M., Mano, Y., Aoki, Y., Nakaya, K., Matsuda, Y., Toyama, A., & Suzuki, S. (2026). A densely sampled fMRI dataset for investigating food valuation. Scientific data, 13(1), 957. https://doi.org/10.1038/s41597-026-07323-y

BibTeX

@article{sugawara2026densely,
author = {Sugawara, Michiyo and Mano, Yoko and Aoki, Yuhi and Nakaya, Koki and Matsuda, Yuma and Toyama, Asako and Suzuki, Shinsuke},
title = {{A densely sampled fMRI dataset for investigating food valuation}},
journal = {Scientific data},
year = {2026},
month = apr,
volume = {13},
number = {1},
pages = {957},
publisher = {Nature Publishing Group},
issn = {2052-4463},
doi = {10.1038/s41597-026-07323-y},
url = {https://doi.org/10.1038/s41597-026-07323-y},
pmid = {42045250},
pmcid = {PMC13323986}
}

RIS

TY - JOUR
AU - Sugawara, Michiyo
AU - Mano, Yoko
AU - Aoki, Yuhi
AU - Nakaya, Koki
AU - Matsuda, Yuma
AU - Toyama, Asako
AU - Suzuki, Shinsuke
TI - A densely sampled fMRI dataset for investigating food valuation
T2 - Scientific data
J2 - Sci Data
PY - 2026
DA - 2026/04/27
VL - 13
IS - 1
SP - 957
SN - 2052-4463
PB - Nature Publishing Group
DO - 10.1038/s41597-026-07323-y
UR - https://doi.org/10.1038/s41597-026-07323-y
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41597-026-07323-y",
"type": "article-journal",
"title": "A densely sampled fMRI dataset for investigating food valuation",
"container-title": "Scientific data",
"author": [
{
"family": "Sugawara",
"given": "Michiyo"
},
{
"family": "Mano",
"given": "Yoko"
},
{
"family": "Aoki",
"given": "Yuhi"
},
{
"family": "Nakaya",
"given": "Koki"
},
{
"family": "Matsuda",
"given": "Yuma"
},
{
"family": "Toyama",
"given": "Asako"
},
{
"family": "Suzuki",
"given": "Shinsuke"
}
],
"container-title-short": "Sci Data",
"volume": "13",
"issue": "1",
"page": "957",
"DOI": "10.1038/s41597-026-07323-y",
"PMID": "42045250",
"PMCID": "PMC13323986",
"ISSN": "2052-4463",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41597-026-07323-y",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
27
]
]
}
}

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-023-38709-w [code]
Task state representations in vmPFC mediate relevant and irrelevant value signals and their behavioral influence.
Journal: Nature communications
In common: SPM, Statistics and Machine Learning Toolbox, 18 references
[2] doi:10.1038/s41597-025-05154-x [code]
Spacetop: A multimodal fMRI dataset unifying naturalistic processes with a rich array of experimental tasks.
Journal: Scientific data
In common: FSL, SPM, Statistics and Machine Learning Toolbox, fMRI, 15 references
[3] doi:10.1002/mrm.70110 [code]
Advancing whole-brain BOLD functional MRI in humans at 10.5 T with motion-robust 3D echo-planar imaging, parallel transmission, and high-density radiofrequency receive coils.
Journal: Magnetic resonance in medicine
In common: FSL, SPM, Statistics and Machine Learning Toolbox, methods / tools, fMRI, 14 references
[4] doi:10.1162/imag.a.1081
MOTUM: A system for Motion Online Tracking Under MRI.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: fMRI, 17 references
[5] doi:10.1371/journal.pbio.3003174 [code]
Neural evidence that humans reuse strategies to solve new tasks.
Journal: PLoS biology
In common: Statistics and Machine Learning Toolbox, 17 references
[6] doi:10.1038/s41597-024-03029-1 [code]
Multimodal single-neuron, intracranial EEG, and fMRI brain responses during movie watching in human patients.
Journal: Scientific data
In common: methods / tools, fMRI, 17 references
[7] doi:10.1038/s42003-026-09752-2 [code]
Population coding for visual and auditory quantity in human numerotopic maps.
Journal: Communications biology
In common: FSL, SPM, Statistics and Machine Learning Toolbox, 14 references
[8] doi:10.1038/s41467-024-50310-3 [code]
Modeling short visual events through the BOLD moments video fMRI dataset and metadata.
Journal: Nature communications
In common: fMRI, 17 references
[9] doi:10.1016/j.celrep.2026.117454 [code]
Model-based and model-free valuation signals in the human brain vary markedly in relation to individual differences in behavioral control.
Journal: Cell reports
In common: SPM, Statistics and Machine Learning Toolbox, 15 references
[10] doi:10.1016/j.celrep.2026.117033 [code]
Human superior colliculus pathways represent the form and motion of looming objects.
Journal: Cell reports
In common: FSL, SPM, Statistics and Machine Learning Toolbox, fMRI, 13 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41597-026-07323-y.svg)](https://openscicode.org/badge/doi/10.1038/s41597-026-07323-y)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41597-026-07323-y.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41597-026-07323-y
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41597-026-07323-y"><img src="https://openscicode.org/badge/doi/10.1038/s41597-026-07323-y.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.