- SKLearnModel.plot(figsize=(8, 5), same_plot=False, hide_cells=False, perc=None, abs_prob_cmap=<matplotlib.colors.ListedColormap object>, cell_color=None, lineage_color='black', alpha=0.8, lineage_alpha=0.2, title=None, size=15, lw=2, cbar=True, margins=0.015, xlabel='pseudotime', ylabel='expression', conf_int=True, lineage_probability=False, lineage_probability_conf_int=False, lineage_probability_color=None, obs_legend_loc='best', dpi=None, fig=None, ax=None, return_fig=False, save=None, **kwargs)
Plot the smoothed gene expression.
bool) – Whether to plot all trends in the same plot.
bool) – Whether to hide the cells.
ListedColormap) – Colormap to use when coloring in the absorption probabilities.
str) – Color for the lineage.
float) – Alpha channel for cells.
float) – Alpha channel for lineage confidence intervals.
int) – Size of the points.
float) – Line width for the smoothed values.
bool) – Whether to show colorbar.
float) – Margins around the plot.
str) – Label on the x-axis.
str) – Label on the y-axis.
bool) – Whether to show the confidence interval.
bool) – Whether to show smoothed lineage probability as a dashed line. Note that this will require 1 additional model fit.
float]) – Whether to compute and show smoothed lineage probability confidence interval. If
cellrank.ul.models.GAMR, it can also specify the confidence level, the default is 0.95. Only used when
matplotlib.axes.Axes) – Ax to use, if None, create a new one.
bool) – If True, return the figure object.
kwargs – Keyword arguments for
matplotlib.axes.Axes.legend(), e.g. to disable the legend, specify
loc=None. Only available when
- Return type
Nothing, just plots the figure. Optionally saves it based on