lineages(adata, lineages=None, backward=False, cluster_key=None, mode='embedding', time_key='latent_time', **kwargs)¶
Plot lineages that were uncovered using
For each lineage, we show all cells in an embedding (default is UMAP) and color them by their probability of belonging to this lineage. For cells that are already committed, this probability will be one for their respective lineage and zero otherwise. For naive cells, these probabilities will be more balanced, reflecting the fact that naive cells have the potential to develop towards multiple endpoints.
Can be either ‘embedding’ or ‘time’:
’embedding’ - plot the embedding while coloring in the absorption probabilities.
’time’ - plot the pseudotime on x-axis and the absorption probabilities on y-axis.
basis¶ – Basis to use when
mode='embedding'. If None, use ‘umap’.
kwargs¶ – Keyword arguments for
Nothing, just plots the figure. Optionally saves it based on
- Return type