linear-structure-function-coupling

Predict functional connectivity from structural connectivity using a Ridge-based linear generative framework.

2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/hiyenwong/ai_collection --skill linear-structure-function-coupling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linear-structure-function-coupling
Source: https://github.com/hiyenwong/ai_collection/tree/main/collection/skills/linear-structure-function-coupling
Command: npx skills add https://github.com/hiyenwong/ai_collection --skill linear-structure-function-coupling

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool provides a linear generative framework to model how structural connectivity shapes functional connectivity in the brain, enabling interpretable SC-FC coupling analysis and virtual perturbations.

Core Features & Use Cases

  • Linear Generative Model: Predict FC from SC using motif-based transformations (direct, indirect, triadic) with a ridge-regularized fit.
  • Hub Classification & Virtual Lesions: Identify integrator and mediator hubs and simulate cascades to study disruption effects.
  • End-to-End Workflow: From SC/FC extraction, to fitting, prediction, evaluation, and exploratory analyses with Python implementations.

Quick Start

Provide SC and FC matrices and run model.fit(SC, FC) to train the predictor, then use model.predict(SC) to obtain FC predictions.

Frequently Asked Questions about linear-structure-function-coupling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I predict functional brain connectivity from structural connectivity matrices?

A linear generative model predicts functional connectivity from structural connectivity using motif-based transformations. It applies direct, indirect, and triadic motifs with a ridge-regularized fit to model how structural connections shape functional networks.

What is structure-function coupling and how do brain network motifs affect it?

Structure-function coupling analyzes how structural connectivity shapes functional connectivity across brain networks. Network motifs like direct, indirect, and triadic patterns act as transformation mechanisms within a linear model to map structural pathways into functional interactions.

How do I classify brain network hubs and simulate virtual lesion impacts?

You classify integrator and mediator hubs from SC-FC data, then simulate virtual lesions to study disruption cascades. The framework applies virtual perturbation analyses to evaluate structural damage effects on functional connectivity predictions.

Can I use ridge regression to model SC-FC coupling across brain networks?

Yes, ridge regression serves as the core approach for fitting the linear SC-FC coupling model. This ridge-regularized method processes structural connectivity inputs to generate and evaluate functional connectivity predictions across brain networks.

What format do structural and functional connectivity matrices need to be for SC-FC prediction?

The model requires structural and functional connectivity matrices as direct input arrays. You provide SC and FC matrices to execute the fitting and prediction workflow, delivering model evaluation and hub classification insights.