Skip to contents

Plot single-cell smoothed expression magnitude heatmap

Usage

plot_sc_tree(
  gtree,
  label_mut = TRUE,
  label_size = 3,
  dot_size = 2,
  branch_width = 0.5,
  tip = TRUE,
  tip_length = 0.5,
  pal_clone = NULL
)

Arguments

gtree

tbl_graph The single-cell phylogeny

label_mut

logical Whether to label mutations

label_size

numeric Size of mutation labels

dot_size

numeric Size of mutation nodes

branch_width

numeric Width of branches in tree

tip

logical Whether to plot tip point

tip_length

numeric Length of the tips

pal_clone

named vector Clone colors

Value

ggplot A single-cell phylogeny with mutation history labeled

Examples

p = plot_sc_tree(phylogeny_example)