plot_binary_clusters: Plot binary clusters data (tile).

Description Usage Arguments Value Examples

View source: R/plot_binary_clusters.R

Description

This function creates a ggplot-style heatmap of the input CCF cluster of each clone in the data. The heatmap is annotated for the drivers status of each clone (with/ without driver). The CCF values are used to colour the heatmap ('NA' values are in light gray).

Usage

1

Arguments

x

An mtree tree.

...

Extra parameters, not used.

patient

A patient id.

Value

A ggplot plot.

Examples

 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_binary_clusters(x[[1]])

caravagn/mtree documentation built on Sept. 17, 2020, 1:13 a.m.