torchcell.models.dcell.DCell
- class DCell(hetero_data: HeteroData, min_subsystem_size: int = 20, subsystem_ratio: float = 0.3, output_size: int = 1)[source]
Bases:
ModuleDCell network mirroring the GO ontology as a hierarchy of subsystems.
- forward(cell_graph: HeteroData, batch: HeteroData) tuple[Tensor, dict[str, Any]][source]
Forward pass through DCell hierarchy.
- Parameters:
cell_graph – Cell graph (not used by DCell, included for compatibility with trainer)
batch – The batch data containing gene states and GO information