Expand description
Load a pre-trained per-gene embedding (and optional per-gene bias) from parquet and strictly intersect its row axis against a caller’s target feature axis.
Used by senna gbe / topic / cell-embedded-topic to freeze the
gene-side parameter table (E_feat in gbe, ρ in the ETM topic models)
so cells train on a shared, pre-fit gene-relation space.
Source formats supported via FrozenLoadArgs:
- gbe:
{prefix}.dictionary.parquet+{prefix}.feature_bias.parquet(gene × H plus gene × 1 bias). - topic / cell-embedded-topic:
{prefix}.feature_embedding.parquetalone — bias defaults to zeros, which is what the topic models use internally (no per-gene additive bias on ρ).
Name resolution goes through FeatureNameKind so TGFB1 and
ENSG00000105329_TGFB1 resolve to the same row.
Structs§
- Frozen
Feature Host - Loaded + aligned frozen feature side ready to hand off to a candle
engine (
graph-embedding-utilor one of the topic-model encoders). - Frozen
Load Args
Functions§
Type Aliases§
- Source
Name Map - A rename of source row names, see
FrozenLoadArgs::source_name_map.