plot_sc_tree | R Documentation |
Plot single-cell smoothed expression magnitude heatmap
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 )
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 |
ggplot A single-cell phylogeny with mutation history labeled
p = plot_sc_tree(phylogeny_example)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.