Comparing effective and functional connectivity.
The 4 matches
- [1] § Methods › Simulation of a large-scale network of neurons ↔ PNASnexus2024/MATSimulation/C1_CoNNECT_cupy_202304261000.py, lines 36–83 · score 0.70 · standard deviation, inhibitory neurons, membrane, component, background, simulation
- [2] § Results › Excitatory-inhibitory dominance of ECs ↔ PNASnexus2024/ShinGLMCC/main_modelcomparison.py, lines 188–270 · score 0.61 · Putative excitatory, Excitatory inhibitory, excitatory connections, inhibitory connections, dominance, neurons
- [3] § Methods › Simulation of a large-scale network of neurons ↔ PNASnexus2024/PoissonSimulation/PoissonSimulation_forFig2_cython.py, lines 146–189 · score 0.60 · Ornstein Uhlenbeck process, noise, simulation, delta, spike
- [4] § Results › Excitatory-inhibitory dominance of ECs ↔ PNASnexus2024/ShinGLMCC/main_modelcomparison.py, lines 188–270 · score 0.58 · Putatively inhibitory, excitatory connections, inhibitory connections, dominance, neuron
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
Python · 274 lines · 12 KB · GPL-3.0 · 2 matches
- """
- ##############################################################################
- main_modelcomparison.py
- by Yasuhiro Tsubo ([email hidden])
- modified ver. 2023.10.28
- ##############################################################################
- """
- ## ===================================================================
- ## External modules
- ## ===================================================================
- import os
- import sys
- import pickle
- import pandas as pd
- import ShinGLMCC.CJudge
- ## ===================================================================
- ## Parameters
- ## ===================================================================
- ## DATAID: Name of target dataset
- DATAID = sys.argv[1]
- ## CONNECTION_THRESHOLD: The significance level
- ## for determining the presence or absence of a connection
- CONNECTION_THRESHOLD = 0.0001
- ## ===================================================================
- ## Functions
- ## ===================================================================
- if __name__ == "__main__":
- #"""
- ## ---------------------------------------------------------
- ## Call CJudge.ClassicalCC() (3 sec)
- ## Check for significant differences in histogram bin values.
- ## Calculate the p-value for ClassicalCC method.
- ## [input]
- ## (DATAID)_cor_K.pkl: dfccK cross-correlation with resolution 1ms
- ## [output]
- ## (DATAID)_Classical_best.csv: dfbsc
- ## .........................................................
- ## +dfccK: (Pandas DataFrame)
- ## {
- ## * -WINHALF_MS to WINHALF_MS: (float)
- ## Correlation histogram values
- ## at Time lags -WINHALF_MS to WINHALF_MS.
- ## *"ref": (int) Reference Neuron ID.
- ## *"tar": (int) Target Neuron ID.
- ## }
- ## Rows: N(N-1), all neuron pairs, auto-indexed.
- ## (N= Total number of neurons.)
- ## .........................................................
- ## +dfbsc: (Pandas DataFrame)
- ## {
- ## *"ref": (int) Reference Neuron ID.
- ## *"tar": (int) Target Neuron ID.
- ## *"maxcc": (int) Maximum value of cross-correlation histogram.
- ## *"mincc": (int) Minimum value of cross-correlation histogram.
- ## *"avecc": (float) Average value of cross-correlation histogram.
- ## *"Ze": (float) (maxcc-avecc)/sqrt(avecc) Z-score.
- ## *"Zi": (float) (mincc-avecc)/sqrt(avecc) Z-score.
- ## *"alphae": (float) P-value for the presence of putative connection
- ## by Ze (Excitatory).
- ## *"alphai": (float) P-value for the presence of putative connection
- ## by Zi (Inhibitory).
- ## *"upcc": Upper cross-correlation value
- ## when "alphae"="CONNECTION_THRESHOLD"
- ## *"lowcc": Lower cross-correlation value
- ## when "alphai"="CONNECTION_THRESHOLD"
- ## *"ext": (int) Putative excitatory connection indicator.
- ## *"inh": (int) Putative inhibitory connection indicator.
- ## (1 if significant, 0 otherwise)
- ## }
- ## Rows: N(N-1), auto-indexed. (N: Total number of neurons.)
- ## rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
- with open(DATAID+"_cor_K.pkl","rb") as f:
- dfccK = pickle.load(f)
- ## rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
- print("call CJudge.ClassicalCC ...")
- dfbsc = ShinGLMCC.CJudge.classicalCC(dfccK,CONNECTION_THRESHOLD)
- print("done")
- ## wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
- dfbsc.to_csv(DATAID+"_Classical_best.csv",index=None)
- ## wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
- ## ---------------------------------------------------------
- #"""
- #"""
- ## ---------------------------------------------------------
- ## Call CJudge.Grouping() (2 sec)
- ## Group by the presence or absence of connections
- ## estimated by the three estimation methods.
- ## [input]
- ## (DATAID)_Classical_best.csv: dfbsc
- ## (DATAID)_GLM_best.csv: dfbsg
- ## (DATAID)_Shin_best.csv: dfbss
- ## [output]
- ## (DATAID)_group.csv: dfgrp
- ## .........................................................
- ## +dfbsc: (Pandas DataFrame)
- ## {
- ## *"ref": (int) Reference Neuron ID.
- ## *"tar": (int) Target Neuron ID.
- ## *"maxcc": (int) Maximum value of cross-correlation histogram.
- ## *"mincc": (int) Minimum value of cross-correlation histogram.
- ## *"avecc": (float) Average value of cross-correlation histogram.
- ## *"Ze": (float) (maxcc-avecc)/sqrt(avecc) Z-score.
- ## *"Zi": (float) (mincc-avecc)/sqrt(avecc) Z-score.
- ## *"alphae": (float) P-value for the presence of putative connection
- ## by Ze (Excitatory).
- ## *"alphai": (float) P-value for the presence of putative connection
- ## by Zi (Inhibitory).
- ## *"upcc": Upper cross-correlation value
- ## when "alphae"="CONNECTION_THRESHOLD"
- ## *"lowcc": Lower cross-correlation value
- ## when "alphai"="CONNECTION_THRESHOLD"
- ## *"ext": (int) Putative excitatory connection indicator.
- ## *"inh": (int) Putative inhibitory connection indicator.
- ## (1 if significant, 0 otherwise)
- ## }
- ## Rows: N(N-1), auto-indexed. (N: Total number of neurons.)
- ## .........................................................
- ## +dfbs[g/s]: (Pandas DataFrame)
- ## {
- ## * 0 to WINHALF_MS: (float) Optimised values of parameter a(t)
- ## at Time lags 0 to WINHALF_MS.
- ## !! Note that only the right-half data was extracted.
- ## *"ref": (int) Reference Neuron ID.
- ## *"tar": (int) Target Neuron ID.
- ## *"J": (float) Optimised values of parameter JR
- ## (Synapric weight for the right side.)
- ## *"logpost": (float) Log-posterior across all ranges
- ## with the estimated parameters.
- ## *"loglike": (float) Log-likelihood for right-half side data.
- ## *"delay": (int) Delay parameter of synaptic function. [ms]
- ## *"tau": (int) Decay time constant of synaptic function. [ms]
- ## *"alpha": (float) P-value for the presence of putative connection.
- ## *"ext": (int) Putative excitatory connection indicator.
- ## *"inh": (int) Putative inhibitory connection indicator.
- ## (1 if significant, 0 otherwise)
- ## }
- ## Rows: N(N-1), all neuron pairs, auto-indexed.
- ## (N= Total number of neurons.)
- ## .........................................................
- ## +dfgrp: (Pandas DataFrame)
- ## {
- ## *"ref": (int) Reference Neuron ID.
- ## *"tar": (int) Target Neuron ID.
- ## *"group": (str) Connection codes
- ## ("N"= none, "C"= Classical, "G"= GLMCC, "S"= ShinGLMCC,
- ## e.g., "CG" indicates connections estimated
- ## by Clasical & GLM only.)
- ## *"Classical", "GLM", "Shin": (int)
- ## Connectivity status by respective methods
- ## (1 for detected, 0 for not detected)
- ## *"ext-[c/g/s]", "inh-[c/g/s]": (int)
- ## Putative excitatory ("ext") or inhibitory ("inh")
- ## connection indicator per method.
- ## ([c] Classical, [c] GLMCC, [s] ShinGLMCC)
- ## (1 if significant, 0 otherwise)
- ## }
- ## Rows: N(N-1), all neuron pairs, auto-indexed.
- ## (N= Total number of neurons.)
- ## rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
- dfbsc = pd.read_csv(DATAID+"_Classical_best.csv")
- dfbsg = pd.read_csv(DATAID+"_GLM_best.csv")
- dfbss = pd.read_csv(DATAID+"_Shin_best.csv")
- ## rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
- print("call CJudge.Grouping ...")
- dfgrp = ShinGLMCC.CJudge.Grouping(dfbsc,dfbsg,dfbss)
- print("done")
- ## wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
- dfgrp.to_csv(DATAID+"_group.csv",index=None)
- ## wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
- ## ---------------------------------------------------------
- #"""
- #"""
- ## ---------------------------------------------------------
- ## Call CJudge.EIdominance()
- ## Compute the excitatory Inhibitory dominance.
- ## [input]
- ## (DATAID)_group.csv: dfgrp
- ## [output]
- ## (DATAID)_EId_Classical.csv: dfeic
- ## (DATAID)_EId_GLM.csv: dfeig
- ## (DATAID)_EId_Shin.csv: dfeis
- ## (DATAID)_EId.csv: dfeid
- ## (DATAID)_grpnum.csv: dfgpn
- ## .........................................................
- ## +dfgrp: (Pandas DataFrame)
- ## {
- ## *"ref": (int) Reference Neuron ID.
- ## *"tar": (int) Target Neuron ID.
- ## *"group": (str) Connection codes
- ## ("N"= none, "C"= Classical, "G"= GLMCC, "S"= ShinGLMCC,
- ## e.g., "CG" indicates connections estimated
- ## by Clasical & GLM only.)
- ## *"Classical", "GLM", "Shin": (int)
- ## Connectivity status by respective methods
- ## (1 for detected, 0 for not detected)
- ## *"ext-[c/g/s]", "inh-[c/g/s]": (int)
- ## Putative excitatory ("ext") or inhibitory ("inh")
- ## connection indicator per method.
- ## ([c] Classical, [c] GLMCC, [s] ShinGLMCC)
- ## (1 if significant, 0 otherwise)
- ## }
- ## Rows: N(N-1), all neuron pairs, auto-indexed.
- ## (N= Total number of neurons.)
- ## .........................................................
- ## +dfei[c/g/s]: (Pandas DataFrame)
- ## {
- ## *"ref": (int) Reference Neuron ID.
- ## *"c": Number of putative connection.
- ## *"e": Number of putative excitatory connection.
- ## *"i": Number of putative inhibitory connection.
- ## *"dom": Excitatory Inhibitory dominance.
- ## (dom= (e+i)/(e+i) )
- ## }
- ## Rows: Number of neurons with non-zero putative connections.
- ## .........................................................
- ## +dfeid: (Pandas DataFrame)
- ## {
- ## *"average absolute values": (float)
- ## Average absolute value of "Excitatory Inhibitory dominance".
- ## *"expressing perfect consistency": (float)
- ## Proportion of "Excitatory Inhibitory dominance"
- ## equaling exactly -1 or +1.
- ## }
- ## Rows: "Classical","GLM","Shin"
- ## .........................................................
- ## +dfgpn: (Pandas DataFrame)
- ## {
- ## *"num": (int)
- ## Number of neurons assigned to each "Connection code".
- ## }
- ## Rows: Connection codes ("C","CG","CGS","CS","G","GS","N","S")
- ## rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
- dfgrp = pd.read_csv(DATAID+"_group.csv")
- ## rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
- print("call CJudge.EIdominance ...")
- dfeid,dfgpn,dfeic,dfeig,dfeis = ShinGLMCC.CJudge.EIdominance(DATAID,dfgrp)
- print("done")
- ## wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
- dfeic.to_csv(DATAID+"_EId_Classical.csv",index=None)
- dfeig.to_csv(DATAID+"_EId_GLM.csv",index=None)
- dfeis.to_csv(DATAID+"_EId_Shin.csv",index=None)
- dfeid.to_csv(DATAID+"_EId.csv")
- dfgpn.to_csv(DATAID+"_grpnum.csv")
- ## wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
- ## ---------------------------------------------------------
- #"""
main_modelcomparison.py at commit 411e4da, under GPL-3.0 · at the source
Overview
- Graduate School of Biostudies, Kyoto University, 606-8501 Kyoto, Japan
- Research Organization of Open Innovation and Collaboration, Ritsumeikan University, 567-8570 Osaka, Japan
- College of Information Science and Engineering, Ritsumeikan University, 567-8570 Osaka, Japan
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 4 matches between paragraphs and lines of code.
yasuhirotsubo/neuroscience
411e4da0262ba6d2604724ef76e15dd9aff08fb5, 28 August 2024Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
25 files
- PNASnexus2024/
MATSimulation/ , Python, 315 lines, 1 matchC1_CoNNECT_cupy_20230426 1000.py - PNASnexus2024/
PoissonSimulation/ , Shell, 11 linesPoissonSimulation_Main.s h - PNASnexus2024/
PoissonSimulation/ , Python, 190 lines, 1 matchPoissonSimulation_forFig 2_cython.py - PNASnexus2024/
PoissonSimulation/ , Python, 8 linessetup.py - PNASnexus2024/
ShinGLMCC/ , Python, 123 linesMATsimulationMCC.py - PNASnexus2024/
ShinGLMCC/ , Python, 100 linesPoissonsimulation.py - PNASnexus2024/
ShinGLMCC/ , Python, 212 linesShinGLMCC/ Allneuron.py - PNASnexus2024/
ShinGLMCC/ , Python, 325 linesShinGLMCC/ CJudge.py - PNASnexus2024/
ShinGLMCC/ , Python, 223 linesShinGLMCC/ Correlation.py - PNASnexus2024/
ShinGLMCC/ , Python, 1,082 linesShinGLMCC/ ShinGLMCC.py - PNASnexus2024/
ShinGLMCC/ , Python, 134 linesdithering.py - PNASnexus2024/
ShinGLMCC/ , Python, 335 linesmain_ShinGLMCC.py - PNASnexus2024/
ShinGLMCC/ , Python, 148 linesmain_correlation.py - PNASnexus2024/
ShinGLMCC/ , Python, 274 lines, 2 matchesmain_modelcomparison.py - PNASnexus2024/
ShinGLMCC/ , Python, 841 linesmake_figures.py - PNASnexus2024/
ShinGLMCC/ , Python, 164 linesneuralresponse.py - PNASnexus2024/
Supp/ , Python, 1,087 linesShinGLMCC/ ShinGLMCC2.py - PNASnexus2024/
Supp/ , Python, 211 linessup_ShinGLMCC.py - ShinGLMCC/
Convert_csv2dic.py , Python, 53 lines - ShinGLMCC/
Convert_neuropix2dic.py , Python, 106 lines - ShinGLMCC/
ShinGLMCC/ , Python, 177 linesCorrelation.py - ShinGLMCC/
ShinGLMCC/ , Python, 1,103 linesShinGLMCC.py - ShinGLMCC/
ShinGLMCC_fig.py , Python, 70 lines - ShinGLMCC/
ShinGLMCC_main.py , Python, 126 lines - LICENSE, License, 674 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:
- it points to the authors' code: yasuhirotsubo/
neuroscience - it says that the code is available on request
Read it in the paper: doi.org/10.1038/s41598-026-42580-2.
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;
- 24 scripts, each with its path and the digest of its content;
- 4 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 paper has a 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 says that the data are available on request
Read it in the paper: doi.org/10.1038/s41598-026-42580-2.
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, 2 authors, 2 keywords, 7 MeSH terms, 1 funder, 50 references.
Cite
This paper
Shinomoto, S., & Tsubo, Y. (2026). Comparing effective and functional connectivity. Scientific reports, 16(1), 12161. https://
BibTeX
@article{shinomoto2026co
author = {Shinomoto, Shigeru and Tsubo, Yasuhiro},
title = {{Comparing effective and functional connectivity}},
journal = {Scientific reports},
year = {2026},
month = mar,
volume = {16},
number = {1},
pages = {12161},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/
url = {https://
pmid = {41787015},
pmcid = {PMC13076884}
}
RIS
TY - JOUR
AU - Shinomoto, Shigeru
AU - Tsubo, Yasuhiro
TI - Comparing effective and functional connectivity
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/
VL - 16
IS - 1
SP - 12161
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Comparing effective and functional connectivity",
"container-title": "Scientific reports",
"author": [
{
"family": "Shinomoto",
"given": "Shigeru"
},
{
"family": "Tsubo",
"given": "Yasuhiro"
}
],
"container-title-short":
"volume": "16",
"issue": "1",
"page": "12161",
"DOI": "10.1038/
"PMID": "41787015",
"PMCID": "PMC13076884",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
5
]
]
}
}
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.1371/journal.pcbi.1014615 [code]
- Toward reliable machine learning models for neural circuit inference: A diagnostic study of CNNs on spike trains.Journal: PLoS computational biologyIn common: pandas, SciPy, Matplotlib, 1 other tool, 9 references
- [2] doi:10.1038/s41467-026-71331-0 [code]
- A multimodal approach for visualizing and identifying electrophysiological cell types in vivo.Journal: Nature communicationsIn common: pandas, SciPy, Matplotlib, 1 other tool, 4 references
- [3] doi:10.1080/26941899.2026.2619222
- Neurodatascience: Past, Present, and Future.Journal: Data science in scienceIn common: 5 references
- [4] doi:10.1038/s41592-026-03076-z [code]
- Neuropixels Opto: combining high-resolution electrophysiology and optogenetics.Journal: Nature methodsIn common: pandas, SciPy, Matplotlib, 1 other tool, systems, 3 references
- [5] doi:10.1038/s41593-026-02232-0 [code]
- Entorhinal cortex represents task-relevant remote locations independently of CA1.Journal: Nature neuroscienceIn common: pandas, SciPy, Matplotlib, 1 other tool, systems, 3 references
- [6] doi:10.1162/netn.a.570 [code]
- Higher-order statistics for constructing centered edge functional connectivity.Journal: Network neuroscience (Cambridge, Mass.)In common: pandas, SciPy, Matplotlib, 1 other tool, fMRI, systems, 2 references
- [7] doi:10.1016/j.neuron.2026.03.034 [code]
- Dentate gyrus interneurons modulate winner-take-all network dynamics in freely behaving mice.Journal: NeuronIn common: pandas, SciPy, Matplotlib, 1 other tool, systems, 2 references
- [8] doi:10.1038/s41593-026-02388-9 [code]
- Hippocampal CA3 connectomics reveals a gradient of mossy fiber inputs and selective feedforward inhibition onto pyramidal cells.Journal: Nature neuroscienceIn common: pandas, SciPy, Matplotlib, 1 other tool, systems, 2 references
- [9] doi:10.1038/s41592-026-03154-2 [code]
- Simultaneous single-cell calcium imaging of neuronal population activity and brain-wide BOLD fMRI.Journal: Nature methodsIn common: pandas, SciPy, Matplotlib, 1 other tool, fMRI, 2 references
- [10] doi:10.1016/j.celrep.2026.117646 [code]
- Medial entorhinal-hippocampal desynchronization parallels the emergence of memory impairment in a mouse model of Alzheimer's disease pathology.Journal: Cell reportsIn common: pandas, SciPy, Matplotlib, 1 other tool, systems, 2 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, 24 scripts, and 4 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:5c712bce6f5ae57d…
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.
