Skip to contents

Visualise an "ED" object as a triangle-style heatmap.

Usage

# S3 method for class 'ED'
plot_triangle(
  x,
  label_style = c("value", "detail"),
  label_args = list(),
  amount_divisor = 1e+08,
  theme = c("view", "save", "shiny"),
  nrow = NULL,
  ncol = NULL,
  x.angle = 90,
  ...
)

Arguments

x

An object of class "ED".

label_style

One of "value" or "detail".

label_args

Named list of label appearance arguments.

amount_divisor

Numeric. Default is 1e8.

theme

Theme string.

nrow, ncol

Facet dimensions.

x.angle

Numeric angle for x-axis tick labels. Default is 90 to prevent overlap of the from-to link labels.

...

Additional arguments.

Value

A ggplot object.