A function used to plot tree clustering result.
plotDendrogram(
norm_data,
k,
save_path = NA,
figure_height = 8.12,
figure_width = 8.12
)
The normalized data obtained by **quantification**.
How many clusters do you want to get.
The path to save the result.
PDF height. Default: 8.27.
PDF width. Default: 8.27.
plotDendrogram(norm_data = quant, k=10, save_path="~/CAT/")
#> Error in t(norm_data) %>% dist() %>% stats::hclust() %>% as.dendrogram(): could not find function "%>%"