scvelo.tl.rank_dynamical_genes¶
-
scvelo.tl.
rank_dynamical_genes
(data, n_genes=100, groupby=None, copy=False)¶ Rank genes by likelihoods per cluster/regime.
This ranks genes by their likelihood obtained from the dynamical model grouped by clusters specified in groupby.
- data
AnnData
Annotated data matrix.
- n_genesint, optional (default: 100)
The number of genes that appear in the returned tables.
- groupby: str, list or np.ndarray (default: None)
Key of observations grouping to consider.
- copy: bool (default: False)
Return a copy instead of writing to data.
- Returns
rank_dynamical_genes (.uns) – Structured array to be indexed by group id storing the gene names. Ordered according to scores.
- data