plot_clustree | R Documentation |
Plot MRtree results as a dendrogram. If reference labels are provided, a pie chart is shown at each tree node, detailing the label proprotions.
plot_clustree(labelmat, prefix = NULL, ref.labels = NULL, plot.ref = TRUE, ...)
labelmat |
clustering results saved in a label matrix n-by-number of partitions |
prefix |
string indicating columns containing clustering information |
ref.labels |
reference labels to be shown at each tree node |
plot.ref |
boolean wheather to color the tree node by the major type |
... |
other parameter to pass to clustree function according to reference labels |
plot_clustree(labelmat = clust_example$clusterings, ref.labels = clust_example$ref.labels)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.