Skip to contents

Create a chord diagram showing cell-cell communication.

Usage

PlotChord(
  x,
  metric = c("count", "specificity", "mean", "sum"),
  min_weight = 0,
  colors = NULL,
  transparency = 0.5,
  title = NULL,
  ...
)

Arguments

x

NOVAResult or NOVADiffResult object

metric

Metric for chord width: "count", "specificity", "mean", "sum"

min_weight

Minimum weight to show

colors

Sector colors (named vector or palette)

transparency

Chord transparency (0-1)

title

Plot title

...

Additional arguments passed to circlize::chordDiagram

Value

NULL (plots as side effect)

Examples

if (FALSE) { # \dontrun{
PlotChord(result)
PlotChord(result, metric = "specificity")
} # }