Plot a tree trajectory as a dendrogram
plot_dendro(traj, color_cells = c("auto", "none", "grouping", "feature", "milestone", "pseudotime"), grouping = NULL, groups = NULL, feature_oi = NULL, expression_source = "expression", pseudotime = NULL, color_milestones = c("auto", "given", "cubeHelix", "Set3", "rainbow"), milestones = NULL, milestone_percentages = NULL, diag_offset = 0.05)
traj | The trajectory |
---|---|
color_cells | How to color the cells |
grouping | The grouping of the cells |
groups | Tibble containing information of the cell groups |
feature_oi | feature to plot expression |
expression_source | Source of the feature expression, defaults to `expression` |
pseudotime | The pseudotime |
color_milestones | How to color the cells |
milestones | Tibble containing the `milestone_id` and a `color` for each milestone |
milestone_percentages | The milestone percentages |
diag_offset | The x-offset (percentage of the edge lenghts) between milestones |