Learn R Programming

scistreer (version 1.2.1)

plot_phylo_heatmap: Plot phylogeny and mutation heatmap

Description

Plot phylogeny and mutation heatmap

Usage

plot_phylo_heatmap(tree, P, branch_width = 0.5, root_edge = TRUE)

Value

ggplot Plot visualizing the single-cell phylogeny and mutation probability heatmap

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

Examples

Run this code
p = plot_phylo_heatmap(tree_small, P_small)

Run the code above in your browser using DataLab