Configuration Reference
IsoGraph uses dataclass-based typed configuration models in
isograph.workflow.config.
Command Configs
BenchmarkCommandConfigControls suite generation, backend selection, report locations, real-data freeze settings, and backend-specific config blocks. The default backend is"vae".FitCommandConfigControls baseline fitting for a prepared dataset bundle.CompareCommandConfigControls report or snapshot comparison output paths.
Backend Configs
BaselineModelConfigSparse partial-correlation baseline with residualization and trait-association defaults.LatentModelConfigFactor Analysis denoising plus partial-correlation inference. Supports cross-validated or fixed component count selection.GraphModelConfigLatent model extended with graph-Laplacian smoothing.VaeModelConfigVariational autoencoder backend with early stopping, latent-dimension controls, and optional checkpoint output. See thehidden_dimdocstring for gene-count guidance.WgcnaModelConfigWGCNA backend wrapping R’sblockwiseModules. Configures soft-thresholding power, minimum module size, merge cut height, network type, and subprocess timeout.
Real-Data and Stability Configs
RealDataFreezeConfigPoints at the BrainSeq-style count and annotation tables used byfreeze-real.StabilitySelectionConfigControls alpha-grid search for real-data edge stability.
Default Config Files
The repository ships with these YAML entry points:
File |
Suite |
Backend |
|---|---|---|
|
|
|
|
— |
baseline |
|
— |
— |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use them as stable entry points and supply Hydra overrides after |
Multiplex-Specific Fields
VAE, graph, and latent configs can enable multiplex edge policies with:
allow_abundance_abundance— include abundance-abundance edges instead of requiring abundance-only genes to connect through switch-active genes.alpha_switch— threshold for switch-switch feature edges.alpha_abundance— fixed threshold for abundance-abundance feature edges.alpha_abundance_grid— optional grid used to select the smallest abundance threshold that avoids merging baseline switch modules.
For very large multiplex fixtures, prefer a fixed alpha_abundance because grid
selection repeats the O(feature²) graph projection for each candidate threshold.
Per-Fixture Overrides
All backends support per-fixture config overrides in BenchmarkCommandConfig:
fixture_model_overrides— baselinefixture_latent_overrides— latentfixture_graph_overrides— graphfixture_vae_overrides— vaefixture_wgcna_overrides— wgcna
Values are partial field dicts merged with dataclasses.replace before the fit.