Constructing mesoscale functionomics by neural dynamics subspace clustering.
The 1 match · it ties a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
- [1] § RESULTS › Principle of FRID ↔ FRID/FRID.m, the whole file · a weak match · score 0.64 · spectral cluster, neural activities, affinity matrix, quadratic, anchors, algorithm
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 · 48 lines · 1.1 KB · Apache-2.0 · 1 match
- function [U,labels,Z] = FRID(X,k,alpha,numanchor,ifnorm,nrepanch)
- % Input:
- % X: The neural activity, size of neuron number x time steps
- % k: number of clustering
- % alpha: sparisity penalty parameter
- % numanchor: anchor number
- % ifnorm: bool, if perform normalization
- % nrepanch: number of repetitions on finding anchor
- % Output:
- % U: The embedding of the neurons
- % labels: The clustering result of each neuron
- % Z: The affinity matrix
- num=size(X,1);
- % Normalization
- if ifnorm
- for t = 1:size(X,1)
- X(t,:)=X(t,:)./norm(X(t,:),'fro');
- end
- end
- X = double(X);
- % Find anchor
- [~, H] = litekmeans(X,numanchor,'MaxIter', 100,'Replicates',nrepanch);
- [numanchor,~]=size(H);
- % Do quadratic optization
- options = optimset( 'Algorithm','interior-point-convex','Display','off');
- A=2*alpha*eye(numanchor)+2*H*H';
- A=(A+A')/2;
- B=X';
- parfor ji=1:num
- ff=-2*B(:,ji)'*H';
- Z(:,ji)=quadprog(A,ff',[],[],[],[],-ones(numanchor,1),ones(numanchor,1),[],options);
- end
- % Get the affinity matrix
- Sbar=abs(Z);
- % Do spectral clustering
- [U,Sig,V] = mySVD(Sbar',k);
- labels=litekmeans(U, k, 'MaxIter', 100,'Replicates',10);
FRID.m at commit fd924f8, under Apache-2.0 · at the source
Overview
- Department of Automation, Tsinghua University, Beijing 100084, China
- Institute for Brain and Cognitive Sciences, Tsinghua University, Beijing 100084, China
- Beijing National Research Center for Information Science and Technology, Tsinghua University, Beijing 100084, China
- Department of Mathematical Science, Tsinghua University, Beijing 100084, China
- Department of Neurology, Tongji Hospital, Tongji Medical College, Huazhong University of Science and Technology, Wuhan 430074, China
- Tsinghua Shenzhen International Graduate School, Tsinghua University, Shenzhen 518071, China
- IDG/McGovern Institute for Brain Research, Tsinghua University, Beijing 100084, China
Abstract
Building a fine-grained functional atlas of the brain is crucial for deciphering bio-intelligence. However, the intricate and non-linear interactions at single-neuron level lead to asynchronous and heterogeneous firing patterns among closely interacting neural populations, thereby challenging correlated-firing-based clustering methods. Here, we present Functional subspace clustering based on sparse Representation of Intrinsic Dynamics (FRID), an unsupervised approach for identifying neurons with shared microcircuit connectivity and information encoding properties (referred to as ‘Functionomics’) from mesoscale neural recordings. FRID significantly outperforms correlated-firing-based methods in both simulated complex networks and empirical calcium recordings. The accuracy and utility of FRID are validated across sensory integration and decision-making tasks to produce functionomic clusters with improved resolution and coding specificity than those defined by anatomical functional areas. As representative findings, we demonstrate single-cell level functional remapping during recovery from ischemic stroke and the learning-induced reorganization of functional modularization. Together with large-scale neural recordings, FRID could serve as a general data-driven paradigm to accelerate the understanding of mesoscale brain functions.
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 1 match between paragraphs and lines of code.
Cai-yy/FRID
fd924f8590d13a3832387f538c0741fd21b205b2, 18 January 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
21 files
- FRID/
FRID.m — MATLAB, 48 lines, 1 match - FRID/
litekmeans.m — MATLAB, 457 lines - FRID/
mySVD.m — MATLAB, 118 lines - GUI/
utils/ — MATLAB, 85 linesextractUniqueBases.m - GUI/
utils/ — MATLAB, 9 linesextract_unique_bases_mul tiple_k.m - GUI/
utils/ — MATLAB, 21 linesfrid_edit.m - GUI/
utils/ — MATLAB, 23 linesfrid_edit_multiple_k.m - GUI/
utils/ — MATLAB, 11 linesfrid_total.m - GUI/
utils/ — MATLAB, 457 lineslitekmeans.m - GUI/
utils/ — MATLAB, 118 linesmySVD.m - demo_FRID.m — MATLAB, 58 lines
- util/
Clustering8Measure.m — MATLAB, 607 lines - util/
Contingency.m — MATLAB, 12 lines - util/
MutualInfo.m — MATLAB, 52 lines - util/
RandIndex.m — MATLAB, 43 lines - util/
bestMap.m — MATLAB, 36 lines - util/
compute_f.m — MATLAB, 33 lines - util/
compute_nmi.m — MATLAB, 55 lines - util/
hungarian.m — MATLAB, 465 lines - LICENSE.txt — License, 13 lines
- README.txt — Text, 17 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;
- 19 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
No dataset and no data link were found in the paper.
Data availability
A demonstration of FRID framework could be found 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 2, 28 September 2026
- Funding: added National Natural Science Foundation of China: 32400938, 62222508, 62525506, 62088102; Natural Science Foundation of Beijing Municipality: JR25021, Z240011
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 10 authors, 3 keywords, 72 references.
Cite
This paper
Cai, Y., Xu, X., Xiao, G., Ling, H., Shi, Z., Wang, M., Wang, M., Chen, F., Wu, J., & Dai, Q. (2026). Constructing mesoscale functionomics by neural dynamics subspace clustering. National science review, 13(15), nwag420. https://
BibTeX
@article{cai2026construc
author = {Cai, Yeyi and Xu, Xinhong and Xiao, Guihua and Ling, Huaming and Shi, Zuoqiang and Wang, Minghuan and Wang, Mingrui and Chen, Fenghua and Wu, Jiamin and Dai, Qionghai},
title = {{Constructing mesoscale functionomics by neural dynamics subspace clustering}},
journal = {National science review},
year = {2026},
month = jul,
volume = {13},
number = {15},
pages = {nwag420},
publisher = {Oxford University Press},
issn = {2095-5138},
doi = {10.1093/
url = {https://
pmid = {42592399},
pmcid = {PMC13463643}
}
RIS
TY - JOUR
AU - Cai, Yeyi
AU - Xu, Xinhong
AU - Xiao, Guihua
AU - Ling, Huaming
AU - Shi, Zuoqiang
AU - Wang, Minghuan
AU - Wang, Mingrui
AU - Chen, Fenghua
AU - Wu, Jiamin
AU - Dai, Qionghai
TI - Constructing mesoscale functionomics by neural dynamics subspace clustering
T2 - National science review
J2 - Natl Sci Rev
PY - 2026
DA - 2026/
VL - 13
IS - 15
SP - nwag420
SN - 2095-5138
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"type": "article-journal",
"title": "Constructing mesoscale functionomics by neural dynamics subspace clustering",
"container-title": "National science review",
"author": [
{
"family": "Cai",
"given": "Yeyi"
},
{
"family": "Xu",
"given": "Xinhong"
},
{
"family": "Xiao",
"given": "Guihua"
},
{
"family": "Ling",
"given": "Huaming"
},
{
"family": "Shi",
"given": "Zuoqiang"
},
{
"family": "Wang",
"given": "Minghuan"
},
{
"family": "Wang",
"given": "Mingrui"
},
{
"family": "Chen",
"given": "Fenghua"
},
{
"family": "Wu",
"given": "Jiamin"
},
{
"family": "Dai",
"given": "Qionghai"
}
],
"container-title-short":
"volume": "13",
"issue": "15",
"page": "nwag420",
"DOI": "10.1093/
"PMID": "42592399",
"PMCID": "PMC13463643",
"ISSN": "2095-5138",
"publisher": "Oxford University Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
11
]
]
}
}
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/s41467-026-71725-0 [code]
- Interactions across hemispheres in prefrontal cortex reflect global cognitive processing.Journal: Nature communicationsIn common: Optimization Toolbox, Statistics and Machine Learning Toolbox, 8 references
- [2] doi:10.1016/j.neuron.2026.07.016 [code]
- Inferring brain-wide interactions using data-constrained recurrent neural network models.Journal: NeuronIn common: Statistics and Machine Learning Toolbox, systems, 8 references
- [3] doi:10.1080/26941899.2026.2619222
- Neurodatascience: Past, Present, and Future.Journal: Data science in scienceIn common: 8 references
- [4] doi:10.1016/j.crmeth.2026.101481 [code]
- A hybrid micro-ECoG for functionally targeted multi-site and multi-scale investigation.Journal: Cell reports methodsIn common: Statistics and Machine Learning Toolbox, systems, 6 references
- [5] doi:10.1038/s41586-026-10528-1 [code]
- A critical initialization for biological neural networks.Journal: NatureIn common: 8 references
- [6] doi:10.1126/sciadv.aed6417 [code]
- Intrinsic timing, not temporal prediction, underlies ramping dynamics in visual and parietal cortex during passive behavior.Journal: Science advancesIn common: systems, 6 references
- [7] doi:10.1038/s41598-026-55225-1 [code]
- Benchmarking criteria to determine latent linear dimensionality in neural data.Journal: Scientific reportsIn common: Statistics and Machine Learning Toolbox, 6 references
- [8] doi:10.1038/s41467-026-75347-4 [code]
- Sleep reveals dynamics integrating and segregating movement and stimulus representations in V1.Journal: Nature communicationsIn common: Optimization Toolbox, Statistics and Machine Learning Toolbox, systems, 4 references
- [9] doi:10.7554/elife.109717 [code]
- Retrosplenial cortex enables context-dependent goal-directed sensorimotor transformation.Journal: eLifeIn common: Statistics and Machine Learning Toolbox, systems, 5 references
- [10] doi:10.1038/s41593-026-02350-9 [code]
- Probing inter-areal computations with a two-photon holographic mesoscope.Journal: Nature neuroscienceIn common: Optimization Toolbox, Statistics and Machine Learning Toolbox, systems, 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, 19 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:9368a1b54c1e0b3c…
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.
