Plot phylogeny and mutation heatmap
Usage
plot_phylo_heatmap(tree, P, branch_width = 0.5, root_edge = TRUE)
Arguments
- tree
phylo or tbl_graph Phylogeny
- P
matrix Genotype probability matrix
- branch_width
numeric Branch width
- root_edge
logical Whether to plot root edge
Value
ggplot Plot visualizing the single-cell phylogeny and mutation probability heatmap
Examples
p = plot_phylo_heatmap(tree_small, P_small)