OSCR

Deviations in effective connectivity explain different hallucination subtypes in Parkinson's disease psychosis.

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 · 2 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › Exploratory receptor binding atlases and MMN source-reconstructed signal analysis ↔ eeg-pet_extracting.m, the whole file · a weak match · score 0.89 · NIfTI, receptor density, MMN maps, PET map, alignment, imcalc
  2. [2] § Methods › Statistical analysis › Linear regressions and LMM for exploratory receptor binding atlases and MMN source-reconstructed signal analysis ↔ eeg-pet_extracting.m, the whole file · a weak match · score 0.69 · NIfTI, receptor density, variable, regional, atlas, MMN
  3. [3] § Methods › Statistical analysis › Leave one out multiple regression models by hallucination subtype ↔ loocvd-regress_example.r, lines 1–45 · score 0.63 · cross validation, complex VH, regression, predicting, severity, connection
  4. [4] § Methods › Statistical analysis › Second-level analysis with PEB ↔ pdp_peb_recursive_final_Bmatexample.m, lines 127–139 · score 0.56 · spm_dcm_peb, winning model, bmr
  5. [5] § Results › vMMN differences correlate with decreased top-down connectivity in PD-VH ↔ pdp_peb_recursive_final_Bmatexample.m, lines 1–43 · score 0.51 · parametrical empirical, Recursive PEB, connected
  6. [6] § Methods › Statistical analysis › Second-level analysis with PEB ↔ pdp_peb_recursive_final_Bmatexample.m, lines 100–124 · score 0.51 · free energy, recursive PEB, model

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 · 143 lines · 4.7 KB · no license · 3 matches

  1. %--------------------------------------------------------------------------
  2. % SECOND-LEVEL ANALYSIS: PARAMETRICAL EMPIRICAL BAYES PEB
  3. %--------------------------------------------------------------------------
  4. clear all;
  5. %--------------------------------------------------------------------------
  6. % Setup a group DCM
  7. %-------------------------------------------------------------------------
  8. % Select all DCM files
  9. dcms = spm_select ();
  10. %if cannot find headmodel give path:
  11. %headmodel = ft_read_headmodel ('/PATH/single_subj_T1_EEG_BEM.mat');
  12. % turn character array in cell array
  13. GCM = cellstr ( dcms );
  14. % DCM filenames -> DCM structures
  15. GCM = spm_dcm_load (GCM);
  16. %--------------------------------------------------------------------------
  17. %if needed load GCM and dm
  18. load('design_matrix3.mat');
  19. load('GCM_full3.mat');
  20. %--------------------------------------------------------------------------
  21. % Setup of the design matrix
  22. %--------------------------------------------------------------------------
  23. %M.Q - choice of precision components: all', the between-subject
  24. %variability for each DCM connection will be individually estimated.
  25. M = struct ();
  26. M.Q = 'all ';
  27. M.X = X;
  28. M. Xnames = X_labels;
  29. %--------------------------------------------------------------------------
  30. %________________________________ RECURSIVE PEB __________________________%
  31. %________________________________ MATRIX B _______________________________%
  32. %--------------------------------------------------------------------------
  33. clear C PEB F Ep labels fam_idx families
  34. %% basics for recursive peb
  35. C_fwd = {'B{1}(3,1)','B{1}(4,2)','B{1}(5,3)','B{1}(6,4)','B{1}(5,1)','B{1}(6,2)'}; % forward conns
  36. C_bwd = {'B{1}(1,3)','B{1}(2,4)','B{1}(3,5)','B{1}(4,6)','B{1}(1,5)','B{1}(2,6)'}; % backward conns
  37. C_self = {'B{1}(1,1)','B{1}(2,2)','B{1}(3,3)','B{1}(4,4)','B{1}(5,5)','B{1}(6,6)'}; % self conns (diagonal elements)
  38. C_lateral = {'B{1}(1,2)','B{1}(2,1)','B{1}(3,4)','B{1}(4,3)','B{1}(5,6)','B{1}(6,5)'}; %lateral/crosshemi
  39. %% --- Parameter groups definitions (names + sets; no lateral) ---
  40. %% comment in and out whatever you want, this system does not have issues
  41. % with N of models used and labels like the previous version
  42. families = {
  43. 'B(full extrinsic+self)', [C_fwd, C_bwd, C_self]
  44. 'B(full)', [C_fwd, C_bwd]
  45. 'B(forward)', C_fwd
  46. 'B(backward)', C_bwd
  47. 'B(forward+self)', [C_fwd, C_self]
  48. 'B(backward+self)', [C_bwd, C_self]
  49. 'B(self)', C_self
  50. 'B(forward+s)', [C_fwd, {'S'}]
  51. 'B(back+s)', [C_bwd, {'S'}]
  52. % 'B (cross-hemi)', C_lateral
  53. 'B(bwd)+G', [[C_bwd], {'S'}]
  54. 'B(fwd)+G', [[C_fwd], {'S'}]
  55. 'B(full)+G', [[C_fwd, C_bwd], {'S'}]
  56. % 'S', {'S'}
  57. 'G', {'G'}
  58. 'T', {'T'}
  59. % 'G+S', {'G','S'}
  60. };
  61. K = size(families,1);
  62. % Normalise labels to a 1xK cell array of char
  63. raw_labels = families(:,1); % Kx1 (cell or string)
  64. if isstring(raw_labels) % string array -> cellstr
  65. labels = cellstr(raw_labels);
  66. elseif iscell(raw_labels)
  67. labels = raw_labels;
  68. else % char array fallback
  69. labels = cellstr(raw_labels);
  70. end
  71. labels = labels(:)';
  72. %% --- Run PEB for each family ---
  73. F = nan(K,1);
  74. PEB = cell(K,1);
  75. for k = 1:K
  76. Cset = families{k,2};
  77. PEB{k} = spm_dcm_peb(GCM, M, Cset);
  78. F(k) = PEB{k}.F;
  79. end
  80. %% --- Winner and plots (Free Energy: bigger is better) ---
  81. [~, order] = sort(F,'descend');
  82. best_idx = order(1); second_idx = order(2);
  83. dF = F(best_idx) - F(second_idx);
  84. save ('/..../recursive_PEB.mat','PEB');
  85. figure;
  86. % Panel 1: ΔF (winner at 0)
  87. subplot(2,1,1);
  88. bar(F - max(F));
  89. ylabel('\DeltaF (model - best)');
  90. title(sprintf('Family BMC: winner = %s, \\DeltaF_{best-second}=%.2f', ...
  91. labels{best_idx}, F(best_idx)-F(order(2)))); % <-- single { }
  92. set(gca,'XTick',1:K,'XTickLabel',labels); xtickangle(45);
  93. % Panel 2: softmax posteriors
  94. model_post = spm_softmax(F - max(F));
  95. subplot(2,1,2);
  96. bar(model_post);
  97. ylabel('Model posterior (approx.)');
  98. title('Family posteriors from Free Energy');
  99. set(gca,'XTick',1:K,'XTickLabel',labels); xtickangle(45);
  100. set(gcf,'color','w');
  101. %% Repeat PEB in the winning model and run BMR
  102. %--------------------------------------------------------------------------
  103. [REB, RCM] = spm_dcm_peb(GCM,M, MODEL);
  104. RMA = spm_dcm_peb_bmc(REB);
  105. spm_dcm_peb_review (RMA ,GCM);
  106. % example for other type of model, like second best
  107. [REB, RCM] = spm_dcm_peb(GCM,M, {'B(full)'});
  108. RMA = spm_dcm_peb_bmc(REB);
  109. spm_dcm_peb_review (RMA ,GCM);

