scanpy.datasets.toggleswitch#
- scanpy.datasets.toggleswitch()[source]#
Simulated toggleswitch.
Data obtained simulating a simple toggleswitch [Gardner et al., 2000]
Simulate via
sim()
.- Return type:
- Returns:
Annotated data matrix.
Examples
>>> import scanpy as sc >>> sc.datasets.toggleswitch() UserWarning: Observation names are not unique. To make them unique, call `.obs_names_make_unique`. utils.warn_names_duplicates("obs") AnnData object with n_obs × n_vars = 200 × 2 uns: 'iroot'