scHopfield.dynamics.create_solver
- scHopfield.dynamics.create_solver(adata: AnnData, cluster: str, degradation_key: str = 'gamma', spliced_key: str | None = None, x_max_percentile: float = 99.0) ODESolver[source]
Create ODE solver for a specific cluster.
- Parameters:
adata (AnnData) – Annotated data object with fitted interactions
cluster (str) – Cluster name
degradation_key (str, optional) – Key for degradation rates
spliced_key (str, optional) – Key for expression data to compute bounds. If None, uses scHopfield default.
x_max_percentile (float, optional (default: 99.0)) – Percentile of expression values to use as upper bound. Set to None to disable upper bound.
- Returns:
Configured ODE solver with bounds
- Return type: