plot_annotation_dist: Plot distribution of annotation data across clusters

View source: R/plot.R

plot_annotation_distR Documentation

Plot distribution of annotation data across clusters

Description

Plot distribution of annotation data across clusters

Usage

plot_annotation_dist(annotations_df, cluster_labels, selected_clusters = NULL)

Arguments

annotations_df

data frame with variables not used in clustering

cluster_labels

output from cut_clusters()

selected_clusters

optional vector of cluster labels to include in plots

Value

a patchwork object

Examples

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)

visxhclust documentation built on March 31, 2023, 7:30 p.m.