capital.pl.trajectory_tree

capital.pl.trajectory_tree(adata, figsize=(10, 8), node_size=1200, font_size=18, show=True, dpi=600, save=False)

Plot a trajectory tree.

Parameters:
  • adata (AnnData) – The annotated data matrix.

  • figsize (tuple,) – Size of figure, by default (10, 8).

  • node_size (int,) – Size of nodes, by default 1200.

  • font_size (int,) – Font size, by default 18.

  • show (bool,) – If True, show the figure. If False, return figure, by default True.

  • save (Union[str, bool]) – If True or str, save the figure. If a path is specified as str, the figure is saved in the path, by default False.