phlower.pl.plot_fate_tree
- phlower.pl.plot_fate_tree(adata: AnnData, fate_tree: str = 'fate_tree', layout_prog='twopi', with_labels=True, ax=None, **args)
re-calcuate layout of a tree and plot
Parameters
- adata: AnnData
an Annodata object
- fate_tree: str
key of the fate tree in adata.uns, default is ‘fate_tree’
- layout_prog: str
layout algorithm, can be: dot, twopi, fdp, sfdp, circo
- with_labels: bool
whether to show labels, default is True
- ax: matplotlib axis
axis to plot, default is None