dynamo.vf.rank_speed_genes¶
-
dynamo.vf.
rank_speed_genes
(adata, group=None, genes=None, vkey='velocity_S')[source]¶ Rank gene’s absolute, positive, negative speed 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.
- Returns
adata – AnnData object that is updated with the rank_speed related information in the .uns.
- Return type
AnnData