cellrank.pl.log_odds

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 lineages.

Log-odds are plotted as a function of the experimental time.

Parameters
Return type

Union[Axes, Sequence[Axes], None]

Returns

  • matplotlib.pyplot.Axes – The axis object(s) if show=False.

  • None – Nothing, just plots the figure. Optionally saves it based on save.