dynamo.pd.rank_perturbation_genes

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

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

Parameters
  • adata (AnnData) – AnnData object that contains the gene-wise perturbation effect vectors.

  • pkey (str (default: 'perturbation_vector')) – The perturbation key.

  • prefix_store (str (default: 'rank')) – The prefix added to the key for storing the returned ranking information in adata.

  • kwargs – Keyword arguments passed to vf.rank_genes.

Returns

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

Return type

AnnData