Skip to contents

Create a chord diagram showing cluster-cluster communication.

Usage

plot_chord_diagram(
  seurat_obj,
  database_name,
  clustering,
  key = "total",
  p_threshold = 0.05,
  min_weight = NULL,
  colors = NULL,
  ...
)

Arguments

seurat_obj

Seurat object with cluster communication results.

database_name

Database name.

clustering

Clustering name.

key

LR pair or pathway name.

p_threshold

P-value threshold.

min_weight

Minimum weight to show.

colors

Named vector of colors for clusters.

...

Additional arguments passed to circlize functions.

Value

Invisibly returns the adjacency matrix.