pdp_peb_recursive_final_Bmatexample.m at commit e66cacd, no license · at the source

Overview

Authors: Miriam Vignando1, Dominic Ffytche2, Ndabezinhle Mazibuko1, Giulio Palma3, Anjali Bhat4, Marcella Montagnese5, Sonali Dave6, Yen F Tai7, Lucia Batzu8, Valentina Leta8,9, K Ray Chaudhuri8, Caroline H Williams Gray10, Mitul A Mehta1
  1. Centre for Neuroimaging Sciences, Institute of Psychiatry, Psychology and Neuroscience, King’s College London, London, UK
  2. Institute of Psychiatry, Psychology and Neuroscience, King’s College London, London, UK
  3. Department of Psychology, University of Southampton, Southampton, UK
  4. Department of Psychology, University of Exeter, Exeter, UK
  5. Department of Clinical Neurosciences, Herchel Smith Building, University of Cambridge, Cambridge, UK
  6. University of London, London, UK
  7. Imperial College London, Faculty of Medicine, Department of Brain Sciences, The Hammersmith Hospital, London, UK
  8. Parkinson Foundation Centre of Excellence, King’s College Hospital NHS Foundation Trust, London, UK
  9. Fondazione IRCCS Istituto Neurologico Carlo Besta, Department of Clinical Neurosciences, Parkinson and Movement Disorders Unit, Milan, Italy
  10. John Van Geest Centre for Brain Repair, Department of Clinical Neurosciences, University of Cambridge/Cambridge University Hospitals NHS Foundation Trust, Cambridge, UK
