This function plots cluster dendrograms, spatial assignment, and the CNV heat map
plot_clones(
cnv_data,
md,
k,
type,
chrom_colors,
text_size,
title_size,
legend_size_pt,
legend_height_bar,
hc_function = "ward.D2",
plot_directory,
spatial = TRUE
)
A hierarchical clustering object of the clusters
list object of cnv data from SlideCNA::prep_cnv_dat()
data.table of metadata of each bead
integer of number of clusters/clones
character string, being "all" if using all binned beads, or "malig" if just malignant binned beads
vector of colors labeled by which chromosome they correspond to
Ggplot2 text size
Ggplot2 title size
Ggplot2 legend_size_pt
Ggplot2 legend_height_bar
character string for which hierarchical clustering function to use
output plot directory path
TRUE if using spatial information