cascade.data.simple_design

cascade.data.simple_design(interv, target, key, target_weight=None)[source]

Perform simple intervention design by directly comparing the outcome of seen interventions with the target

Parameters:
  • interv (AnnData) – Interventional data

  • target (AnnData) – Target data

  • key (str) – Column in interv.obs containing comma-separated intervention targets following Targets format

  • target_weight (str | None) – Variable weights for computing “mse” deviation with target

Return type:

DataFrame

Returns:

Simple design with an “mse” column sorted by ascending order