plot_annotation_dist | R Documentation |
Plot distribution of annotation data across clusters
plot_annotation_dist(annotations_df, cluster_labels, selected_clusters = NULL)
annotations_df |
data frame with variables not used in clustering |
cluster_labels |
output from |
selected_clusters |
optional vector of cluster labels to include in plots |
a patchwork
object
dmat <- compute_dmat(iris, "euclidean", TRUE, c("Petal.Length", "Sepal.Length"))
clusters <- compute_clusters(dmat, "complete")
cluster_labels <- cut_clusters(clusters, 2)
plot_annotation_dist(iris["Species"], cluster_labels)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.