Skip to contents

Visualize cluster reassignment between rounds or annotations

Usage

plot_cluster_sankey(
  labels_from,
  labels_to,
  title = "Cluster Reassignment",
  colors = NULL,
  alpha = 0.6
)

Arguments

labels_from

Original cluster labels

labels_to

New cluster labels

title

Plot title

colors

Color palette

alpha

Transparency of flows

Value

A ggplot2 object (using ggalluvial if available)