scFates.pl.dendrogram¶
- scFates.pl.dendrogram(adata, root_milestone=None, milestones=None, color_milestones=False, color_seg='k', linewidth_seg=3, alpha_seg=0.3, tree_behind=False, show_info=True, show=None, save=None, **kwargs)¶
Plot the single-cell dendrogram embedding.
- Parameters
- adata
Annotated data matrix.
- root_milestone
tip defining progenitor branch.
- milestones
tips defining the progenies branches.
- color_milestones :
bool
(default:False
) color the cells with gradients combining pseudotime and milestones.
- color_seg :
str
(default:'k'
) color the segments, either a color, or ‘seg’ colors from obs.seg.
- linewidth_seg :
float
(default:3
) linewidth of the segments.
- alpha_seg :
float
(default:0.3
) alpha of the segments.
- tree_behind :
bool
(default:False
) whether to plot the segment in front or behind the cells.
- show_info :
bool
(default:True
) display the colorbar or not.
- show :
bool
|None
Optional
[bool
] (default:None
) show the plot.
- save :
str
|bool
|None
Union
[str
,bool
,None
] (default:None
) save the plot.
- kwargs
arguments to pass to
scanpy.pl.embedding()
.
- Returns
- Return type
If show==False an object of
Axes