Use when after computing a Jacobian matrix from metabolomics covariance
Scanned 9/12/2026
Install to Claude Code
npx -y skills add HolobiomicsLab/asb-skill-collections --skill metabolite-network-topology-extraction --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Metabolite Network Topology Extraction?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/holobiomicslab-metabolite-network-topology-extraction)More formats (shields.io, HTML) on the badges page.
---
name: metabolite-network-topology-extraction
description: Use when after computing a Jacobian matrix from metabolomics covariance
data, when you need to identify and visualize the structure of metabolite interactions
(which metabolites regulate or influence which others) and their relative strengths.
license: CC-BY-4.0
metadata:
edam_operation: http://edamontology.org/operation_3441
edam_topics:
- http://edamontology.org/topic_0121
- http://edamontology.org/topic_3407
tools:
- R
- MInfer
- igraph
- tidygraph
license_tier: open
provenance_tier: literature
derived_from:
- doi: 10.1016/j.cmpb.2025.108672
title: MInfer
evidence_spans:
- MInfer is an R package
- MInfer is an R package designed for analyzing metabolomics data
claims: []
provenance:
collection: https://w3id.org/holobiomicslab/asb-skill/collection/metabolomics/v2
assembled_by: scripts/collect_metabolomics_collection.py
sources:
- build: coll_minfer_cq
doi: 10.1016/j.cmpb.2025.108672
title: MInfer
dedup_kept_from: coll_minfer_cq
schema_version: 0.2.0
attribution:
generator: AgenticScienceBuilder
original_doi: 10.1016/j.cmpb.2025.108672
all_source_dois:
- 10.1016/j.cmpb.2025.108672
zenodo_doi: 10.5281/zenodo.20794027
curators: []
promoter: Louis-Félix Nothias
sponsor: CNRS & Université Côte d'Azur
---
# Reconstruct the metabolite interaction network visualization from a Jacobian matrix
## Summary
Extract metabolite-to-metabolite interaction topology from a computed Jacobian matrix by identifying significant coefficients, constructing a directed network graph, and rendering it with edge weights to encode interaction strength and direction. This skill bridges mathematical representations of metabolomic dynamics to interpretable network visualizations.
## When to use
After computing a Jacobian matrix from metabolomics covariance data, when you need to identify and visualize the structure of metabolite interactions (which metabolites regulate or influence which others) and their relative strengths. Use this skill when transitioning from quantitative matrix analysis to network-level interpretation for pathway exploration or systems-level hypothesis generation.
## When NOT to use
- Input Jacobian matrix is all zeros or contains only negligible coefficients—there are no meaningful interactions to visualize.
- Metabolite identifiers do not match the rows and columns of the Jacobian matrix—topology extraction will fail or produce uninformative labels.
- Goal is univariate metabolite ranking or abundance changes, not network topology—use simpler statistical summaries instead.
## Inputs
- Jacobian matrix (numerical matrix output from calculate_jacobian())
- Metabolite ID list (KEGG identifiers corresponding to matrix rows/columns)
- Interaction network metadata (optional: metabolite names, functional annotations)
## Outputs
- Network graph object (igraph or tidygraph class)
- Visualization figure (PNG/PDF with labeled nodes, weighted edges, and layout)
- Edge list or adjacency representation with interaction weights and directions
## How to apply
Load the computed Jacobian matrix into R. Extract edge information by identifying non-zero or statistically significant coefficients in the matrix—these represent directed metabolite-to-metabolite interactions. Construct a network graph object (using igraph or tidygraph) with metabolites as nodes and Jacobian coefficients as directed, weighted edges. Apply a layout algorithm (e.g., force-directed) to position nodes in 2D space for visual clarity. Render the network with metabolite KEGG IDs as labels, encode edge weights or colors to represent interaction strength and direction (positive vs. negative), and save the result as a publication-quality figure (e.g., PNG or PDF). The rationale is that significant Jacobian coefficients represent the local linearized sensitivity of one metabolite's rate to perturbations in another, so their magnitude and sign encode regulatory relationships in the metabolic system.
## Related tools
- **MInfer** (R package that provides the calculate_jacobian() and visualization functions (visualize_heatmap, visualize_3d) for Jacobian computation and network rendering in the metabolomics workflow) — https://github.com/cellbiomaths/MInfer
- **igraph** (R graph library used to construct and manipulate the network graph object representing metabolites as nodes and Jacobian coefficients as directed edges)
- **tidygraph** (Alternative R graph library for network object construction and layout algorithms for 2D node positioning)
- **R** (Programming environment in which MInfer, igraph, and visualization functions are executed)
## Examples
```
jacobian_6C <- calculate_jacobian(cov_6C[[1]], interactions_fin, icount = 15); visualize_heatmap(jacobian_6C$J, title = "Jacobian Matrix - 6C")
```
## Evaluation signals
- Network graph object contains expected number of nodes (equal to number of metabolites) and edges (non-zero Jacobian coefficients).
- Metabolite labels on nodes match input KEGG IDs; no missing or misaligned identifiers.
- Edge weights are numerically consistent with Jacobian matrix coefficients; signs (positive/negative) are correctly represented in edge color or directionality.
- Rendered visualization displays distinct clusters or hub structures consistent with known metabolic pathways or the biological condition (e.g., 6C vs. 16C conditions in carbon-limited cultures).
- Figure is publication-ready with legible labels, clear edge weight encoding, and quantitative legends for interaction strength ranges.
## Limitations
- Jacobian matrices assume local linearity around the equilibrium point; true nonlinear metabolic interactions may be oversimplified.
- Visualization complexity grows rapidly with network size; metabolomes with >100 metabolites may produce cluttered, uninterpretable layouts unless subnetworks are extracted.
- Edge extraction threshold (which coefficients are 'significant' enough to include) is not formalized in the README; users must choose cutoff criteria, and results are sensitive to this choice.
- No changelog or versioning information is available in the repository, limiting reproducibility across package updates.
## Evidence
- [other] Extract edge information from the Jacobian matrix by identifying non-zero or significant coefficients that represent metabolite-to-metabolite interactions.: "Extract edge information from the Jacobian matrix by identifying non-zero or significant coefficients that represent metabolite-to-metabolite interactions."
- [other] Construct a network graph object representing metabolites as nodes and Jacobian coefficients as directed edges using an R graph library (e.g., igraph or tidygraph).: "Construct a network graph object representing metabolites as nodes and Jacobian coefficients as directed edges using an R graph library (e.g., igraph or tidygraph)."
- [other] Apply network layout algorithm to position nodes in 2D space for clarity.: "Apply network layout algorithm to position nodes in 2D space for clarity."
- [other] Render the network visualization with metabolite labels, edge weights or colors to encode interaction strength and direction, and save as a publication-quality figure.: "Render the network visualization with metabolite labels, edge weights or colors to encode interaction strength and direction, and save as a publication-quality figure."
- [intro] MInfer provides tools for data preparation, covariance matrix generation, Jacobian matrix computation, and visualization of metabolite interaction networks: "provides tools for data preparation, covariance matrix generation, Jacobian matrix computation, and visualization of metabolite interaction networks"
- [readme] Visualize the Jacobian matrices using a heatmap or 3D plot: "Visualize the Jacobian matrices using a heatmap or 3D plot"
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!