Description Usage Arguments Value Examples
The information transfer of a tree is the set of orderings associated to the internal annotated driver events.
This function plots the clones with drivers (so their orderings) following a topological sort of the node of the corresponding clone tree, and in tiny icon format. Some graohics changes with respect ot a standard plot.
1 2 | plot_icon(x, node_palette = colorRampPalette(RColorBrewer::brewer.pal(n =
9, "Set1")), ...)
|
x |
An |
node_palette |
A function that can return, for an input number, a number of colours. |
... |
Other parameters, not used in this case. |
A ggplot
object for the plot.
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(mtree_input)
x = mtrees(
mtree_input$binary_clusters,
mtree_input$drivers,
mtree_input$samples,
mtree_input$patient,
mtree_input$sspace.cutoff,
mtree_input$n.sampling,
mtree_input$store.max
)
plot_icon(x[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.