Journal: Nature. Mental health, volume 4, issue 6, pages 994-1009
Dates: received 9 May 2025; accepted 11 May 2026; published online 10 June 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s44220-026-00669-7 · PMID 42291779 · PMCID PMC13259922 · OpenAlex W7164158954
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), human (organism), Parkinson's (population), schizophrenia / psychosis (population), computational (subfield)
Methods: Spectral & time-frequency, Connectivity, Statistics, Machine learning, Preprocessing, Evoked potentials, Source localization, fMRI & imaging
Keywords: Parkinson's disease, Computational neuroscience, Cognitive ageing
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 87 references in the paper

Abstract

Psychosis and visual hallucinations (VH) in Parkinson’s disease (PD) substantially impact patient outcomes, yet the underlying neural mechanisms remain unclear, limiting effective treatments. Here we used dynamic causal modeling to leverage the fast temporal dynamics captured with electroencephalography data during a visual mismatch negativity task in people with PD with (N = 20) and without (N = 18) VH to examine effective connectivity. We found reduced top-down and enhanced bottom-up connectivity in ventral visual and prefrontal regions during task performance in PD-VH, suggesting deficits in sensory prediction updating and an overreliance on visual input. Connectivity patterns differed with hallucination complexity, with complex VH being associated with altered top-down and bottom-up right-hemisphere connectivity, and multimodal hallucinations to more widespread bilateral disruption. Increased task activity, as computed with source reconstruction, correlated positively with normative serotonergic 5-HT2A receptor distribution. These findings highlight specific neural targets for early therapeutic interventions, supporting a transdiagnostic computational architecture of hallucinations.

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.

