- CytoTRACEKernel.plot_single_flow(cluster, cluster_key, time_key, clusters=None, time_points=None, min_flow=0, remove_empty_clusters=True, ascending=False, legend_loc='upper right out', alpha=0.8, xticks_step_size=1, figsize=None, dpi=None, save=None, show=True)
Visualize outgoing flow from a cluster of cells [Mittnenzweig et al., 2021].
str) – Cluster for which to visualize outgoing flow.
float) – Only show flow edges with flow greater than this value. Flow values are always in [0, 1].
bool) – Whether to remove clusters with no incoming flow edges.
bool) – If False, return
- Return type
The axes object, if
show = False. Nothing, just plots the figure. Optionally saves it based on
This function is a Python reimplementation of the following original R function with some minor stylistic differences. This function will not recreate the results from [Mittnenzweig et al., 2021], because there, the Metacell model [Baran et al., 2019] was used to compute the flow, whereas here the transition matrix is used.