Transcriptional correlates of structure-function coupling plasticity in trigeminal neuralgia: unveiling the synaptic and metabolic associations.
The 2 matches
- [1] § Materials and methods › Structural-functional coupling: the graph harmonic model ↔ 01_SF_Coupling/lowhigh.m, lines 46–95 · score 0.68 · graph harmonic model, structural Laplacian, structural connectome, eigenmodes, SC, FC
- [2] § Materials and methods › Structural-functional coupling: the graph harmonic model ↔ 01_SF_Coupling/lowhigh.m, lines 97–146 · score 0.55 · functional connectivity profile, predictors, fit, linear, Laplacian, SC
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 · 208 lines · 8.1 KB · no license · 2 matches
- % =========================================================================
- % Structural-Functional (S-F) Coupling Calculation using Graph Harmonic Model
- % =========================================================================
- clear all; clc;
- % -------------------------------------------------------------------------
- % 1. Set Directory Paths (Please update these relative paths to your local data)
- % -------------------------------------------------------------------------
- FCdirpath = './Data_Sample/Fmri_fc'; % Path to functional connectivity matrices
- SCdirpath = './Data_Sample/DTI_data_sym'; % Path to structural connectivity matrices
- FCfiles = dir(FCdirpath); % List all files in the FC directory
- SCfiles = dir(SCdirpath); % List all files in the SC directory
- % Initialize variables
- allrsq = zeros(400, length(FCfiles)-2);
- allxx = zeros(400, length(FCfiles)-2);
- numflag = 0;
- % -------------------------------------------------------------------------
- % 2. Main Loop: Iterate through subjects and match multimodal data
- % -------------------------------------------------------------------------
- for ii = 1:length(FCfiles)
- flagsc = 0;
- flagfc = 0;
- flagmn = 1; % Status flag
- % Skip directories (. and ..)
- if FCfiles(ii).isdir
- continue;
- end
- fc_file_name = FCfiles(ii).name;
- % Extract FC subject ID
- tokens = regexp(fc_file_name, 'sub-(\d+)-FC', 'tokens');
- if isempty(tokens)
- continue;
- end
- fc_id = tokens{1}{1};
- fc_id_padded = sprintf('%05d', str2double(fc_id)); % e.g., '00009'
- subID = fc_id_padded;
- FCfiledir = fullfile(FCdirpath, fc_file_name);
- flagfc = 1;
- % Match corresponding SC file
- for ij = 1:length(SCfiles)
- if SCfiles(ij).isdir
- continue;
- end
- sc_file_name = SCfiles(ij).name;
- sc_tokens = regexp(sc_file_name, '^(\d+)_StructuralConnectome', 'tokens');
- if isempty(sc_tokens)
- continue;
- end
- sc_id = sc_tokens{1}{1};
- if strcmp(fc_id_padded, sc_id)
- SCfiledir = fullfile(SCdirpath, sc_file_name);
- flagsc = 1;
- break
- end
- end
- % Check if both modalities are successfully matched
- if flagfc * flagsc * flagmn == 1
- fc = importdata(FCfiledir);
- W = importdata(SCfiledir);
- Sc = W; Sc(Sc>0) = 1; % Structural binary matrix
- N = size(W,1); % Node number (e.g., 400 for Schaefer)
- disp(['Processing Subject ID: ', subID]);
- disp('Multimodal data matched successfully.');
- numflag = numflag + 1;
- fc(fc<0) = 0; % Exclude negative functional connections
- else
- continue
- end
- % Load nodal coordinates
- load coor.mat
- % coor represents x,y,z node coordinates | N x 3 matrix
- % ---------------------------------------------------------------------
- % 3. Graph Harmonic Model & Laplacian Eigenmodes
- % ---------------------------------------------------------------------
- A = W; A = -A;
- for i = 1:N
- A(i,i) = -sum(A(i,:));
- end
- B = A / max(eig(A)); % Structural Laplacian matrix
- [BEC, BE] = eig(B); % BEC-eigenvectors, BE-eigenvalues
- [a, b] = sort(diag(BE));
- BE_sort = diag(a);
- BEC_sort = BEC(:, b);
- % Diffusion map algorithm on functional network
- mappedX = diffusion_maps(fc, 10, 0.5, 1);
- x = mappedX(:, 1); % Node weights for first eigenvector
- xx = x * -1; % Reverse weights: positive = top of hierarchy
- allxx(:, numflag) = xx;
- % ---------------------------------------------------------------------
- % 4. Prediction Model (S-F Coupling Calculation)
- % ---------------------------------------------------------------------
- % A multilinear model is used to predict the functional connection profile
- % of every node based on the 2nd-14th eigenmodes of structural Laplacian network.
- rsq = zeros(N, 1); % Node-wise vector
- % Define FC response (y) and SC predictors (x)
- for jj = 1:N
- y = fc(:, jj);
- x1 = zscore(BEC_sort(:, 2:14)); % Standardize predictors of 2nd-14th eigenmodes
- % Fit multiple regression (OLS, main effects only), excluding self-connections
- lm = fitlm(x1, y, 'Exclude', jj);
- rsq(jj) = lm.Rsquared.Ordinary; % Record R-squared for node jj
- end
- rsq1 = sqrt(real(rsq)); % Calculate S-F coupling value
- allrsq(:, numflag) = rsq1;
- end % End of subject loop
- % -------------------------------------------------------------------------
- % 5. Visualization & Statistics
- % -------------------------------------------------------------------------
- figure(3)
- rsq1 = BEC_sort(:,1);
- rsq1 = rsq1';
- x = coor(:,1); y = coor(:,2); z = coor(:,3);
- N1 = ceil(max(rsq1)*10000) - floor(min(rsq1)*10000);
- S = 200 * ones(size(x));
- % Color mapping (Red-Blue)
- mycolorpoint = [[255 135 158];[255 191 204];[250 235 214];[239 255 255];[64 104 224];[20 48 135]]/255;
- mycolorpoint = flipud(mycolorpoint);
- mycolorposition = [1 1000 round(N1/2)-100 round(N1/2)+100 N1-1000 N1];
- mycolormap_r = interp1(mycolorposition, mycolorpoint(:,1), 1:N1, 'linear', 'extrap');
- mycolormap_g = interp1(mycolorposition, mycolorpoint(:,2), 1:N1, 'linear', 'extrap');
- mycolormap_b = interp1(mycolorposition, mycolorpoint(:,3), 1:N1, 'linear', 'extrap');
- C = [mycolormap_r', mycolormap_g', mycolormap_b'];
- colormap(C);
- scatter3(x, y, z, S, C(round((rsq1-min(rsq1))*10000)+1,:), 'filled')
- axis off; colorbar('Ticks',[])
- figure(6); imagesc(rsq1);
- % -------------------------------------------------------------------------
- % Figure: R values anticorrelated with functional gradient
- % -------------------------------------------------------------------------
- figure;
- allrsq(:, numflag+1:end) = [];
- allxx(:, numflag+1:end) = [];
- y1 = mean(allrsq, 2);
- rsq1 = y1;
- xx = mean(allxx, 2);
- [rho, pval] = corr(xx, y1);
- lm = fitlm(xx, y1);
- xhat = linspace(min(xx), max(xx), 100);
- yhat = lm.Coefficients.Estimate(1) + (lm.Coefficients.Estimate(2) * xhat);
- plot(xx, y1, '.', 'Markersize', 10); hold on
- plot(xhat, yhat, 'LineWidth', 2)
- title(['rho = ' num2str(rho) ', p = ' num2str(pval)]);
- axis square
- xlabel('Gradient'); ylabel('S-F Coupling (R)');
- % -------------------------------------------------------------------------
- % Boxplot of R across functional networks
- % -------------------------------------------------------------------------
- load lab.mat
- load('rsn_mapping.mat');
- R_name = rsn_names; % Total region names
- R_n = length(R_name); % Total region number
- Rn_Ind = lab; % Network index for each node
- Rn_name = cell(length(rsq1), 1); % Network name for each node
- R_R = zeros(R_n, 1); % Median R
- R_A = zeros(R_n, 1); % Average R
- for i = 1:R_n
- R_R(i) = median(rsq1(Rn_Ind==i));
- R_A(i) = mean(rsq1(Rn_Ind==i));
- Rn_name(Rn_Ind==i) = R_name(i);
- end
- [temp, I] = sort(R_R, 'descend'); % Sort networks by R median
- a = rsq1; b = Rn_name;
- c = R_name(I); % Sorted network names
- Color = [219 2 10; 231 95 27; 238 146 43; 246 191 65; 246 236 84; 202 222 169; 147 205 137; 76 177 99]/255;
- Color = flipud(Color);
- figure;
- valid_idx = ~cellfun(@isempty, b);
- boxplot(a(valid_idx), b(valid_idx), 'Orientation', 'horizontal', 'GroupOrder', c, ...
- 'Colors', Color, 'BoxStyle', 'filled', 'Whisker', 0, 'OutlierSize', 2.5, ...
- 'Symbol', '.', 'MedianStyle', 'target');
- title('Structural-Functional Coupling across Networks');
- % -------------------------------------------------------------------------
- % 6. Save output variables to CSV
- % -------------------------------------------------------------------------
- csv_file_path = 'Output_SFC_Values.csv'; % Specify output CSV file path
- dlmwrite(csv_file_path, allrsq);
- disp('---------------------------------------------------');
- disp('Analysis completed. S-F coupling data successfully saved to CSV.');
- disp('---------------------------------------------------');
lowhigh.m at commit 7924672, no license · at the source
Overview
- School of Medical Science and Engineering, Beijing Institute of Technology, Beijing, 100081 China
- Research Center for Medical Artificial Intelligence, Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences, Shenzhen, Guangdong 518055 China
- Department of Neurosurgery, China-Japan Friendship Hospital, Beijing, 100029 China
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.
starz0275/TN_SF_Code
792467264236fd6c11ba671b2933efe3d9ae173c, 9 March 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
4 files
- 01_SF_Coupling/
lowhigh.m , MATLAB, 208 lines, 2 matches - 03_Transcriptome_PLS/
Disease_PLS_Nature_Spin_ , MATLAB, 165 linesBootstrap.m - 03_Transcriptome_PLS/
Treatment_PLS_Nature_Spi , MATLAB, 170 linesn_Bootstrap.m - README.md, Text, 24 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;
- 3 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
Datasets cited
- openneuro:ds005713, at OpenNeuro; found in “Data availability”
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:
- it points to a dataset: OpenNeuro ds005713
- it points to the authors' code: starz0275/
TN_SF_Code
Read it in the paper: doi.org/10.1186/s10194-026-02419-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, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 6 keywords, 13 MeSH terms, 4 funders, 56 references.
Cite
This paper
Zhang, J., Nie, X., Fu, S., Lu, Y., Liu, T., Zhang, Z., Wu, J., Tong, X., & Yan, T. (2026). Transcriptional correlates of structure-function coupling plasticity in trigeminal neuralgia: unveiling the synaptic and metabolic associations. The journal of headache and pain, 27(1), 154. https://
BibTeX
@article{zhang2026transc
author = {Zhang, Jian and Nie, Xujing and Fu, Shuyue and Lu, Yinping and Liu, Tiantian and Zhang, Zhilin and Wu, Jinglong and Tong, Xuezhi and Yan, Tianyi},
title = {{Transcriptional correlates of structure-function coupling plasticity in trigeminal neuralgia: unveiling the synaptic and metabolic associations}},
journal = {The journal of headache and pain},
year = {2026},
month = jun,
volume = {27},
number = {1},
pages = {154},
publisher = {BMC},
issn = {1129-2369},
doi = {10.1186/
url = {https://
pmid = {42251257},
pmcid = {PMC13251101}
}
RIS
TY - JOUR
AU - Zhang, Jian
AU - Nie, Xujing
AU - Fu, Shuyue
AU - Lu, Yinping
AU - Liu, Tiantian
AU - Zhang, Zhilin
AU - Wu, Jinglong
AU - Tong, Xuezhi
AU - Yan, Tianyi
TI - Transcriptional correlates of structure-function coupling plasticity in trigeminal neuralgia: unveiling the synaptic and metabolic associations
T2 - The journal of headache and pain
J2 - J Headache Pain
PY - 2026
DA - 2026/
VL - 27
IS - 1
SP - 154
SN - 1129-2369
PB - BMC
DO - 10.1186/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1186/
"type": "article-journal",
"title": "Transcriptional correlates of structure-function coupling plasticity in trigeminal neuralgia: unveiling the synaptic and metabolic associations",
"container-title": "The journal of headache and pain",
"author": [
{
"family": "Zhang",
"given": "Jian"
},
{
"family": "Nie",
"given": "Xujing"
},
{
"family": "Fu",
"given": "Shuyue"
},
{
"family": "Lu",
"given": "Yinping"
},
{
"family": "Liu",
"given": "Tiantian"
},
{
"family": "Zhang",
"given": "Zhilin"
},
{
"family": "Wu",
"given": "Jinglong"
},
{
"family": "Tong",
"given": "Xuezhi"
},
{
"family": "Yan",
"given": "Tianyi"
}
],
"container-title-short":
"volume": "27",
"issue": "1",
"page": "154",
"DOI": "10.1186/
"PMID": "42251257",
"PMCID": "PMC13251101",
"ISSN": "1129-2369",
"publisher": "BMC",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
6
]
]
}
}
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.1017/s0033291726104838 [code]
- Variations of structural-functional coupling in post-traumatic stress disorder are associated with underlying molecular and transcriptional features.Journal: Psychological medicineIn common: structural MRI / diffusion, cellular / molecular, 10 references
- [2] doi:10.1038/s42003-025-09444-3 [code]
- Decoupling of neurophysiological activity from structure mirrors global microarchitectural and neuromodulatory trends.Journal: Communications biologyIn common: Statistics and Machine Learning Toolbox, cellular / molecular, 9 references
- [3] doi:10.1038/s43856-026-01707-2 [code]
- Decreased amyloid-related structure-function coupling in preclinical Alzheimer's disease.Journal: Communications medicineIn common: Statistics and Machine Learning Toolbox, 7 references
- [4] doi:10.1093/braincomms/fcag220 [code]
- When pain becomes self: limbic-default mode network hyperconnectivity predicts microvascular decompression failure in trigeminal neuralgia.Journal: Brain communicationsIn common: Statistics and Machine Learning Toolbox, pain, structural MRI / diffusion, 5 references
- [5] doi:10.7554/elife.103097 [code]
- Canonical neurodevelopmental trajectories of structural and functional manifolds.Journal: eLifeIn common: Statistics and Machine Learning Toolbox, structural MRI / diffusion, 6 references
- [6] doi:10.1371/journal.pbio.3003927 [code]
- Brain structural and functional connectivity converge prenatally but diverge after birth.Journal: PLoS biologyIn common: Statistics and Machine Learning Toolbox, structural MRI / diffusion, 5 references
- [7] doi:10.1186/s12916-026-04903-y [code]
- Structural connectome architecture and biological vulnerability shape cortical atrophy in cocaine use disorder.Journal: BMC medicineIn common: Statistics and Machine Learning Toolbox, structural MRI / diffusion, 5 references
- [8] doi:10.1002/advs.202516310
- A Tac1-Expressing Brainstem Pathway Underlies the Pathogenesis of Trigeminal Neuralgia.Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)In common: pain, cellular / molecular, 3 references
- [9] doi:10.1038/s41467-026-71719-y [code]
- Brain functional-structural gradient coupling reflects development, behavior and genetic influences.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, 4 references
- [10] doi:10.1038/s41467-026-76812-w [code]
- Assessing molecular, cellular and transcriptomic bases of laminar perfusion and cytoarchitecture coupling in the human cortex.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, structural MRI / diffusion, genetics / omics, cellular / molecular, 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: 1 repository of the authors' code, each at its verified commit and with its license, 3 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:c258fba77f00e44c…
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.
