pertdb.CompoundPerturbation
¶
- class pertdb.CompoundPerturbation(*args, **kwargs)¶
Bases:
BioRecord,TracksRun,TracksUpdatesModels compound perturbations such as drugs.
- Parameters:
name – The name of the compound perturbation.
Example:
import pertdb aspirin_perturbation = compound_perturbation = pertdb.CompoundPerturbation( name="Antibiotic cocktail", ).save()
- name: str¶
Name of the compound perturbation.
- concentration: float¶
Concentration of the compound.
- concentration_unit: str¶
Unit of the concentration.
- duration: timedelta | None¶
Duration of the compound perturbation.