dynamo.pd.rank_perturbation_cells

dynamo.pd.rank_perturbation_cells(adata, pkey='j_delta_x_perturbation', prefix_store='rank', **kwargs)[source]

Rank cells based on their raw and absolute perturbation for each cell group.

Parameters:
  • adata (AnnData) – AnnData object that contains the gene-wise velocities.

  • pkey (str) – The perturbation key.

  • prefix_store (str) – The prefix added to the key for storing the returned in adata.

  • kwargs – Keyword arguments passed to vf.rank_cells.

Returns:

AnnData object which has the rank dictionary for perturbation effects in .uns.

Return type:

adata