Notebook Gallery
This section collects runnable AnnNet notebooks with rendered outputs. To recreate them, use the linked GitHub environment file for the notebook family.
Base HowTos use the HowTo environment. Scenario notebooks each link a narrower environment for the external packages they demonstrate. Use-case notebooks are coming soon.
HowTos
Small, self-contained notebooks that show AnnNet APIs directly, including focused special-topic notebooks.
-
Quickstart
Build a directed graph, inspect it, and round-trip it through
.annnet. -
Attributes and views
Attach metadata to vertices and edges, then inspect dataframe-like views.
-
Tables and storage
Build from tables and compare CSV, Excel, native, Parquet, JSON, and NDJSON.
-
Slices and subgraphs
Manage context-specific graph state and materialize smaller graphs.
-
Hyperedges and traversal
Represent complexes/reactions and traverse local neighborhoods.
-
Directed hyperedges and stoichiometry
Work directly with directed hyperedges, incidence coefficients, and reaction-style semantics.
-
Multilayer
Work with layers, coupling edges, layer-derived slices, and supra matrices.
-
Multilayer math
Inspect supra-adjacency, Laplacians, diffusion, coupling sweeps, and tensor views.
-
History and reproducibility
Record mutations, create snapshots, diff graph states, and export history.
-
Backend accessors
Inspect optional components and dispatch to installed graph backends.
-
Flexible edge orientation
Compare edge-scope and vertex-scope orientation policies on mixed graphs.
Use Cases
Larger applied notebooks that combine AnnNet with external biological data, optimization, and graph learning workflows.
-
Multi-condition causal signaling
Build patient layers from CPTAC/OmniPath data and write inferred causal subnetworks back into AnnNet.
Coming soon.
-
HEK293 heterogeneous biology graph
Combine signaling, metabolic, complex, regulatory, organelle, and graph-learning workflows in one AnnNet object.
Coming soon.
Scenarios
Short ecosystem bridges. They use tiny deterministic data and keep external dependencies in scenario-specific environment files.
-
OmniPath table ingestion
Load an OmniPath-style interaction table as prior knowledge without a network call.
-
Cytoscape CX2 export
Export annotated and hyperedge graphs with explicit CX2 projection modes.
-
PyG HeteroData export
Prepare typed graph data and numeric features for PyTorch Geometric.
-
Causal activity bridge
Store activity scores and causal solution edges from decoupler/CORNETO-style workflows.