cascade.data.get_all_targets

cascade.data.get_all_targets(adata, key)[source]

Get the union of all intervention targets in a give dataset

Parameters:
  • adata (AnnData) – Input dataset

  • key (str) – Key in obs containing comma-separated intervention targets

Return type:

Targets

Returns:

Union of all intervention targets