Adaptive behavior is guided by integrated representations of controlled and non-controlled information.
The 2 matches · all tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Methods › EEG data acquisition and preprocessing ↔ scripts/Preprocessing.m, the whole file · a weak match · score 0.92 · 0.1–50 Hz, 200–1500 ms, 500–1500 ms, EEGLAB, ICA, band
- [2] § Results › Decodable and separate representations of controlled and non-controlled associations ↔ scripts/Preprocessing.m, the whole file · a weak match · score 0.61 · linear discriminant, event, 1500 ms, ERP, channel, LDA
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 · 131 lines · 5.2 KB · no license · 2 matches
- clear;
- Datapath = ''; % edit to specify location
- eeglabPath = ''; % edit to specify location
- scriptPath = '';
- addpath(genpath(scriptPath))
- % of EEGlab
- addpath(genpath(eeglabPath))
- % run EEGlab
- [ALLEEG, EEG, CURRENTSET, ALLCOM] = eeglab;
- subjects = {'sub01', 'sub06', 'sub07', 'sub08', 'sub09', 'sub11', 'sub13', 'sub14', 'sub18', 'sub19', 'sub20', 'sub22', 'sub27', 'sub29', 'sub30', 'sub31', 'sub32', 'sub33', 'sub34', 'sub36', 'sub38', 'sub39', 'sub40', 'sub41'};
- %subjects = {'sub59', 'sub60'};
- %subjects = {'sub59'};
- event_types = {
- 'S1_MC_con',{'S111', 'S112'}; 'S1_MC_inc',{'S113', 'S114'};
- 'S1_MI_con',{'S125', 'S126'}; 'S1_MI_inc',{'S127', 'S128'};
- 'S2_MC_con',{'S215', 'S216'}; 'S2_MC_inc',{'S217', 'S218'};
- 'S2_MI_con',{'S221', 'S222'}; 'S2_MI_inc',{'S223', 'S224'};
- };
- correct_responses = {
- 'S1_MC_con',{'S131', 'S132'}; 'S1_MC_inc',{'S133', 'S134'};
- 'S1_MI_con',{'S145', 'S146'}; 'S1_MI_inc',{'S147', 'S148'};
- 'S2_MC_con',{'S235', 'S236'}; 'S2_MC_inc',{'S237', 'S238'};
- 'S2_MI_con',{'S241', 'S242'}; 'S2_MI_inc',{'S243', 'S244'};
- };
- filter = 1;
- filter_band = [0.1, 50]; % >0
- re_reference = 1;
- ica_epoch = 1;
- ica_epoch_interval = [-.5 1.5];
- ica = 1;
- epoch = 1;
- epoch_interval = [-.2 1.5];
- erps =[];
- for nsub=1:length(subjects)
- if filter
- dataFile = [subjects{nsub} '.vhdr'];
- EEG = pop_loadbv(Datapath, dataFile);
- EEG = pop_eegfilt( EEG, filter_band(1), 0, [], [0],[0],[0],['fir1'],[0]);
- EEG = pop_eegfilt( EEG, 0, filter_band(2), [], [0],[0],[0],['fir1'],[0]);
- EEG.filename = [subjects{nsub} '_filtered.set'];
- EEG.filepath = Datapath;
- EEG = pop_saveset(EEG, 'filename', EEG.filename, 'filepath', EEG.filepath);
- end;
- if re_reference
- dataFile = [subjects{nsub} '_filtered.set'];
- EEG = pop_loadset(dataFile, Datapath);
- %add a zero data channel
- EEG.data(end+1,:) = 0;
- EEG.nbchan = size(EEG.data,1);
- EEG.chanlocs(end+1).labels = 'Pz';
- %load chanloc information
- elecfile = 'D:\Apps\toolbox\eeglab2023.1\plugins\dipfit\standard_BESA\standard-10-5-cap385.elp';
- EEG = pop_chanedit(EEG, 'lookup',elecfile);
- %re-refer to average reference
- EEG = pop_reref( EEG, [], 'refstate',0);
- % elecfile = 'D:\Apps\toolbox\eeglab2023.1\plugins\dipfit\standard_BESA\standard-10-5-cap385.elp';
- % EEG = pop_chanedit(EEG, 'append',63,'changefield',{64,'labels','Pz'},'lookup',elecfile,'setref',{'1:64','Pz'});
- % EEG = pop_reref( EEG, [],'refloc',struct('labels',{'Pz'},'type',{'EEG'},'theta',{180},'radius',{0.25338},'X',{-60.7385},'Y',{-7.4383e-15},'Z',{59.4629},'sph_theta',{-180},'sph_phi',{44.392},'sph_radius',{85},'urchan',{64},'ref',{''},'datachan',{0}));
- %
- EEG.filename = [subjects{nsub} '_rerefered.set'];
- EEG.filepath = Datapath;
- EEG = pop_saveset(EEG, 'filename', EEG.filename, 'filepath', EEG.filepath);
- end;
- if ica_epoch
- dataFile = [subjects{nsub} '_rerefered.set'];
- EEG = pop_loadset(dataFile, Datapath);
- all_events ={};
- for n=1:length(event_types)
- all_events = [all_events{:} event_types{n,2}];
- end;
- EEG = pop_epoch( EEG, all_events, ica_epoch_interval, 'newname', EEG.comments, 'epochinfo', 'yes');
- % set the original trial index for single trial analysis
- for n=1:EEG.trials
- EEG.epoch(n).orig_trial_index = n;
- end;
- EEG.filename = [subjects{nsub} '_epoch_before_ica.set'];
- EEG.filepath = Datapath;
- EEG = pop_saveset(EEG, 'filename', EEG.filename, 'filepath', EEG.filepath);
- end;
- if ica
- dataFile = [subjects{nsub} '_epoch_before_ica.set'];
- EEG = pop_loadset(dataFile, Datapath);
- EEG = pop_runica( EEG, 'icatype', 'runica', 'extended', 1, 'stop', 1E-7);
- EEG.filename = [subjects{nsub} '_epoch_after_ica.set'];
- EEG.filepath = Datapath;
- EEG = pop_saveset(EEG, 'filename', EEG.filename, 'filepath', EEG.filepath);
- end;
- if epoch
- dataFile = [subjects{nsub} '_epoch_after_ica_deleted.set'];
- EEG = pop_loadset(dataFile, Datapath);
- epoch_EEG = EEG;
- % output the all trials except for extreme values
- all_trials_EEG = EEG;
- all_events ={};
- for n=1:length(event_types)
- all_events = [all_events{:} event_types{n,2}];
- end;
- EEG = pop_epoch(all_trials_EEG, all_events, epoch_interval, 'newname', EEG.comments, 'epochinfo', 'yes');
- for n=1:EEG.trials
- EEG.epoch(n).trial_index = n;
- end;
- % remove baseline
- EEG = pop_rmbase(EEG, [epoch_interval(1)*1000 0]);
- %Reject extreme values for linear discriminate analysis (LDA)
- rej_all_EEG = EEG;
- rejthresh = 80;
- [EEG extreme_indices] = pop_eegthresh(rej_all_EEG, 1, 1:64, -1*rejthresh, rejthresh, epoch_interval(1)*1000, epoch_interval(2)*1000, 0, 0);
- EEG = pop_rejepoch(rej_all_EEG, extreme_indices, 0);
- EEG.filename = [subjects{nsub} '_epoch_reject_extreme.set'];
- EEG.filepath = Datapath;
- EEG = pop_saveset(EEG, 'filename', EEG.filename, 'filepath', EEG.filepath);
- end;
- end;
Preprocessing.m, no license · at the source
Overview
- Department of Psychological and Brain Sciences, University of Iowa, Iowa City, United States
- Cognitive Control Collaborative, University of Iowa, Iowa City, United States
- Princeton Neuroscience Institute, Princeton University, Princeton, United States
- Centre for Neuroscience Studies, Queen’s University, Kingston, Canada
- Iowa Neuroscience Institute, University of Iowa, Iowa City, United States
Abstract
Understanding how task knowledge is encoded neurally is crucial for uncovering the mechanisms underlying adaptive behavior. Here, we test the theory that all task information is integrated into a conjunctive task representation by investigating whether this representation simultaneously includes two types of associations that can guide behavior: stimulus–response (non-controlled) associations and stimulus–control (controlled) associations that inform how task focus should be adjusted to achieve goal-directed behavior. We extended the classic item-specific proportion congruency paradigm to dissociate the electroencephalographic (EEG) representations of controlled and non-controlled associations. Behavioral data replicated previous findings of association-driven adaptive behaviors. Decoding analyses of EEG data further showed that associations of controlled and non-controlled information were represented concurrently and differentially. Brain-behavioral analyses also showed that the strength of both associations was associated with faster responses. These findings provide initial evidence supporting the idea that controlled and non-controlled associations are governed by an integrated task representation to guide adaptive behaviors simultaneously.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
OSF tzcn8
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
6 files
- scripts/
Behav_data_analysis.ipyn , Jupyter, 304 linesb - scripts/
Decoding.py , Python, 358 lines - scripts/
LMM.py , Python, 280 lines - scripts/
MDS.py , Python, 124 lines - scripts/
Preprocessing.m , MATLAB, 131 lines, 2 matches - scripts/
RSA.py , Python, 363 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 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
Data and analysis scripts have been uploaded to https://
The following dataset was generated:
Huang B, Ritz H, Jiang J. 2026. Adaptive behavior is simultaneously guided by associations of controlled and non-controlled information. Open Science Framework. tzcn8
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, 27 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 3 authors, 1 keyword, 8 MeSH terms, 1 funder, 94 references.
Cite
This paper
Huang, B., Ritz, H., & Jiang, J. (2026). Adaptive behavior is guided by integrated representations of controlled and non-controlled information. eLife, 14, RP108673. https://
BibTeX
@article{huang2026adapti
author = {Huang, Bingfang and Ritz, Harrison and Jiang, Jiefeng},
title = {{Adaptive behavior is guided by integrated representations of controlled and non-controlled information}},
journal = {eLife},
year = {2026},
month = aug,
volume = {14},
pages = {RP108673},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/
url = {https://
pmid = {42647058},
pmcid = {PMC13516694}
}
RIS
TY - JOUR
AU - Huang, Bingfang
AU - Ritz, Harrison
AU - Jiang, Jiefeng
TI - Adaptive behavior is guided by integrated representations of controlled and non-controlled information
T2 - eLife
J2 - Elife
PY - 2026
DA - 2026/
VL - 14
SP - RP108673
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.7554/
"type": "article-journal",
"title": "Adaptive behavior is guided by integrated representations of controlled and non-controlled information",
"container-title": "eLife",
"author": [
{
"family": "Huang",
"given": "Bingfang"
},
{
"family": "Ritz",
"given": "Harrison"
},
{
"family": "Jiang",
"given": "Jiefeng"
}
],
"container-title-short":
"volume": "14",
"page": "RP108673",
"DOI": "10.7554/
"PMID": "42647058",
"PMCID": "PMC13516694",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
26
]
]
}
}
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.1093/cercor/bhag077 [code]
- The longitudinal development of intrinsic timescales in infancy and their relation to alpha brain rhythm.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: Pingouin, EEGLAB, MNE-Python, 8 other tools, EEG
- [2] doi:10.1162/imag.a.105 [code]
- Right posterior theta reflects human parahippocampal phase resetting by salient cues during goal-directed navigationJournal: n/aIn common: Pingouin, EEGLAB, MNE-Python, 7 other tools, EEG
- [3] doi:10.1371/journal.pone.0343722 [code]
- Comprehensive methodology for sample enrichment in EEG biomarker studies for Alzheimer's risk classification.Journal: PloS oneIn common: rpy2, Pingouin, MNE-Python, 7 other tools, EEG
- [4] doi:10.1038/s42003-026-10108-z [code]
- Time-resolved EEG decoding reveals altered neural dynamics of affective semantic evaluation in depression and suicidality.Journal: Communications biologyIn common: EEGLAB, MNE-Python, statsmodels, 6 other tools, EEG, 2 references
- [5] doi:10.34133/csbj.0042 [code]
- Using Steady-State Visual Evoked Potentials to Characterize Wide-Ranging Retinopathy Linked to &
lt;i& gt;CRB1& lt;/ i& gt;: Implications for Clinical Trials. Journal: Computational and structural biotechnology journalIn common: Pingouin, MNE-Python, lme4, 7 other tools, EEG - [6] doi:10.1038/s41467-026-69853-8 [code]
- Transcranial focused ultrasound induces source localizable cortical activation in resting state humans when applied concurrently with transcranial electric stimulation.Journal: Nature communicationsIn common: rpy2, Pingouin, MNE-Python, 5 other tools, EEG
- [7] doi:10.1038/s41467-026-74824-0 [code]
- Learning regularities in noise engages both neural predictive activity and representational changes.Journal: Nature communicationsIn common: Pingouin, MNE-Python, statsmodels, 5 other tools, 2 references
- [8] doi:10.1371/journal.pcbi.1014302 [code]
- Trial-level sequence modeling reveals hidden dynamics of dual-task interference.Journal: PLoS computational biologyIn common: MNE-Python, lme4, statsmodels, 6 other tools, EEG, 1 reference
- [9] doi:10.7554/elife.107088 [code]
- Development of auditory and spontaneous movement responses to music over the first postnatal year.Journal: eLifeIn common: EEGLAB, MNE-Python, lme4, 6 other tools, EEG, 1 reference
- [10] doi:10.1038/s41467-026-74347-8 [code]
- Compositionality of social gaze in the prefrontal-amygdala circuits.Journal: Nature communicationsIn common: Pingouin, lme4, statsmodels, 6 other tools, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
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:53d793b180bf2a28…
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
[.
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.
