Free SKILL.md scraped from GitHub. Clone the repo or copy the file directly into your Claude Code skills directory.
npx versuz@latest install hiyenwong-ai-collection-collection-skills-brain-network-lesions-robustnessgit clone https://github.com/hiyenwong/ai_collection.gitcp ai_collection/SKILL.MD ~/.claude/skills/hiyenwong-ai-collection-collection-skills-brain-network-lesions-robustness/SKILL.md---
name: brain-network-lesions-robustness
arxiv_id: 0704.0392v1
utility: 0.88
tags: '[brain network, robustness, lesions, scale-free, hub nodes, cortical connectivity, network analysis]'
created: 2026-03-31
description: "Brain Network Lesions Robustness"
---
# Brain Network Lesions Robustness
## Activation Keywords
- 脑网络鲁棒性
- 病灶损伤仿真
- scale-free network
- hub nodes
- cortical connectivity
- 网络结构衰减
- 脑损伤恢复
## Problem Statement
理解脑网络的结构特性与功能关系:
- 脑网络如何抵抗损伤?
- 哪些节点/连接对系统鲁棒性至关重要?
- 不同网络拓扑(small-world, scale-free, random)的鲁棒性差异?
## Method Overview
Kaiser et al. (2007) 通过网络分析方法研究脑网络鲁棒性:
1. 比较猫和猕猴皮层网络与基准网络
2. 节点/边删除仿真
3. 结构衰减分析
4. Hub 节点和瓶颈连接识别
## Tools Used
- `Analysis` - Analysis component
- `Node removal` - Analysis component
- `Edge removal` - Analysis component
- `Network comparison` - Analysis component
- `Structural decay` - Analysis component
## Key Findings
| Network Type | Robustness | Failure Mode |
|--------------|------------|--------------|
| Scale-free | High to random, low to targeted | Hub failure |
| Random | Moderate | Gradual decay |
| Small-world | High | Clustering preserved |
| Brain (cat/macaque) | Scale-free-like | Hub vulnerability |
## Step-by-Step Instructions
### 脑网络鲁棒性仿真
1. **构建连接矩阵**
```python
import numpy as np
import networkx as nx
# 加载皮层连接矩阵
connectivity_matrix = load_connectivity('macaque_cortical.csv')
G = nx.from_numpy_array(connectivity_matrix)
```
2. **节点删除仿真**
```python
def simulate_node_removal(G, removal_strategy='degree'):
"""模拟节点删除对网络的影响"""
results = []
nodes = list(G.nodes())
if removal_strategy == 'degree':
# 按度数降序删除(靶向攻击)
nodes_sorted = sorted(nodes, key=lambda n: G.degree(n), reverse=True)
elif removal_strategy == 'random':
# 随机删除
np.random.shuffle(nodes_sorted)
for i, node in enumerate(nodes_sorted):
G.remove_node(node)
# 计算剩余网络的连通性
if nx.is_connected(G):
largest_cc = len(max(nx.connected_components(G), key=len))
else:
largest_cc = 0
results.append({
'removed_fraction': (i + 1) / len(nodes),
'largest_cc_fraction': largest_cc / len(nodes)
})
return results
```
3. **边删除仿真**
```python
def simulate_edge_removal(G, removal_strategy='betweenness'):
"""模拟边删除"""
results = []
edges = list(G.edges())
if removal_strategy == 'betweenness':
# 按介数中心性删除
edge_betweenness = nx.edge_betweenness_centrality(G)
edges_sorted = sorted(edges, key=lambda e: edge_betweenness.get(e, 0), reverse=True)
for i, edge in enumerate(edges_sorted):
G.remove_edge(*edge)
# 评估网络完整性
avg_path_length = nx.average_shortest_path_length(G) if nx.is_connected(G) else float('inf')
results.append({
'removed_fraction': (i + 1) / len(edges),
'avg_path_length': avg_path_length
})
return results
```
4. **Hub 节点识别**
```python
def identify_hubs(G, threshold=2.0):
"""识别 hub 节点"""
degrees = dict(G.degree())
mean_degree = np.mean(list(degrees.values()))
std_degree = np.std(list(degrees.values()))
hubs = [node for node, deg in degrees.items()
if deg > mean_degree + threshold * std_degree]
return hubs
```
## Example Usage
```python
from brain_network_robustness import NetworkRobustnessAnalysis
# 创建分析器
analyzer = NetworkRobustnessAnalysis(
connectivity_file='cat_cortical_connectivity.csv',
network_type='weighted'
)
# 运行节点删除仿真
results = analyzer.run_lesion_simulation(
removal_type='node',
strategy='targeted', # or 'random'
n_iterations=100
)
# 识别关键节点
critical_nodes = analyzer.identify_critical_nodes(top_k=5)
print(f"Top 5 hub nodes: {critical_nodes}")
# 比较与基准网络
comparison = analyzer.compare_with_benchmark(
benchmarks=['scale-free', 'random', 'small-world']
)
```
## Clinical Implications
| Finding | Clinical Relevance |
|---------|-------------------|
| Hub vulnerability | Stroke damage prediction |
| Bottleneck connections | Surgical planning |
| Scale-free robustness | Network recovery potential |
## Description
Brain Network Lesions Robustness
**Key Concepts:**
- 理解脑网络的结构特性与功能关系:
- 脑网络如何抵抗损伤?
- 哪些节点/连接对系统鲁棒性至关重要?
- 不同网络拓扑(small-world, scale-free, random)的鲁棒性差异?
## Instructions for Agents
Follow these steps when applying this skill:
### Step 1: 构建连接矩阵
### Step 2: 节点删除仿真
### Step 3: 边删除仿真
### Step 4: Hub 节点识别
### Step 5: Understand the Request
## Examples
### Example 1: Basic Application
**User:** I need to apply Brain Network Lesions Robustness to my analysis.
**Agent:** I'll help you apply brain-network-lesions-robustness. First, let me understand your specific use case...
**Context:** 理解脑网络的结构特性与功能关系:
- 脑网络如何抵抗损伤?
- 哪些节点/连接对系统鲁棒性至关重要?
- 不同网络拓扑(small-world, scale-f
### Example 2: Advanced Scenario
**User:** Complex analysis scenario
**Agent:** Based on the methodology, I'll guide you through the advanced application...
### Example 2: Advanced Application
**User:** What are the key considerations for brain-network-lesions-robustness?
**Agent:** Let me search for the latest research and best practices...
## References
- Kaiser, M. et al. (2007). Simulation of robustness against lesions of cortical networks. European Journal of Neuroscience, 25:3185-3192. arXiv:0704.0392.
## Related Skills
- brain-network-controllability
- reverse-engineering-brain-control-nodes
- seizure-suppression-hub-stimulation