torchcell.datasets.scerevisiae.synth_leth_db.SynthRescueYeastSynthLethDbDataset
- class SynthRescueYeastSynthLethDbDataset(root: str = 'data/torchcell/syn_rescue_db_yeast', io_workers: int = 0, transform: Callable[[...], Any] | None = None, pre_transform: Callable[[...], Any] | None = None)[source]
Bases:
ExperimentDatasetYeast synthetic rescue gene-pair experiments from SynLethDB.
- organism: ClassVar[Organism] = 'scerevisiae'
each loader declares its own, the build’s organism switch reads it off the class (
dataset_organism), and a loader that forgot it is refused by name instead of inheriting an organism it may not have.- Type:
The host organism every record describes. Annotated here WITHOUT a value
- property experiment_class: type[SyntheticRescueExperiment]
Return the synthetic-rescue experiment schema class.
- property reference_class: type[SyntheticRescueExperimentReference]
Return the synthetic-rescue experiment-reference schema class.
- preprocess_raw(df: DataFrame, preprocess: dict[str, Any] | None = None) DataFrame[source]
Return the released rows unchanged; nothing is resolved (#1045).
- static create_experiment(dataset_name: str, row: Series) tuple[SyntheticRescueExperiment, SyntheticRescueExperimentReference, Publication][source]
Build the experiment, reference, and publication objects for one row.