A function used to plot tree clustering result.

plotDendrogram(
  norm_data,
  k,
  save_path = NA,
  figure_height = 8.12,
  figure_width = 8.12
)

Arguments

norm_data

The normalized data obtained by **quantification**.

k

How many clusters do you want to get.

save_path

The path to save the result.

figure_height

PDF height. Default: 8.27.

figure_width

PDF width. Default: 8.27.

Examples

  plotDendrogram(norm_data = quant, k=10, save_path="~/CAT/")
#> Error in t(norm_data) %>% dist() %>% stats::hclust() %>% as.dendrogram(): could not find function "%>%"