clusterFlow: Alluvial plot for cluster matrices.

clusterFlowR Documentation

Alluvial plot for cluster matrices.

Description

Adapted from the code of alluvial::alluvial.

Usage

clusterFlow(
  clusters,
  srt,
  cls.col,
  col = "gray",
  border = 0,
  layer,
  hide = FALSE,
  alpha = 0.5,
  gap.width = 0.05,
  xw = 0.1,
  cw = 0.1,
  blocks = TRUE,
  axis_labels = NULL,
  cex = par("cex"),
  font = par("font"),
  cex.axis = par("cex.axis")
)

Arguments

clusters

a matrix of different clusterings (columns).

srt

a list of cluster orders for each column in clusters.

cls.col

a list of cluster colors used for boxes at start and end of flow; must have the same order as clusters in srt.


raim/segmenTools documentation built on April 25, 2024, 10:14 a.m.