plot_CCF_clusters: Plot CCF clusters data (tile).

View source: R/plot_CCF_clusters.R

plot_CCF_clustersR Documentation

Plot CCF clusters data (tile).

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

plot_CCF_clusters(x, ...)

Arguments

x

A ctree tree.

...

Extra parameters, not used.

Value

A ggplot plot.

Examples

data(ctree_input)

x = ctrees(
ctree_input$CCF_clusters, 
ctree_input$drivers,
ctree_input$samples,
ctree_input$patient,
ctree_input$sspace.cutoff,
ctree_input$n.sampling,
ctree_input$store.max
)

plot_CCF_clusters(x[[1]])

caravagnalab/ctree documentation built on May 12, 2022, 4:42 p.m.