Optimizing functional connectivity scanning conditions for predicting autistic traits.
The 2 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
- [1] § Methods › Connectome-based predictive modeling ↔ CPM_code/cpm_main.m, the whole file · a weak match · score 0.70 · head motion, partial correlation, connectivity matrices, feature selection, split, edge
- [2] § Methods › Preprocessing of functional imaging data ↔ preproc_template/template_skull_strip.sh, lines 1–12 · score 0.57 · optiBET, skull stripping, preprocessing
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 · 83 lines · 2.8 KB · no license · 1 match
- function [y_predict, performance,randinds,pmask_hold] = cpm_main(x,y,varargin)
- % Performs Connectome-Based Predictive Modeling (CPM)
- %
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %
- % REQUIRED INPUTS
- % x Predictor variable (e.g., connectivity matrix)
- % Allowed dimensions are 2D (n x nsubs) OR 3D (nx m x nsubs)
- % y Outcome variable (e.g., behavioral scores)
- % Allowed dimensions are 2D (i x nsubs)
- % z Variable to use during partial correlation during
- % feature selection (e.g., head motion)
- % Allowed dimensions are 2D (i x nsubs)
- % 'pthresh' p-value threshold for feature selection
- % 'kfolds' Number of partitions for dividing the sample
- % (e.g., 2 =split half, 10 = ten fold)
- % 'corrtype' Type of correlation we want to do (Pearson, partial,
- % etc.)
- % 'z' If using partialcorr, indicates the variable to
- % control for
- %
- %
- %
- % OUTPUTS
- % y_predict Predictions of outcome variable
- % performance Correlation between predicted and actual values of y
- % randinds How we are randomizing for CV (note that y_predict is
- % output in the same order as y
- % pmask keeping track of which edges are used in CPM
- %
- % Example:
- %
- % [y_predict, performance,randinds,pmask] = cpm_main(matrices,behav,'pthresh',0.05,'kfolds',10,'corrtype','partial','z',head_motion);
- %
- %
- % References:
- % If you use this script, please cite:
- % Shen, X., Finn, E. S., Scheinost, D., Rosenberg, M. D., Chun, M. M.,
- % Papademetris, X., & Constable, R. T. (2017). Using connectome-based
- % predictive modeling to predict individual behavior from brain connectivity.
- % Nature Protocols, 12(3), 506.
- %
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %% Parse input
- p=inputParser;
- defaultpthresh=0.01;
- defaultkfolds=2;
- defaultcorrtype='pearsons';
- defaultz=[];
- addRequired(p,'x',@isnumeric);
- addRequired(p,'y',@isnumeric); % must be n x nsubs
- addParameter(p,'pthresh',defaultpthresh,@isnumeric);
- addParameter(p,'kfolds',defaultkfolds,@isnumeric);
- addParameter(p,'corrtype',defaultcorrtype);
- addParameter(p,'z',defaultz,@isnumeric);
- parse(p,x,y,varargin{:});
- pthresh = p.Results.pthresh;
- kfolds = p.Results.kfolds;
- corrtype=p.Results.corrtype;
- z=p.Results.z;
- clearvars p
- %% Check for errors
- [x,y]=cpm_check_errors(x,y,kfolds);
- %% Train & test Connectome-Based Predictive Model
- [y_predict,randinds,pmask_hold]=cpm_cv(x,y,pthresh,kfolds,'corrtype',corrtype,'z',z);
- %% Assess performance
- [performance(1),performance(2)]=corr(y_predict(:),y(:));
- %fprintf('\nDone.\n')
- end
cpm_main.m at commit 55ff3df, no license · at the source
Overview
19 affiliations
- Department of Psychiatry, University of Pennsylvania, Philadelphia, PA USA
- MD–PhD Program, Yale School of Medicine, New Haven, CT USA
- Penn Lifespan Informatics and Neuroimaging Center (PennLINC), University of Pennsylvania, Philadelphia, PA USA
- Department of Radiology and Biomedical Imaging, Yale School of Medicine, New Haven, CT USA
- Department of Psychiatry, Brigham and Women’s Hospital, Boston, MA USA
- Child Study Center, Yale School of Medicine, New Haven, CT USA
- BioMedical Engineering and Imaging Institute, Icahn School of Medicine at Mount Sinai, New York, NY USA
- Department of Radiology, Weill Cornell Medicine, New York, NY USA
- Department of Psychology, Yale University, New Haven, CT USA
- Wu Tsai Institute, Yale University, New Haven, CT USA
- Department of Statistics and Data Science, Yale University, New Haven, CT USA
- Department of Pediatrics, Yale School of Medicine, New Haven, CT USA
- Department of Biomedical Engineering, Yale University, New Haven, CT USA
- Department of Psychology, University of Chicago, Chicago, IL USA
- Neuroscience Institute, University of Chicago, Chicago, IL USA
- Penn-CHOP Lifespan Brain Institute, University of Pennsylvania, Philadelphia, PA USA
- Interdepartmental Neuroscience Program, Yale University, New Haven, CT USA
- Department of Psychological and Brain Sciences, Dartmouth College, Dartmouth, NH USA
- Department of Neurosurgery, Yale School of Medicine, New Haven, CT USA
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 2 matches between paragraphs and lines of code.
clhorien/tasks_versus_rest_in_autism_prediction
55ff3dfbda427a8369976acd73a5de256f137296, 10 September 2025Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
7 files
- CPM_code/
cpm_check_errors.m , MATLAB, 73 lines - CPM_code/
cpm_cv.m , MATLAB, 79 lines - CPM_code/
cpm_main.m , MATLAB, 83 lines, 1 match - CPM_code/
cpm_test.m , MATLAB, 12 lines - CPM_code/
cpm_train.m , MATLAB, 55 lines - preproc_template/
template_skull_strip.sh , Shell, 15 lines, 1 match - README.md, Text, 1 line
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: clhorien/
tasks_versus_rest_in_aut ism_prediction
Read it in the paper: doi.org/10.1038/s44220-026-00623-7.
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;
- 6 scripts, each with its path and the digest of its content;
- 2 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 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:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1038/s44220-026-00623-7.
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, 19 authors, 2 keywords, 2 funders, 122 references.
Cite
This paper
Horien, C., Mandino, F., Greene, A. S., Shen, X., Powell, K., Vernetti, A., O’Connor, D., Adkinson, B. D., Tejavibulya, L., McPartland, J. C., Volkmar, F. R., Chun, M., Chawarska, K., Lake, E. M. R., Rosenberg, M. D., Satterthwaite, T., Scheinost, D., Finn, E. S., & Constable, R. T. (2026). Optimizing functional connectivity scanning conditions for predicting autistic traits. Nature. Mental health, 4(5), 792-805. https://
BibTeX
@article{horien2026optim
author = {Horien, Corey and Mandino, Francesca and Greene, Abigail S and Shen, Xilin and Powell, Kelly and Vernetti, Angelina and O’Connor, David and Adkinson, Brendan D and Tejavibulya, Link and McPartland, James C and Volkmar, Fred R and Chun, Marvin and Chawarska, Katarzyna and Lake, Evelyn M R and Rosenberg, Monica D and Satterthwaite, Theodore and Scheinost, Dustin and Finn, Emily S and Constable, R Todd},
title = {{Optimizing functional connectivity scanning conditions for predicting autistic traits}},
journal = {Nature. Mental health},
year = {2026},
month = apr,
volume = {4},
number = {5},
pages = {792--805},
publisher = {Springer Science+Business Media},
issn = {2731-6076},
doi = {10.1038/
url = {https://
pmid = {42137910},
pmcid = {PMC13167459}
}
RIS
TY - JOUR
AU - Horien, Corey
AU - Mandino, Francesca
AU - Greene, Abigail S
AU - Shen, Xilin
AU - Powell, Kelly
AU - Vernetti, Angelina
AU - O’Connor, David
AU - Adkinson, Brendan D
AU - Tejavibulya, Link
AU - McPartland, James C
AU - Volkmar, Fred R
AU - Chun, Marvin
AU - Chawarska, Katarzyna
AU - Lake, Evelyn M R
AU - Rosenberg, Monica D
AU - Satterthwaite, Theodore
AU - Scheinost, Dustin
AU - Finn, Emily S
AU - Constable, R Todd
TI - Optimizing functional connectivity scanning conditions for predicting autistic traits
T2 - Nature. Mental health
J2 - Nat Ment Health
PY - 2026
DA - 2026/
VL - 4
IS - 5
SP - 792
EP - 805
SN - 2731-6076
PB - Springer Science+Business Media
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Optimizing functional connectivity scanning conditions for predicting autistic traits",
"container-title": "Nature. Mental health",
"author": [
{
"family": "Horien",
"given": "Corey"
},
{
"family": "Mandino",
"given": "Francesca"
},
{
"family": "Greene",
"given": "Abigail S"
},
{
"family": "Shen",
"given": "Xilin"
},
{
"family": "Powell",
"given": "Kelly"
},
{
"family": "Vernetti",
"given": "Angelina"
},
{
"family": "O’Connor",
"given": "David"
},
{
"family": "Adkinson",
"given": "Brendan D"
},
{
"family": "Tejavibulya",
"given": "Link"
},
{
"family": "McPartland",
"given": "James C"
},
{
"family": "Volkmar",
"given": "Fred R"
},
{
"family": "Chun",
"given": "Marvin"
},
{
"family": "Chawarska",
"given": "Katarzyna"
},
{
"family": "Lake",
"given": "Evelyn M R"
},
{
"family": "Rosenberg",
"given": "Monica D"
},
{
"family": "Satterthwaite",
"given": "Theodore"
},
{
"family": "Scheinost",
"given": "Dustin"
},
{
"family": "Finn",
"given": "Emily S"
},
{
"family": "Constable",
"given": "R Todd"
}
],
"container-title-short":
"volume": "4",
"issue": "5",
"page": "792-805",
"DOI": "10.1038/
"PMID": "42137910",
"PMCID": "PMC13167459",
"ISSN": "2731-6076",
"publisher": "Springer Science+Business Media",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
21
]
]
}
}
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-73941-0 [code]
- Using connectome-based predictive models to reveal the systems standardized tests and clinical symptoms are reflecting.Journal: Nature communicationsIn common: 18 references, 3 authors
- [2] doi:10.1038/s41562-026-02447-y [code]
- Feature selection leads to divergent neurobiological interpretations of brain-based machine learning biomarkers.Journal: Nature human behaviourIn common: Statistics and Machine Learning Toolbox, clinical / translational, 12 references, 3 authors
- [3] doi:10.1523/eneuro.0370-25.2026 [code]
- Pretraining for Large-Scale Functional Connectome Fingerprinting Supports Generalization and Transfer Learning in Functional Neuroimaging.Journal: eNeuroIn common: 11 references
- [4] doi:10.1162/imag.a.1287 [code]
- Is the whole more than the sum of its parts? Considering global and local features of the connectome improves prediction of individuals and phenotypes.Journal: Imaging neuroscience (Cambridge, Mass.)In common: Statistics and Machine Learning Toolbox, 8 references
- [5] doi:10.7554/elife.104053 [code]
- Brain cognition gaps reveal associations with dopamine and factors related to brain health through artificial intelligence prediction of functional connectome.Journal: eLifeIn common: 8 references
- [6] doi:10.1016/j.neuroimage.2026.121862
- Biological validity, test-retest reliability, and behavioral relevance of the single-subject brain volumetric similarity network.Journal: NeuroImageIn common: 7 references
- [7] doi:10.1002/brb3.71363
- Brain Functional Connectivity as a Mediator Between Hematological Metrics and Cognitive Decline in Children With Beta-thalassemia Major.Journal: Brain and behaviorIn common: 7 references
- [8] doi:10.1038/s41467-026-73668-y [code]
- Convergent and divergent brain-cognition development in early adolescence.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, 7 references
- [9] doi:10.1162/imag.a.1228 [code]
- A unique neural signature of long-term memory encoding from EEG inter-electrode correlation.Journal: Imaging neuroscience (Cambridge, Mass.)In common: Statistics and Machine Learning Toolbox, 3 references, author Monica D. Rosenberg
- [10] doi:10.21203/rs.3.rs-9326213/v1 [code]
- Multi-task fMRI outperforms resting-state fMRI for revealing task-invariant organization of the human brainJournal: Research Square (preprint)In common: 7 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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 6 scripts, and 2 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:1667b0a5b6004bdb…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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.
