agentsclimarketplace

Network graph pca overlay

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/network-graph-pca-overlay

Use when you have a sparse network graph generated by GLASSO and corresponding PCA scores from the same system, and you need to identify which regions or clusters of the network exhibit strong low-dimensional structure.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill network-graph-pca-overlay

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

6.0 KB, 914 tokens by cl100k_base, as published. Nobody here has run it

Reconstruct the PCA-score overlay on the GLASSO graph to flag significant sub-networks

License: restricted — no clear open-source license detected for the underlying tool; verify licensing before commercial use or redistribution. <!-- asb-license-banner -->

Summary

This skill overlays Principal Component Analysis (PCA) scores onto Graphical LASSO (GLASSO)-generated network graphs to visually identify and annotate significant sub-networks based on PCA score patterns and network topology. It bridges dimensionality reduction and sparse network inference to locate coherent, low-dimensional structures within high-dimensional systems.

When to use

Apply this skill when you have a sparse network graph generated by GLASSO and corresponding PCA scores from the same system, and you need to identify which regions or clusters of the network exhibit strong low-dimensional structure. Use it when community detection alone is insufficient and you want to prioritize sub-networks that align with dominant principal components.

When NOT to use

  • The input network is already fully connected or has trivial topology; GLASSO sparsity is essential for meaningful sub-network structure.
  • PCA scores are not available or are misaligned with network node ordering.
  • The goal is unsupervised clustering only—if you do not need dimensionality reduction context, use standard community detection.

Inputs

  • GLASSO-generated network graph (node-edge adjacency or edge list format)
  • PCA score matrix aligned to network nodes
  • Network topology (adjacency matrix or graph object)

Outputs

  • Annotated graph with PCA scores mapped to nodes
  • Sub-network assignments (node-to-cluster mapping)
  • Visualization of PCA-score-overlaid network with sub-network labels

How to apply

Load the GLASSO-generated network graph structure and the associated PCA score matrix from the prior dimensionality reduction step. Map PCA scores to individual network nodes, encoding the scores as node attributes or visual properties (e.g., node color, size, or label). Apply a significance threshold on PCA scores or run a community-detection algorithm to segment the network into sub-networks, using both PCA score patterns and network connectivity to define boundaries. Export the annotated graph with sub-network membership assignments and generate a visualization that clearly shows the PCA score overlay, making significant sub-networks visually distinct.

Related tools

  • pcaGLASSO (Python package for overlaying PCA scores onto GLASSO graphs and identifying significant sub-networks) — github.com/jlichtarge/pcaGLASSO

Evaluation signals

  • Verify that every node in the output graph has a PCA score attribute and a sub-network assignment.
  • Check that sub-network boundaries align with significant PCA score transitions (e.g., nodes with high positive PC1 scores are grouped separately from high negative PC1 nodes).
  • Confirm that the visualization is legible and visually distinguishes sub-networks by color, position, or clustering.
  • Validate that identified sub-networks show higher within-cluster PCA score homogeneity than between-cluster heterogeneity.
  • Ensure that the exported annotated graph can be re-imported and re-visualized without data loss.

Limitations

  • No changelog or versioning history documented in the README, limiting reproducibility tracking.
  • Method sensitivity to PCA dimensionality selection (number of components to retain) and significance thresholds is not quantified.
  • Performance and scalability on very large networks (> 10k nodes) are not documented.
  • Community detection algorithm choice and its interaction with PCA score overlay are not explicitly discussed.

Evidence

  • [readme] Graphs generated by GLASSO are overlaid with PCA scores to identify significant sub-networks: "Graphs generated by GLASSO are overlaid with PCA scores to identify significant sub-networks"
  • [other] Map PCA scores to network nodes and overlay the scores as node attributes or visual properties onto the graph structure. Apply a significance threshold or community-detection algorithm to identify and label sub-networks based on PCA score patterns and network topology.: "Map PCA scores to network nodes and overlay the scores as node attributes or visual properties onto the graph structure. Apply a significance threshold or community-detection algorithm to identify"
  • [other] Load the GLASSO-generated network graph and associated PCA scores from the prior step.: "Load the GLASSO-generated network graph and associated PCA scores from the prior step."
  • [other] Export the annotated graph with sub-network assignments and produce a visualization showing the overlay.: "Export the annotated graph with sub-network assignments and produce a visualization showing the overlay."

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.