OSCR

Constructing mesoscale functionomics by neural dynamics subspace clustering.

Code ↔ Paper

1 match 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 1 match · it ties a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [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

  1. function [U,labels,Z] = FRID(X,k,alpha,numanchor,ifnorm,nrepanch)
  2. % Input:
  3. % X: The neural activity, size of neuron number x time steps
  4. % k: number of clustering
  5. % alpha: sparisity penalty parameter
  6. % numanchor: anchor number
  7. % ifnorm: bool, if perform normalization
  8. % nrepanch: number of repetitions on finding anchor
  9. % Output:
  10. % U: The embedding of the neurons
  11. % labels: The clustering result of each neuron
  12. % Z: The affinity matrix
  13. num=size(X,1);
  14. % Normalization
  15. if ifnorm
  16. for t = 1:size(X,1)
  17. X(t,:)=X(t,:)./norm(X(t,:),'fro');
  18. end
  19. end
  20. X = double(X);
  21. % Find anchor
  22. [~, H] = litekmeans(X,numanchor,'MaxIter', 100,'Replicates',nrepanch);
  23. [numanchor,~]=size(H);
  24. % Do quadratic optization
  25. options = optimset( 'Algorithm','interior-point-convex','Display','off');
  26. A=2*alpha*eye(numanchor)+2*H*H';
  27. A=(A+A')/2;
  28. B=X';
  29. parfor ji=1:num
  30. ff=-2*B(:,ji)'*H';
  31. Z(:,ji)=quadprog(A,ff',[],[],[],[],-ones(numanchor,1),ones(numanchor,1),[],options);
  32. end
  33. % Get the affinity matrix
  34. Sbar=abs(Z);
  35. % Do spectral clustering
  36. [U,Sig,V] = mySVD(Sbar',k);
  37. labels=litekmeans(U, k, 'MaxIter', 100,'Replicates',10);

FRID.m at commit fd924f8, under Apache-2.0 · at the source

Overview

Authors: Yeyi Cai1,2, Xinhong Xu1,2, Guihua Xiao1,2,3, Huaming Ling4, Zuoqiang Shi4, Minghuan Wang5, Mingrui Wang6, Fenghua Chen2, Jiamin Wu1,2,7, Qionghai Dai1,2,7
  1. Department of Automation, Tsinghua University, Beijing 100084, China
  2. Institute for Brain and Cognitive Sciences, Tsinghua University, Beijing 100084, China
  3. Beijing National Research Center for Information Science and Technology, Tsinghua University, Beijing 100084, China
  4. Department of Mathematical Science, Tsinghua University, Beijing 100084, China
  5. Department of Neurology, Tongji Hospital, Tongji Medical College, Huazhong University of Science and Technology, Wuhan 430074, China
  6. Tsinghua Shenzhen International Graduate School, Tsinghua University, Shenzhen 518071, China
  7. IDG/McGovern Institute for Brain Research, Tsinghua University, Beijing 100084, China
Journal: National science review, volume 13, issue 15, article nwag420
Dates: received 27 April 2026; accepted 2 July 2026; published online 11 July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1093/nsr/nwag420 · PMID 42592399 · PMCID PMC13463643 · OpenAlex W7168051293
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: systems (subfield)
Methods: Machine learning, Single-unit activity, calcium imaging
Keywords: functionomics, subspace clustering, cortical dynamics
Topic: Single-cell and spatial transcriptomics (Molecular Biology, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Funding: National Natural Science Foundation of China (32400938, 62222508, 62525506, 62088102); Natural Science Foundation of Beijing Municipality (JR25021, Z240011)
Citations: not cited yet (Europe PMC); 77 references in the paper

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

License: Apache-2.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: fd924f8590d13a3832387f538c0741fd21b205b2, 18 January 2026
Languages: MATLAB (19)
Size: 25 files, 19 scripts
Software Heritage: not archived
Found in: “DATA AVAILABILITY”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
21 files
At the source: github.com/Cai-yy/FRID

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://github.com/Cai-yy/FRID. Simulation datasets and GUI codes are all available at GitHub. The calcium dataset is available from the corresponding authors.

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://doi.org/10.1093/nsr/nwag420

BibTeX

@article{cai2026constructing,
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/nsr/nwag420},
url = {https://doi.org/10.1093/nsr/nwag420},
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/07/11
VL - 13
IS - 15
SP - nwag420
SN - 2095-5138
PB - Oxford University Press
DO - 10.1093/nsr/nwag420
UR - https://doi.org/10.1093/nsr/nwag420
LA - en
ER -

CSL-JSON

{
"id": "10.1093/nsr/nwag420",
"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": "Natl Sci Rev",
"volume": "13",
"issue": "15",
"page": "nwag420",
"DOI": "10.1093/nsr/nwag420",
"PMID": "42592399",
"PMCID": "PMC13463643",
"ISSN": "2095-5138",
"publisher": "Oxford University Press",
"URL": "https://doi.org/10.1093/nsr/nwag420",
"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 communications
In 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: Neuron
In 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 science
In 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 methods
In 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: Nature
In 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 advances
In 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 reports
In 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 communications
In 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: eLife
In 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 neuroscience
In 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.

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.