regvelo.tools.in_silico_block_regulation_simulation¶
- regvelo.tools.in_silico_block_regulation_simulation(model, adata, regulator, target, n_samples=30, effects=0.0)[source]¶
Simulate in-silico blocking of a specific regulation between a regulator and a target gene.
- Parameters:
model (
str) – Path to the pretrainedREGVELOVImodel.adata (
AnnData) – Annotated data matrix containing gene expression and cell-specific information.regulator (
str) – Name of the regulator gene whose effect on the target gene will be blocked.target (
str) – Name of the target gene affected by the regulator.n_samples (
int) – Number of samples to generate during the simulation. Default is100.effects (
float) – Effect value to set for the (target, regulator) edge. Use0.0for a complete block.
- Return type:
- Returns:
: AnnData
Updated
AnnDataobject with perturbation results added as new outputs.