VMiri/visual-MMN-DCM-

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: e66cacd71aaa880e0cd8ba74b8926ca369522c40, 3 June 2026
Languages: MATLAB (2), Python (1), R (1)
Size: 6 files, 4 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 (2 files), BrainSMASH (1 file), caret (1 file), ggplot2 (1 file), NiBabel (1 file), NumPy (1 file), SciPy (1 file), tidyverse (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
5 files

OSF umd89

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Languages: MATLAB (2), R (1), Python (1)
Size: 6 files, 4 scripts
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: BrainSMASH (1 file), caret (1 file), ggplot2 (1 file), NiBabel (1 file), NumPy (1 file), SciPy (1 file), SPM (1 file), tidyverse (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
3 files
At the source: osf.io/umd89

Code availability

All the code used in the study is available via GitHub at https://github.com/VMiri/visual-MMN-DCM- and on the study OSF page (https://osf.io/umd89).

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

The data supporting the analyses presented in the main text is openly available from the King’s College London research data repository, KORDS, at 10.18742/32205198, including clinical and demographic data and connection strengths for all the connections in the models. Raw EEG files will be shared upon completing a data sharing agreement. All PET maps are available via GitHub at https://github.com/netneurolab/neuromaps and https://github.com/juryxy/JuSpace. To request the raw data, contact the corresponding author.

All the code used in the study is available via GitHub at https://github.com/VMiri/visual-MMN-DCM- and on the study OSF page (https://osf.io/umd89).

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 2, 28 September 2026

  • Publisher: n/a → Springer Science+Business Media
  • Funding: added National Institute for Health and Care Research: (NIHR203312; Department of Health and Social Care; King's College London; University College London; Alzheimer’s Research UK: ARUK-RF2022B-002; NIHR Maudsley Biomedical Research Centre; Medical Research Council: MR/R005931/1, NIHR203312, MR/W029235/1; NIHR Cambridge Biomedical Research Centre: NIHR 203312

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 13 authors, 3 keywords, 78 references.

Cite

This paper

Vignando, M., Ffytche, D., Mazibuko, N., Palma, G., Bhat, A., Montagnese, M., Dave, S., Tai, Y. F., Batzu, L., Leta, V., Chaudhuri, K. R., Williams Gray, C. H., & Mehta, M. A. (2026). Deviations in effective connectivity explain different hallucination subtypes in Parkinson's disease psychosis. Nature. Mental health, 4(6), 994-1009. https://doi.org/10.1038/s44220-026-00669-7

BibTeX

@article{vignando2026deviations,
author = {Vignando, Miriam and Ffytche, Dominic and Mazibuko, Ndabezinhle and Palma, Giulio and Bhat, Anjali and Montagnese, Marcella and Dave, Sonali and Tai, Yen F and Batzu, Lucia and Leta, Valentina and Chaudhuri, K Ray and Williams Gray, Caroline H and Mehta, Mitul A},
title = {{Deviations in effective connectivity explain different hallucination subtypes in Parkinson's disease psychosis}},
journal = {Nature. Mental health},
year = {2026},
month = jun,
volume = {4},
number = {6},
pages = {994--1009},
publisher = {Springer Science+Business Media},
issn = {2731-6076},
doi = {10.1038/s44220-026-00669-7},
url = {https://doi.org/10.1038/s44220-026-00669-7},
pmid = {42291779},
pmcid = {PMC13259922}
}

RIS

TY - JOUR
AU - Vignando, Miriam
AU - Ffytche, Dominic
AU - Mazibuko, Ndabezinhle
AU - Palma, Giulio
AU - Bhat, Anjali
AU - Montagnese, Marcella
AU - Dave, Sonali
AU - Tai, Yen F
AU - Batzu, Lucia
AU - Leta, Valentina
AU - Chaudhuri, K Ray
AU - Williams Gray, Caroline H
AU - Mehta, Mitul A
TI - Deviations in effective connectivity explain different hallucination subtypes in Parkinson's disease psychosis
T2 - Nature. Mental health
J2 - Nat Ment Health
PY - 2026
DA - 2026/06/10
VL - 4
IS - 6
SP - 994
EP - 1009
SN - 2731-6076
PB - Springer Science+Business Media
DO - 10.1038/s44220-026-00669-7
UR - https://doi.org/10.1038/s44220-026-00669-7
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s44220-026-00669-7",
"type": "article-journal",
"title": "Deviations in effective connectivity explain different hallucination subtypes in Parkinson's disease psychosis",
"container-title": "Nature. Mental health",
"author": [
{
"family": "Vignando",
"given": "Miriam"
},
{
"family": "Ffytche",
"given": "Dominic"
},
{
"family": "Mazibuko",
"given": "Ndabezinhle"
},
{
"family": "Palma",
"given": "Giulio"
},
{
"family": "Bhat",
"given": "Anjali"
},
{
"family": "Montagnese",
"given": "Marcella"
},
{
"family": "Dave",
"given": "Sonali"
},
{
"family": "Tai",
"given": "Yen F"
},
{
"family": "Batzu",
"given": "Lucia"
},
{
"family": "Leta",
"given": "Valentina"
},
{
"family": "Chaudhuri",
"given": "K Ray"
},
{
"family": "Williams Gray",
"given": "Caroline H"
},
{
"family": "Mehta",
"given": "Mitul A"
}
],
"container-title-short": "Nat Ment Health",
"volume": "4",
"issue": "6",
"page": "994-1009",
"DOI": "10.1038/s44220-026-00669-7",
"PMID": "42291779",
"PMCID": "PMC13259922",
"ISSN": "2731-6076",
"publisher": "Springer Science+Business Media",
"URL": "https://doi.org/10.1038/s44220-026-00669-7",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
10
]
]
}
}

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/s41593-026-02359-0 [code]
The cross-site reproducibility of MRI morphometric phenotypes in psychiatric disorders.
Journal: Nature neuroscience
In common: BrainSMASH, SPM, NiBabel, 2 other tools, schizophrenia / psychosis, 3 references
[2] doi:10.1038/s41380-026-03497-4 [code]
Transcriptome-informed brain cartography of polygenic risk and association with brain structure in major psychiatric disorders.
Journal: Molecular psychiatry
In common: NiBabel, ggplot2, tidyverse, 2 other tools, schizophrenia / psychosis, 4 references
[3] doi:10.1038/s41467-026-76676-0 [code]
Determinants of functional burden pleiotropy and gene dosage responses across human traits.
Journal: Nature communications
In common: BrainSMASH, NiBabel, ggplot2, 3 other tools, 2 references
[4] doi:10.1038/s42003-026-09956-6 [code]
Linking changes in sulcal morphometry to cognitive development from childhood to adolescence.
Journal: Communications biology
In common: BrainSMASH, NiBabel, ggplot2, 3 other tools, 2 references
[5] doi:10.1038/s41586-026-10631-3 [code]
A prognostic human brain network for diffuse midline glioma.
Journal: Nature
In common: BrainSMASH, SPM, NiBabel, 2 other tools, 2 references
[6] doi:10.1038/s41467-026-74153-2 [code]
Regional, functional and transcriptomic decoding of multidimensional brain structure alterations in obsessive-compulsive disorder.
Journal: Nature communications
In common: BrainSMASH, SPM, NiBabel, 3 other tools, 1 reference
[7] doi:10.1038/s42003-026-10276-y [code]
The cellular correlates and adolescent reorganisation of cortical myelination networks in the common marmoset.
Journal: Communications biology
In common: BrainSMASH, SPM, NiBabel, 3 other tools, 1 reference
[8] doi:10.1038/s41398-026-04025-2 [code]
Brain energetic landscapes shape state dysregulation in major depressive disorder: a morphological network controllability perspective.
Journal: Translational psychiatry
In common: BrainSMASH, SPM, NiBabel, 3 other tools, 1 reference
[9] doi:10.1186/s12916-026-04978-7 [code]
Mapping shared and specific cortical after-effects of repetitive TMS on brain function.
Journal: BMC medicine
In common: BrainSMASH, NiBabel, SciPy, 1 other tool, 3 references
[10] doi:10.1038/s41467-026-75102-9 [code]
Glutamatergic signaling underlies brain structural organization for mathematical and reading abilities in children.
Journal: Nature communications
In common: BrainSMASH, SPM, ggplot2, 3 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.

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.