Separable and integrated pleasantness coding for appetitive and aversive odors across olfactory and ventral prefrontal cortices.
3 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 4 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § Methods › Cross-decoding analyses ↔ common_functions/invnorm_reslice_masks.m, lines 1 to 129 · score 0.69 · MNI space, native spaces, inverse normalized · block
oscr:b:0ZWV0KER1EF1N-Y· Report a mismatch - [2] § Methods › Regions of interest (ROI) ↔ common_functions/invnorm_reslice_masks.m, lines 1 to 129 · score 0.64 · native space, inverse normalized, atlas, insula, masks, voxels · block
oscr:b:0ZWV0KER1EF1N-Y· Report a mismatch - [3] § Methods › Representational similarity analyses (RSA) ↔ common_functions/discontinued_scripts/ARC_binandRSAcomparision.m, lines 269 to 346 · score 0.55 · linear regression, neural activity, iterations, RSA, bins, correlation · block
oscr:b:GAT7C7KXPSD14-J· Report a mismatch - [4] § Methods › Basic decoding analyses ↔ common_functions/ARC_regress_nested.m, the whole file · a weak match · score 0.53 · Pearson correlation, cross validation, split, trained, accuracy, regression · block
oscr:b:24JX8A65CSSH3-T· 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 · 167 lines · 6.2 KB · MIT · 2 matches
- function out = invnorm_reslice_masks(maskDir, maskFiles, anatDir, varargin)
- % invnorm_reslice_masks
- % Inverse-normalize atlas/mask(s) to subject native space, then reslice to a
- % chosen reference image (e.g., anat or first functional).
- %
- % Inputs
- % maskDir : folder containing mask(s) defined in normalized/MNI space
- % maskFiles : char or cellstr of mask filenames (e.g., 'insula.nii' or {'insula.nii','DLPFC.nii'})
- % anatDir : subject's anatomical folder (contains y_*.nii, anatomical .nii)
- %
- % Name/Value options
- % 'AnatFilePattern' : cellstr patterns to find native anat (default {'s*.nii','means*.nii'})
- % 'DefFilePattern' : cellstr patterns to find forward def field y_*.nii (default {'y_*.nii','y_s*.nii','y_means*.nii'})
- % 'InvDefName' : inverse def filename to write (default 'y_inverse.nii')
- % 'DoMakeInverse' : true/false, make inverse if missing (default true)
- % 'RefImage' : full path to image used for reslicing (default: auto-pick in anatDir)
- % 'RefPattern' : patterns to find ref image if RefImage not given (default {'rf*.nii','s*.nii'})
- % 'BB' : bounding box for write (default [-78 -112 -85; 78 95 85])
- % 'Vox' : voxel size for write (default [1 1 1])
- % 'InterpWrite' : interpolation for write (0=nearest) (default 0; keeps masks binary-ish)
- % 'InterpReslice' : interpolation for reslice (default 0)
- % 'CopyWToAnat' : move w* masks to anatDir after write (default false)
- % 'ReslicePrefix' : prefix for resliced output (default 'r')
- %
- % Output (struct)
- % out.invDef : path to inverse deformation
- % out.wMasks : cellstr paths to inverse-normalized masks (w*)
- % out.rwMasks : cellstr paths to resliced masks (r w*)
- % out.refImage : path used for reslicing
- %
- % Requires SPM12 on MATLAB path.
- % --- defaults & parsing ---
- ip = inputParser;
- addParameter(ip,'AnatFilePattern', {'s*.nii','means*.nii'});
- addParameter(ip,'DefFilePattern', {'y_*.nii','y_s*.nii','y_means*.nii'});
- addParameter(ip,'InvDefName', 'y_inverse.nii');
- addParameter(ip,'DoMakeInverse', true);
- addParameter(ip,'RefImage', '');
- addParameter(ip,'RefPattern', {'rf*.nii','s*.nii'});
- addParameter(ip,'BB', [-78 -112 -85; 78 95 85]);
- addParameter(ip,'Vox', [1 1 1]);
- addParameter(ip,'InterpWrite', 0);
- addParameter(ip,'InterpReslice', 0);
- addParameter(ip,'CopyWToAnat', false);
- addParameter(ip,'ReslicePrefix', 'r');
- parse(ip, varargin{:});
- opt = ip.Results;
- if ischar(maskFiles), maskFiles = {maskFiles}; end
- % --- init SPM ---
- spm('defaults','fmri');
- try, spm_jobman('initcfg'); end
- % --- locate anat file & forward deformation ---
- anatFile = find_first(anatDir, opt.AnatFilePattern, true);
- defFile = find_first(anatDir, opt.DefFilePattern, true);
- % --- inverse deformation: create if missing ---
- invDef = fullfile(anatDir, opt.InvDefName);
- if ~exist(invDef,'file')
- if ~opt.DoMakeInverse
- error('Inverse deformation not found: %s', invDef);
- end
- matlabbatch = [];
- matlabbatch{1}.spm.util.defs.comp{1}.inv.comp{1}.def = {defFile};
- matlabbatch{1}.spm.util.defs.comp{1}.inv.space = {anatFile};
- matlabbatch{1}.spm.util.defs.out{1}.savedef.ofname = opt.InvDefName;
- matlabbatch{1}.spm.util.defs.out{1}.savedef.savedir.saveusr = {anatDir};
- spm_jobman('run', matlabbatch);
- end
- % --- apply inverse deformation to masks (write) ---
- resampleList = cellfun(@(f) fullfile(maskDir,f), maskFiles, 'uni', false);
- matlabbatch = [];
- matlabbatch{1}.spm.spatial.normalise.write.subj.def = {invDef};
- matlabbatch{1}.spm.spatial.normalise.write.subj.resample = resampleList(:);
- matlabbatch{1}.spm.spatial.normalise.write.woptions.bb = opt.BB;
- matlabbatch{1}.spm.spatial.normalise.write.woptions.vox = opt.Vox;
- matlabbatch{1}.spm.spatial.normalise.write.woptions.interp = opt.InterpWrite;
- spm_jobman('run', matlabbatch);
- % paths to written masks (prefix 'w')
- wMasks = cellfun(@(f) fullfile(maskDir, ['w' strip_gz(f)]), maskFiles, 'uni', false);
- % optionally move w* to anatDir
- if opt.CopyWToAnat
- for i=1:numel(wMasks)
- tgt = fullfile(anatDir, get_filename(wMasks{i}));
- if ~strcmp(wMasks{i}, tgt)
- if exist(tgt,'file'), delete(tgt); end
- movefile(wMasks{i}, tgt);
- wMasks{i} = tgt;
- end
- end
- end
- % --- pick reslice reference ---
- if ~isempty(opt.RefImage)
- refImage = opt.RefImage;
- else
- refImage = find_first(anatDir, opt.RefPattern, true);
- end
- refCell = {sprintf('%s,1', refImage)};
- % --- reslice to reference (coreg write) ---
- matlabbatch = [];
- matlabbatch{1}.spm.spatial.coreg.write.ref = refCell;
- matlabbatch{1}.spm.spatial.coreg.write.source = wMasks(:);
- matlabbatch{1}.spm.spatial.coreg.write.roptions.interp = opt.InterpReslice;
- matlabbatch{1}.spm.spatial.coreg.write.roptions.wrap = [0 0 0];
- matlabbatch{1}.spm.spatial.coreg.write.roptions.mask = 0;
- matlabbatch{1}.spm.spatial.coreg.write.roptions.prefix = opt.ReslicePrefix;
- spm_jobman('run', matlabbatch);
- % resliced outputs have prefix 'r' (default), applied to the *current* mask paths
- rwMasks = prepend_prefix(wMasks, opt.ReslicePrefix);
- % --- (optional) quick orientation sanity check ---
- % v = spm_vol([{refImage}; rwMasks(:)]);
- % spm_check_orientations([v{:}]);
- % --- out ---
- out = struct('invDef',invDef, 'wMasks',{wMasks}, 'rwMasks',{rwMasks}, 'refImage',refImage);
- end
- % ===== helpers =====
- function f = find_first(dirpath, patterns, mustExist)
- if ischar(patterns), patterns = {patterns}; end
- f = '';
- for i=1:numel(patterns)
- dd = dir(fullfile(dirpath, patterns{i}));
- if ~isempty(dd)
- f = fullfile(dirpath, dd(1).name);
- break;
- end
- end
- if mustExist && isempty(f)
- error('File not found in %s for patterns: %s', dirpath, strjoin(patterns, ', '));
- end
- end
- function s = strip_gz(fname)
- % remove trailing .gz if present
- [p,n,e] = fileparts(fname);
- if strcmpi(e,'.gz')
- [~,n2,e2] = fileparts(n);
- s = [n2 e2];
- else
- s = [n e];
- end
- end
- function n = get_filename(pth)
- [~,n,ext] = fileparts(pth);
- n = [n ext];
- end
- function out = prepend_prefix(paths, prefix)
- out = cell(size(paths));
- for i=1:numel(paths)
- [p,n,e] = fileparts(paths{i});
- out{i} = fullfile(p, [prefix n e]);
- end
- end
invnorm_reslice_masks.m at commit 5fd5bf9, under MIT · at the source
Overview
- Department of Neurology, Feinberg School of Medicine, Northwestern University,Chicago, IL USA
- Present Address: Department of Psychological and Brain Sciences, Dartmouth College,Hanover, NH USA
- National Institute on Drug Abuse Intramural Research Program,Baltimore, MD USA
Abstract
Odor pleasantness is a key driver of approach and avoidance behaviors, raising the question of how pleasantness is represented in olfactory brain areas. To address this question, here we analyzed an existing dataset consisting of perceptual and fMRI responses to 160 odors from three individual participants. We find that piriform cortex, amygdala, orbitofrontal cortex, and ventromedial prefrontal cortex encode the pleasantness of appetitive and aversive odors. However, whereas these pleasantness representations are separable for appetitive and aversive odors in piriform cortex and amygdala, ventral prefrontal cortex (especially area 11) combines information from appetitive and aversive odors and forms a continuous representation of odor salience. These results suggest that distinct pleasantness codes for appetitive and aversive odors in olfactory cortices are integrated into a continuous representation in ventral prefrontal cortices.
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 4 matches between paragraphs and lines of code.
viveksgr/ARC
5fd5bf96845fa46144e5d972a404e5b5cfb3406f, 19 March 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
150 files
- ARC_RSA_analyses.m, MATLAB, 735 lines
- ARC_createsingletrials.m
, MATLAB, 173 lines - ARC_decoding_analyses.m, MATLAB, 426 lines
- additional_controls/
ARC_create_behav_corr.m , MATLAB, 42 lines - additional_controls/
ARC_sniff_control.m , MATLAB, 120 lines - additional_controls/
debug_rsafdr.m , MATLAB, 45 lines - common_functions/
ARC_RSA_analyses.m , MATLAB, 572 lines - common_functions/
ARC_RSA_binned_searchl.m , MATLAB, 134 lines - common_functions/
ARC_RSA_func.m , MATLAB, 41 lines - common_functions/
ARC_RSA_pvals.m , MATLAB, 45 lines - common_functions/
ARC_RSA_pvals_diff.m , MATLAB, 56 lines - common_functions/
ARC_applyFunctionToUpper , MATLAB, 23 linesTriangle.m - common_functions/
ARC_average_chunks.m , MATLAB, 23 lines - common_functions/
ARC_balanceClasses.m , MATLAB, 28 lines - common_functions/
ARC_barplot.m , MATLAB, 37 lines - common_functions/
ARC_barplot_sig.m , MATLAB, 73 lines - common_functions/
ARC_bidirectionalFDR.m , MATLAB, 72 lines - common_functions/
ARC_binAndTransform.m , MATLAB, 14 lines - common_functions/
ARC_binAndTransformQuant , MATLAB, 28 linesiles.m - common_functions/
ARC_binAndTransformQuant , MATLAB, 34 linesiles_shuff.m - common_functions/
ARC_binAndTransform_numc , MATLAB, 41 linestrl.m - common_functions/
ARC_binAndTransform_numc , MATLAB, 43 linestrl_colrow.m - common_functions/
ARC_binAndTransform_shuf , MATLAB, 21 linesf.m - common_functions/
ARC_binAndTransform_shuf , MATLAB, 36 linesfcoarse.m - common_functions/
ARC_binAndTransform_shuf , MATLAB, 17 linesfcoarse_old.m - common_functions/
ARC_binAndTransform_sz.m , MATLAB, 22 lines - common_functions/
ARC_boxplot_groups.m , MATLAB, 61 lines - common_functions/
ARC_build_behav_RSM.m , MATLAB, 43 lines - common_functions/
ARC_cellAvg3D.m , MATLAB, 32 lines - common_functions/
ARC_classifyVoxelSign.m , MATLAB, 51 lines - common_functions/
ARC_combine2conds.m , MATLAB, 102 lines - common_functions/
ARC_combinePValues3D.m , MATLAB, 31 lines - common_functions/
ARC_compareCorrIndep.m , MATLAB, 42 lines - common_functions/
ARC_compareMatFiles.m , MATLAB, 49 lines - common_functions/
ARC_computePValueOneTail , MATLAB, 18 linesed.m - common_functions/
ARC_computeWeights_tsc.m , MATLAB, 29 lines - common_functions/
ARC_configROI_mask.m , MATLAB, 16 lines - common_functions/
ARC_createOFC_mask.m , MATLAB, 12 lines - common_functions/
ARC_createplt.m , MATLAB, 13 lines - common_functions/
ARC_createsingletrials.m , MATLAB, 150 lines - common_functions/
ARC_createsingletrials2. , MATLAB, 154 linesm - common_functions/
ARC_customcmap.m , MATLAB, 41 lines - common_functions/
ARC_decoding_pvals.m , MATLAB, 74 lines - common_functions/
ARC_decoding_pvals_tsc.m , MATLAB, 58 lines - common_functions/
ARC_decoding_pvals_zsc.m , MATLAB, 59 lines - common_functions/
ARC_denoisePCA.m , MATLAB, 18 lines - common_functions/
ARC_diff2conds_dfweighte , MATLAB, 85 linesd.m - common_functions/
ARC_diff2conds_lessConse , MATLAB, 79 linesrvative.m - common_functions/
ARC_extractLabels.m , MATLAB, 8 lines - common_functions/
ARC_extract_roi_trials.m , MATLAB, 17 lines - common_functions/
ARC_extract_roi_trials_t , MATLAB, 21 linesravg.m - common_functions/
ARC_extract_roi_trials_t , MATLAB, 21 linesravg_dec.m - common_functions/
ARC_fourAxisLDA.m , MATLAB, 66 lines - common_functions/
ARC_inversePercentiles.m , MATLAB, 48 lines - common_functions/
ARC_load_subject_data.m , MATLAB, 18 lines - common_functions/
ARC_main.m , MATLAB, 124 lines - common_functions/
ARC_makeDecodingCfg.m , MATLAB, 73 lines - common_functions/
ARC_make_default_config. , MATLAB, 64 linesm - common_functions/
ARC_make_group_stats.m , MATLAB, 39 lines - common_functions/
ARC_matprod.m , MATLAB, 13 lines - common_functions/
ARC_mean_posneg_threshol , MATLAB, 28 linesds.m - common_functions/
ARC_median_balance_zero. , MATLAB, 41 linesm - common_functions/
ARC_multicomputeWeights_ , MATLAB, 51 linesonesc.m - common_functions/
ARC_multicomputeWeights_ , MATLAB, 45 linesshuff.m - common_functions/
ARC_multicomputeWeights_ , MATLAB, 58 linestsc.m - common_functions/
ARC_multicomputeWeights_ , MATLAB, 43 linestsc_voxwise.m - common_functions/
ARC_multicomputeWeights_ , MATLAB, 126 linestsc_voxwise_boot.m - common_functions/
ARC_odor_select.m , MATLAB, 52 lines - common_functions/
ARC_p2r.m , MATLAB, 28 lines - common_functions/
ARC_pcm.m , MATLAB, 112 lines - common_functions/
ARC_pcm_cell.m , MATLAB, 94 lines - common_functions/
ARC_percentileAbsWeights , MATLAB, 30 lines.m - common_functions/
ARC_plotColorGradientLin , MATLAB, 34 lineses.m - common_functions/
ARC_plotDecoding.m , MATLAB, 18 lines - common_functions/
ARC_plotMatrixLines.m , MATLAB, 47 lines - common_functions/
ARC_prctile_mat_comp.m , MATLAB, 13 lines - common_functions/
ARC_prctile_mat_comp_prc , MATLAB, 13 lines.m - common_functions/
ARC_prepareROI.m , MATLAB, 61 lines - common_functions/
ARC_projectV1onV2.m , MATLAB, 9 lines - common_functions/
ARC_r2t.m , MATLAB, 7 lines - common_functions/
ARC_regress_nested.m , MATLAB, 77 lines, 1 match - common_functions/
ARC_regress_nested2.m , MATLAB, 85 lines - common_functions/
ARC_regress_nested2_back , MATLAB, 83 linesup.m - common_functions/
ARC_regress_nested2_norm , MATLAB, 90 linesed.m - common_functions/
ARC_regress_nested3.m , MATLAB, 85 lines - common_functions/
ARC_regress_nested_mdl.m , MATLAB, 66 lines - common_functions/
ARC_regress_normed.m , MATLAB, 51 lines - common_functions/
ARC_regress_wrapper.m , MATLAB, 33 lines - common_functions/
ARC_runDecoding.m , MATLAB, 152 lines - common_functions/
ARC_runDecoding_searchl. , MATLAB, 238 linesm - common_functions/
ARC_run_RSA_for_subject. , MATLAB, 174 linesm - common_functions/
ARC_run_RSA_full.m , MATLAB, 84 lines - common_functions/
ARC_scatterDensity.m , MATLAB, 32 lines - common_functions/
ARC_searchlight_transfor , MATLAB, 51 linesm.m - common_functions/
ARC_searchlightdec_ROI.m , MATLAB, 81 lines - common_functions/
ARC_summarize_beta_and_p , MATLAB, 56 lines.m - common_functions/
ARC_summarize_beta_and_p , MATLAB, 72 lines2.m - common_functions/
ARC_thresholdPercentages , MATLAB, 48 lines.m - common_functions/
ARC_transformMatrix.m , MATLAB, 25 lines - common_functions/
ARC_twoAxisLDA.m , MATLAB, 44 lines - common_functions/
ARC_voxelPLS.m , MATLAB, 32 lines - common_functions/
ARC_voxwise.m , MATLAB, 119 lines - common_functions/
SFP_clearLargeVariables. , MATLAB, 24 linesm - common_functions/
SFP_multicomputeWeights_ , MATLAB, 25 linesshuff.m - common_functions/
binop_pvals_by_tail.m , MATLAB, 107 lines - common_functions/
blockRowIndices.m , MATLAB, 40 lines - common_functions/
bootstrapRidge.m , MATLAB, 46 lines - common_functions/
bootstrapRidgeres.m , MATLAB, 56 lines - common_functions/
combineRmaps_meta_bi_wei , MATLAB, 53 linesghted.m - common_functions/
combine_masks_features_a , MATLAB, 112 linesligned.m - common_functions/
comparePerformance.m , MATLAB, 46 lines - common_functions/
correlateDistanceMatrix2 , MATLAB, 32 lines.m - common_functions/
create_ARCscatter.m , MATLAB, 45 lines - common_functions/
cvLdaLasso.m , MATLAB, 59 lines - common_functions/
discontinued_scripts/ , MATLAB, 31 linesARC_Avgtables.m - common_functions/
discontinued_scripts/ , MATLAB, 499 linesARC_RSA_timeline.m - common_functions/
discontinued_scripts/ , MATLAB, 582 linesARC_RSA_valsep.m - common_functions/
discontinued_scripts/ , MATLAB, 245 linesARC_RSA_valsep_traj.m - common_functions/
discontinued_scripts/ , MATLAB, 390 linesARC_RSAmaps.m - common_functions/
discontinued_scripts/ , MATLAB, 217 linesARC_Rconnectivitymaps.m - common_functions/
discontinued_scripts/ , MATLAB, 346 lines, 1 matchARC_binandRSAcomparision .m - common_functions/
discontinued_scripts/ , MATLAB, 269 linesARC_identitycoding.m - common_functions/
discontinued_scripts/ , MATLAB, 131 linesARC_overlaps.m - common_functions/
discontinued_scripts/ , MATLAB, 23 linescorrelateDistanceMatrix. m - common_functions/
discontinued_scripts/ , MATLAB, 33 linessimulation_repeatability _inst.m - common_functions/
fastMaxCorrelation.cpp , C++, 72 lines - common_functions/
fdr_benjhoc.m , MATLAB, 51 lines - common_functions/
invnorm_reslice_masks.m , MATLAB, 167 lines, 2 matches - common_functions/
invprctile.m , MATLAB, 232 lines - common_functions/
iter_corr.m , MATLAB, 37 lines - common_functions/
make_masks.m , MATLAB, 45 lines - common_functions/
nii_extract.m , MATLAB, 70 lines - common_functions/
nii_extract2.m , MATLAB, 82 lines - common_functions/
nii_extract_list.m , MATLAB, 75 lines - common_functions/
pairwise_signedrank.m , MATLAB, 43 lines - common_functions/
plotBarWithSignificance. , MATLAB, 46 linesm - common_functions/
plot_avg_histograms_by_f , MATLAB, 100 lineseature.m - common_functions/
plot_pleasantness_correl , MATLAB, 149 linesations.m - common_functions/
plot_roi_bars_with_subje , MATLAB, 133 linescts.m - common_functions/
plot_varset_roi_lines.m , MATLAB, 59 lines - common_functions/
pvals_across_params.m , MATLAB, 127 lines - common_functions/
r2p_onetail.m , MATLAB, 31 lines - common_functions/
readmeusefulstuff.m , MATLAB, 8 lines - common_functions/
regressmeout.m , MATLAB, 16 lines - common_functions/
selectLess4AndHalf4.m , MATLAB, 32 lines - common_functions/
sfp_decorrelate_sig.m , MATLAB, 23 lines - common_functions/
t2p_tail.m , MATLAB, 23 lines - common_functions/
vs_normalizer.m , MATLAB, 14 lines - LICENSE.txt, License, 21 lines
- README.md, Text, 56 lines
Zenodo 19119376
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
Zenodo 19119377
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
Code availability
All analyses were performed using custom scripts in MATLAB 2023b and the LibSVM package66 for decoding. Other software packages used in the study were SPM1267, GLMSingle61,62, and Breathmetrics toolbox68. Code for preprocessing and reproducing the results presented in this manuscript is available at https://
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:
- 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 148 scripts, each with its path and the digest of its content;
- 4 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
- zenodo:7636722, at Zenodo; found in “Data availability”
Data availability
Dataset to reproduce all major findings of the study is available without restriction at https://
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, 3 authors, 2 keywords, 12 MeSH terms, 1 funder, 66 references.
Cite
This paper
Sagar, V., Zelano, C. M., & Kahnt, T. (2026). Separable and integrated pleasantness coding for appetitive and aversive odors across olfactory and ventral prefrontal cortices. Nature communications, 17(1), 6732. https://
BibTeX
@article{sagar2026separa
author = {Sagar, Vivek and Zelano, Christina M. and Kahnt, Thorsten},
title = {{Separable and integrated pleasantness coding for appetitive and aversive odors across olfactory and ventral prefrontal cortices}},
journal = {Nature communications},
year = {2026},
month = may,
volume = {17},
number = {1},
pages = {6732},
publisher = {Nature Portfolio},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {42173851},
pmcid = {PMC13385377}
}
RIS
TY - JOUR
AU - Sagar, Vivek
AU - Zelano, Christina M.
AU - Kahnt, Thorsten
TI - Separable and integrated pleasantness coding for appetitive and aversive odors across olfactory and ventral prefrontal cortices
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 6732
SN - 2041-1723
PB - Nature Portfolio
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Separable and integrated pleasantness coding for appetitive and aversive odors across olfactory and ventral prefrontal cortices",
"container-title": "Nature communications",
"author": [
{
"family": "Sagar",
"given": "Vivek"
},
{
"family": "Zelano",
"given": "Christina M."
},
{
"family": "Kahnt",
"given": "Thorsten"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "6732",
"DOI": "10.1038/
"PMID": "42173851",
"PMCID": "PMC13385377",
"ISSN": "2041-1723",
"publisher": "Nature Portfolio",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
22
]
]
}
}
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.1126/sciadv.aee1002 [code]
- Theta oscillations are an organizational unit of odor processing in the olfactory bulb.Journal: Science advancesIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 2 authors
- [2] doi:10.1038/s41586-024-08016-5 [code]
- Single-neuron representations of odours in the human brain.Journal: NatureIn common: Statistics and Machine Learning Toolbox, cognitive, 7 references
- [3] doi:10.1371/journal.pbio.3002849 [code]
- The human olfactory bulb communicates perceived odor valence to the piriform cortex in the gamma band and receives a refined representation back in the beta band.Journal: PLoS biologyIn common: Statistics and Machine Learning Toolbox, 7 references
- [4] doi:10.1073/pnas.2101209118 [code]
- The human olfactory bulb processes odor valence representation and cues motor avoidance behavior.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, cognitive, 6 references
- [5] doi:10.1073/pnas.2114966119 [code]
- Spatiotemporal dynamics of odor representations in the human brain revealed by EEG decoding.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: cognitive, 7 references
- [6] doi:10.1371/journal.pbio.3003829 [code]
- Identity-specific reward expectations in orbitofrontal cortex guide goal-directed choices.Journal: PLoS biologyIn common: Statistics and Machine Learning Toolbox, cognitive, 3 references, author Thorsten Kahnt
- [7] doi:10.1073/pnas.2310433121 [code]
- Brain representations of affective valence and intensity in sustained pleasure and pain.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: SPM, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 4 references
- [8] doi:10.1126/sciadv.adp0453
- The human social cognitive network contains multiple regions within the amygdala.Journal: Science advancesIn common: cognitive, 2 references, author Christina Zelano
- [9] doi:10.1038/s41467-024-45880-1 [code]
- Midbrain signaling of identity prediction errors depends on orbitofrontal cortex networks.Journal: Nature communicationsIn common: SPM, Statistics and Machine Learning Toolbox, cognitive, 1 reference, author Thorsten Kahnt
- [10] doi:10.1038/s41467-026-69345-9 [code]
- A 7T fMRI dataset of synthetic images for out-of-distribution modeling of vision.Journal: Nature communicationsIn common: GLMsingle, SPM, Statistics and Machine Learning Toolbox, 3 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: 3 repositories of the authors' code, each at its verified commit and with its license, 148 scripts, and 4 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:118b0974391d6a17…
Add the badge to the code's README
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 -->
[](https://openscicode.org/badge/doi/10.1038/s41467-026-73001-7)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-73001-7.svg
:target: https://openscicode.org/badge/doi/10.1038/s41467-026-73001-7
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-73001-7"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-73001-7.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.
