cellrank.pl.log_odds(adata, lineage_1, lineage_2=None, time_key='exp_time', backward=False, keys=None, threshold=None, threshold_color='red', layer=None, use_raw=False, size=2.0, cmap='viridis', alpha=0.8, ncols=None, fontsize=None, xticks_step_size=1, legend_loc='best', jitter=True, seed=None, figsize=None, dpi=None, save=None, show=True, **kwargs)[source]#

Plot log-odds ratio between trajectories.

This plotting function is geared towards time-series datasets that have been analyzed using the cellrank.external.kernels.WOTKernel. It visualizes log-odd ratios between between different trajectories per cell, with the option to color in certain molecular features, like genes. This can be useful to detect and visualize fate-decisive genes.

Return type:

Union[Axes, Sequence[Axes], None]


: The axes object(s), if show = False. Nothing, just plots the figure. Optionally saves it based on save.