Psilocybin shapes the slow, global propagation of brain activity over the cortical layout of 5HT2a receptors.
The 1 match · it ties a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § Methods › Cortical gradients ↔ run_gradients.m, the whole file · a weak match · score 0.74 · BrainSpace, diffusion embedding, gradient score, alignment, Schaefer, components · 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 · 150 lines · 4.7 KB · other · 1 match
- % addpath BrainSpace toolbox to path
- % Schaefer parcellation file should be on path
- load conn_Schaef
- [surf_lh, surf_rh] = load_conte69();
- parcelSch=ft_read_cifti('Schaefer2018_200Parcels_7Networks_order.dlabel.nii');
- labeling = parcelSch.parcels(1:64984);
- % All_subjects
- cont1 = 1;
- cont2 = 1;
- cont3 = 1;
- cont4 = 1;
- cont5 = 1;
- for i =1:size(connAll,1)
- Mx_z_sparse = squeeze(connAll(i,1,:,:));
- symmetric_matrix = Mx_z_sparse + Mx_z_sparse';
- symmetric_matrix(eye(size(symmetric_matrix)) == 1) = 0;
- non_zero_indices = any(symmetric_matrix, 2);
- filtered_matrix = symmetric_matrix(non_zero_indices, non_zero_indices);
- % Normalize each row of the filtered matrix
- if ~isempty(filtered_matrix)
- norms = sqrt(sum(filtered_matrix.^2, 2));
- normalized_matrix = filtered_matrix ./ norms;
- connmatrixAll_B1{cont1} = normalized_matrix;
- cont1 = cont1 + 1;
- end
- clear normalized_matrix
- Mx_z_sparse = squeeze(connAll(i,2,:,:));
- symmetric_matrix = Mx_z_sparse + Mx_z_sparse';
- symmetric_matrix(eye(size(symmetric_matrix)) == 1) = 0;
- non_zero_indices = any(symmetric_matrix, 2);
- filtered_matrix = symmetric_matrix(non_zero_indices, non_zero_indices);
- % Normalize each row of the filtered matrix
- if ~isempty(filtered_matrix)
- norms = sqrt(sum(filtered_matrix.^2, 2));
- normalized_matrix = filtered_matrix ./ norms;
- connmatrixAll_B2{cont2} = normalized_matrix;
- cont2 = cont2 + 1;
- end
- clear normalized_matrix
- Mx_z_sparse = squeeze(connAll(i,3,:,:));
- symmetric_matrix = Mx_z_sparse + Mx_z_sparse';
- symmetric_matrix(eye(size(symmetric_matrix)) == 1) = 0;
- non_zero_indices = any(symmetric_matrix, 2);
- filtered_matrix = symmetric_matrix(non_zero_indices, non_zero_indices);
- if ~isempty(filtered_matrix) % Check if there are non-zero rows/columns
- norms = sqrt(sum(filtered_matrix.^2, 2));
- normalized_matrix = filtered_matrix ./ norms;
- connmatrixAll_B3{cont3} = normalized_matrix;
- cont3 = cont3 + 1;
- end
- clear normalized_matrix
- Mx_z_sparse = squeeze(connAll(i,4,:,:));
- symmetric_matrix = Mx_z_sparse + Mx_z_sparse';
- symmetric_matrix(eye(size(symmetric_matrix)) == 1) = 0;
- non_zero_indices = any(symmetric_matrix, 2);
- filtered_matrix = symmetric_matrix(non_zero_indices, non_zero_indices);
- if ~isempty(filtered_matrix) % Check if there are non-zero rows/columns
- norms = sqrt(sum(filtered_matrix.^2, 2));
- normalized_matrix = filtered_matrix ./ norms;
- connmatrixAll_D{cont4} = normalized_matrix;
- cont4 = cont4 + 1;
- end
- clear normalized_matrix
- Mx_z_sparse = squeeze(connAll(i,5,:,:));
- symmetric_matrix = Mx_z_sparse + Mx_z_sparse';
- symmetric_matrix(eye(size(symmetric_matrix)) == 1) = 0;
- non_zero_indices = any(symmetric_matrix, 2);
- filtered_matrix = symmetric_matrix(non_zero_indices, non_zero_indices);
- if ~isempty(filtered_matrix) % Check if there are non-zero rows/columns
- norms = sqrt(sum(filtered_matrix.^2, 2));
- normalized_matrix = filtered_matrix ./ norms;
- connmatrixAll_M{cont5} = normalized_matrix;
- cont5 = cont5 + 1;;
- end
- clear normalized_matrix
- end
- Gp = GradientMaps('kernel','cs','approach','diffusionEmbedding','alignment','pa','n_components',5);
- % Calculate gradient scores
- Gp = Gp.fit(connmatrixAll_B1);
- for i= 1:11
- pg0(i,:)=Gp.aligned{i}(:,1);
- end
- Gp = Gp.fit(connmatrixAll_B2);
- for i= 1:7
- pg(i,:)=Gp.aligned{i}(:,1);
- end
- Gp = Gp.fit(connmatrixAll_B3);
- for i= 1:7
- pg2(i,:)=Gp.aligned{i}(:,1);
- end
- Gp = Gp.fit(connmatrixAll_D);
- for i= 1:11
- pgPSI(i,:)=Gp.aligned{i}(:,1);
- end
- Gp = Gp.fit(connmatrixAll_M);
- for i= 1:11
- pgMET(i,:)=Gp.aligned{i}(:,1);
- end
- plot_hemispheres([nanmean([-pg; -pg0;pg2]); nanmean(-pgMET); nanmean(pgPSI)]', ...
- {surf_lh,surf_rh},'parcellation',labeling, ...
- 'labeltext',{'PLCB','MET','PSI'});
- % Calculate gradient score difference
- Gp = Gp.fit(connmatrixAll_B1);
- for i = 1:length(connmatrixAll_B1)
- scoredif0(i) = max(Gp.aligned{i}(:,1))-min(Gp.aligned{i}(:,1));
- end
- Gp = Gp.fit(connmatrixAll_B2);
- for i = 1:length(connmatrixAll_B2)
- scoredif(i) = max(Gp.aligned{i}(:,1))-min(Gp.aligned{i}(:,1));
- end
- Gp = Gp.fit(connmatrixAll_B3);
- for i = 1:length(connmatrixAll_B3)
- scoredif2(i) = max(Gp.aligned{i}(:,1))-min(Gp.aligned{i}(:,1));
- end
- Gp = Gp.fit(connmatrixAll_D);
- for i = 1:length(connmatrixAll_D)
- scoredifPSI(i) = max(Gp.aligned{i}(:,1))-min(Gp.aligned{i}(:,1));
- end
- Gp = Gp.fit(connmatrixAll_M);
- for i = 1:length(connmatrixAll_M)
- scoredifMET(i) = max(Gp.aligned{i}(:,1))-min(Gp.aligned{i}(:,1));
- end
run_gradients.m at commit 78a1477, under other · at the source
Overview
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.
Repositories
Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.
Zenodo 18933134
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
6 files
- calc_FC_function.m, MATLAB, 109 lines
- run_FCchange.m, MATLAB, 117 lines
- run_conn.m, MATLAB, 48 lines
- run_gradients.m, MATLAB, 150 lines
- LICENSE, License, 18 lines
- README.md, Text, 17 lines
veronicamaki-marttunen/psilocybin-shapes-propagation-of-brain-activity
78a14774c72610b058a2616d9e1fe4c05dc5306d, 22 September 2026Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
6 files
- calc_FC_function.m, MATLAB, 109 lines
- run_FCchange.m, MATLAB, 117 lines
- run_conn.m, MATLAB, 48 lines
- run_gradients.m, MATLAB, 150 lines, 1 match
- LICENSE, License, 18 lines
- README.md, Text, 17 lines
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:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1038/s42003-026-09912-4.
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;
- 8 scripts, each with its path and the digest of its content;
- 1 match 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
- doi:10.18112/
openneuro.ds006072.v1.0. , at OpenNeuro; found in the references0
Code and data availability statement
The paper has a code and 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/s42003-026-09912-4.
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, 1 author, 2 keywords, 8 MeSH terms, 74 references.
Cite
This paper
Mäki-Marttunen, V. (2026). Psilocybin shapes the slow, global propagation of brain activity over the cortical layout of 5HT2a receptors. Communications biology, 9(1), 672. https://
BibTeX
@article{makimarttunen20
author = {Mäki-Marttunen, Verónica},
title = {{Psilocybin shapes the slow, global propagation of brain activity over the cortical layout of 5HT2a receptors}},
journal = {Communications biology},
year = {2026},
month = mar,
volume = {9},
number = {1},
pages = {672},
publisher = {Nature Publishing Group},
issn = {2399-3642},
doi = {10.1038/
url = {https://
pmid = {41882058},
pmcid = {PMC13183898}
}
RIS
TY - JOUR
AU - Mäki-Marttunen, Verónica
TI - Psilocybin shapes the slow, global propagation of brain activity over the cortical layout of 5HT2a receptors
T2 - Communications biology
J2 - Commun Biol
PY - 2026
DA - 2026/
VL - 9
IS - 1
SP - 672
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Psilocybin shapes the slow, global propagation of brain activity over the cortical layout of 5HT2a receptors",
"container-title": "Communications biology",
"author": [
{
"family": "Mäki-Marttunen",
"given": "Verónica"
}
],
"container-title-short":
"volume": "9",
"issue": "1",
"page": "672",
"DOI": "10.1038/
"PMID": "41882058",
"PMCID": "PMC13183898",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
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.1073/pnas.2218949120 [code]
- Human brain effects of DMT assessed via EEG-fMRI.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: BrainSpace, FieldTrip, Statistics and Machine Learning Toolbox, fMRI, 14 references
- [2] doi:10.1038/s41380-026-03447-0 [code]
- Spatiotemporal mapping of brain organisation following the administration of 2C-B and psilocybin.Journal: Molecular psychiatryIn common: 14 references
- [3] doi:10.1162/imag_a_00420
- LSD flattens the hierarchy of directed information flow in fast whole-brain dynamics.Journal: Imaging neuroscience (Cambridge, Mass.)In common: 14 references
- [4] doi:10.1038/s42003-025-08078-9 [code]
- Network control energy reductions under DMT relate to serotonin receptors, signal diversity, and subjective experience.Journal: Communications biologyIn common: FieldTrip, Statistics and Machine Learning Toolbox, cellular / molecular, 12 references
- [5] doi:10.1038/s41591-026-04287-9 [code]
- An international mega-analysis of psychedelic drug effects on brain circuit function.Journal: Nature medicineIn common: fMRI, 12 references
- [6] doi:10.1038/s41467-022-33578-1 [code]
- Receptor-informed network control theory links LSD and psilocybin to a flattening of the brain's control energy landscape.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, fMRI, 12 references
- [7] doi:10.1038/s42003-025-07576-0 [code]
- Transient destabilization of whole brain dynamics induced by N,N-Dimethyltryptamine (DMT).Journal: Communications biologyIn common: 12 references
- [8] doi:10.1038/s41586-026-10910-z [code]
- Psychedelics align brain activity with context.Journal: NatureIn common: BrainSpace, FieldTrip, Statistics and Machine Learning Toolbox, fMRI, 9 references
- [9] doi:10.1126/sciadv.adf8332 [code]
- In vivo mapping of pharmacologically induced functional reorganization onto the human brain's neurotransmitter landscape.Journal: Science advancesIn common: cellular / molecular, 12 references
- [10] doi:10.1038/s41467-026-74215-5 [code]
- Multi-metric evaluations of acute psychedelic effects on fMRI brain entropy.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, fMRI, 10 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: 2 repositories of the authors' code, each at its verified commit and with its license, 8 scripts, and 1 match 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:1c09f2e29b76505c…
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/s42003-026-09912-4)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s42003-026-09912-4.svg
:target: https://openscicode.org/badge/doi/10.1038/s42003-026-09912-4
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s42003-026-09912-4"><img src="https://openscicode.org/badge/doi/10.1038/s42003-026-09912-4.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.
