torchcell.datamodels.schema.SyntheticLethalityExperiment
- class SyntheticLethalityExperiment(*, experiment_type: str = 'synthetic lethality', dataset_name: str, genotype: Genotype | list[Genotype], environment: Environment, phenotype: SyntheticLethalityPhenotype)[source]
Bases:
Experiment,ModelStrictExperiment measuring a synthetic lethality phenotype.
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].