- dynamo.vf.rank_divergence_genes(adata, jkey='jacobian_pca', genes=None, prefix_store='rank_div_gene', **kwargs)¶
- Rank genes based on their diagonal Jacobian for each cell group.
Be aware that this ‘divergence’ refers to the diagonal elements of a gene-wise Jacobian, rather than its trace, which is the common definition of the divergence.
Run .vf.jacobian and set store_in_adata=True before using this function.
AnnData) – AnnData object that contains the reconstructed vector field in the .uns attribute.
jkey (str (default: 'jacobian_pca')) – The key in .uns of the cell-wise Jacobian matrix.
prefix_store (str (default: 'rank')) – The prefix added to the key for storing the returned ranking info in adata.
kwargs – Keyword arguments passed to vf.rank_genes.
adata – AnnData object which has the rank dictionary for diagonal jacobians in .uns.
- Return type