getSameCommunityPro​bability(W,nRep)

Probability that 2 nodes belong to the same network community
44.0 次下载
更新时间 2017/5/17

查看许可证

P = getSameCommunityProbability(W,nRep)

Given an undirected (weighted or binary) connection matrix
with positive and negative weights, the algorithm computes
the community structure nRep times and for each area pair,
computes the a posteriori probability that the 2 areas belong
to the same community. In fact, the community detection algorithm
makes use of heuristics, thus community partition may vary. For this
reason, it is suggested to use nRep > 50

Note: This code builds upon the function 'modularity_louvain_und_sign'
(using the Gómez, Jensen & Arena method implemented in the function),
which is part of the Brain Connectivity Toolbox
(https://sites.google.com/site/bctnet/).


INPUT

W : undirected (weighted or binary) connection matrix
with positive and negative weights

nRep : num. of repetitions of the community detection
algorithm


OUTPUT

P : Probability Matrix (probability that area i & j
were assigned to the same community)



--------------------------------------------------------------------------------------------------------------

- Bettinardi, R. G., Tort-Colet, N., Ruiz-Mejias, M., Sanchez-Vives, M. V., & Deco, G. (2015).
“Gradual emergence of spontaneous correlated brain activity during fading of general anesthesia in rats:
Evidences from fMRI and local field potentials.” Neuroimage, 114, 185-198.
DOI: https://doi.org/10.1016/j.neuroimage.2015.03.037

--------------------------------------------------------------------------------------------------------------

引用格式

Ruggero G. Bettinardi (2024). getSameCommunityProbability(W,nRep) (https://www.mathworks.com/matlabcentral/fileexchange/62996-getsamecommunityprobability-w-nrep), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Multimodal 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0