dynamo.vf.rank_curvature_genes

dynamo.vf.rank_curvature_genes(adata, group=None, genes=None, vkey='velocity_S', akey='acceleration')[source]

Rank gene’s absolute, positive, negative curvature by different cell groups.

Parameters
  • adata (AnnData) – AnnData object that contains the reconstructed vector field function in the uns attribute.

  • group (str or None (default: None)) – The cell group that speed ranking will be grouped-by.

  • genes (None or list) – The gene list that speed will be ranked. If provided, they must overlap the dynamics genes.

  • vkey (str (default: velocity_S)) – The velocity key.

  • akey (str (default: acceleration)) – The acceleration key.

Returns

adata – AnnData object that is updated with the rank_curvature related information in the .uns.

Return type

AnnData